Server IP : 66.29.132.122 / Your IP : 18.226.177.86 Web Server : LiteSpeed System : Linux business142.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : admazpex ( 531) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/proc/self/root/proc/thread-self/root/proc/thread-self/root/opt/alt/python312/lib/python3.12/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 ): ...