Server IP : 192.64.118.117 / Your IP : 3.147.13.233 Web Server : LiteSpeed System : Linux premium56.web-hosting.com 4.18.0-513.24.1.lve.1.el8.x86_64 #1 SMP Thu May 9 15:10:09 UTC 2024 x86_64 User : thecgapy ( 1160) PHP Version : 7.4.33 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 ): ...