관리-도구
편집 파일: provider.cpython-311.pyc
� ����� �N � d dl Z d dlZd dlmZ d dlmZmZmZmZm Z m Z mZmZ d dl mZ ddlmZmZmZ ddlmZ ddlmZ er"d d l mZ d d lmZ eeef Zeeeef ZneZ ed� � Z ed� � Zd e eef dededeeef fd�Z G d� de� � Z dS )� N)� lru_cache)� TYPE_CHECKING�Dict�Iterable�Iterator�Mapping�Sequence�TypeVar�Union)�AbstractProvider� )� Candidate� Constraint�Requirement)�REQUIRES_PYTHON_IDENTIFIER)�Factory)� Preference)�RequirementInformation�D�V�mapping� identifier�default�returnc �l � || v r| | S |� d� � \ }}}|r|| v r| | S |S )ai Get item from a package name lookup mapping with a resolver identifier. This extra logic is needed when the target mapping is keyed by package name, which cannot be directly looked up with an identifier (which may contain requested extras). Additional logic is added to also look up a value by "cleaning up" the extras from the identifier. �[)� partition)r r r �name�open_bracket�_s ��/builddir/build/BUILD/imunify360-venv-2.5.2/opt/imunify360/venv/lib/python3.11/site-packages/pip/_internal/resolution/resolvelib/provider.py�_get_with_identifierr"