mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 12:14:27 +08:00
pkg_resources: Add missing methods of pkg_resources.DistributionNotFound (#4344)
This commit is contained in:
10
third_party/3/pkg_resources/__init__.pyi
vendored
10
third_party/3/pkg_resources/__init__.pyi
vendored
@@ -201,7 +201,15 @@ class IMetadataProvider:
|
||||
def run_script(self, script_name: str, namespace: Dict[str, Any]) -> None: ...
|
||||
|
||||
class ResolutionError(Exception): ...
|
||||
class DistributionNotFound(ResolutionError): ...
|
||||
|
||||
class DistributionNotFound(ResolutionError):
|
||||
@property
|
||||
def req(self) -> Requirement: ...
|
||||
@property
|
||||
def requirers(self) -> Set[str]: ...
|
||||
@property
|
||||
def requirers_str(self) -> str: ...
|
||||
def report(self) -> str: ...
|
||||
|
||||
class VersionConflict(ResolutionError):
|
||||
@property
|
||||
|
||||
Reference in New Issue
Block a user