Hacked By AnonymousFox

Current Path : /proc/thread-self/root/proc/self/root/opt/alt/python39/lib/python3.9/site-packages/pip/_internal/resolution/
Upload File :
Current File : //proc/thread-self/root/proc/self/root/opt/alt/python39/lib/python3.9/site-packages/pip/_internal/resolution/base.py

from typing import Callable, List, Optional

from pip._internal.req.req_install import InstallRequirement
from pip._internal.req.req_set import RequirementSet

InstallRequirementProvider = Callable[
    [str, Optional[InstallRequirement]], InstallRequirement
]


class BaseResolver:
    def resolve(
        self, root_reqs: List[InstallRequirement], check_supported_wheels: bool
    ) -> RequirementSet:
        raise NotImplementedError()

    def get_installation_order(
        self, req_set: RequirementSet
    ) -> List[InstallRequirement]:
        raise NotImplementedError()

Hacked By AnonymousFox1.0, Coded By AnonymousFox