????JFIF??x?x????'
| Server IP : 172.67.174.47 / Your IP : 216.73.216.145 Web Server : LiteSpeed System : Linux premium151.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 User : tempvsty ( 647) PHP Version : 8.0.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /././opt/alt/python313/lib/python3.13/site-packages/pip/_vendor/resolvelib/ |
Upload File : |
from typing import (
Any,
Generic,
Iterable,
Iterator,
Mapping,
Protocol,
Sequence,
Union,
)
from .reporters import BaseReporter
from .resolvers import RequirementInformation
from .structs import CT, KT, RT, Matches
class Preference(Protocol):
def __lt__(self, __other: Any) -> bool: ...
class AbstractProvider(Generic[RT, CT, KT]):
def identify(self, requirement_or_candidate: Union[RT, CT]) -> KT: ...
def get_preference(
self,
identifier: KT,
resolutions: Mapping[KT, CT],
candidates: Mapping[KT, Iterator[CT]],
information: Mapping[KT, Iterator[RequirementInformation[RT, CT]]],
backtrack_causes: Sequence[RequirementInformation[RT, CT]],
) -> Preference: ...
def find_matches(
self,
identifier: KT,
requirements: Mapping[KT, Iterator[RT]],
incompatibilities: Mapping[KT, Iterator[CT]],
) -> Matches: ...
def is_satisfied_by(self, requirement: RT, candidate: CT) -> bool: ...
def get_dependencies(self, candidate: CT) -> Iterable[RT]: ...
class AbstractResolver(Generic[RT, CT, KT]):
base_exception = Exception
provider: AbstractProvider[RT, CT, KT]
reporter: BaseReporter
def __init__(
self, provider: AbstractProvider[RT, CT, KT], reporter: BaseReporter
): ...