locate_file

NotFoundDistribution.locate_file(path: PathLike | str) PathLike[source]

Given a path to a file in this distribution, return a path to it.

Just added to satisfy mypy, since the superclass one is an abstractmethod.

Parameters:

path (PathLike | str) – Path to a file.

Returns:

Just the initial path ensure to be type PathLike.

Return type:

PathLike