pardata.loaders.Loader.check_path

Loader.check_path(path)

Check if the given path is a valid path to the file to be loaded. Raise an error if it is not.

Parameters

path (Union[str, os.PathLike, Dict[str, str]]) – The path of the file to be loaded.

Raises

TypeErrorpath is not a path object.

Returns

No return unless the path is invalid, in which case see TypeError.

Return type

None