Server IP : 68.65.120.251 / Your IP : 18.219.89.207 [ Web Server : LiteSpeed System : Linux server105.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64 User : travtpib ( 6521) PHP Version : 7.4.33 Disable Function : NONE Domains : 1 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /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 ): ...