kghjddlmZddlmZmZmZmZddlmZm Z m Z Gddee efZ dS)) annotations) CollectionGenericIterableIterator)CTRTRequirementInformationc2eZdZdZdd Zdd ZddZddZdS) CriterionaQRepresentation of possible resolution results of a package. This holds three attributes: * `information` is a collection of `RequirementInformation` pairs. Each pair is a requirement contributing to this criterion, and the candidate that provides the requirement. * `incompatibilities` is a collection of all known not-to-work candidates to exclude from consideration. * `candidates` is a collection containing all possible candidates deducted from the union of contributing requirements and known incompatibilities. It should never be empty, except when the criterion is an attribute of a raised `RequirementsConflicted` (in which case it is always empty). .. note:: This class is intended to be externally immutable. **Do not** mutate any of its attribute containers. candidates Iterable[CT] information*Collection[RequirementInformation[RT, CT]]incompatibilitiesCollection[CT]returnNonec0||_||_||_dSN)rrr)selfrrrs /builddir/build/BUILD/imunify360-venv-2.6.0/opt/imunify360/venv/lib/python3.11/site-packages/pip/_vendor/resolvelib/resolvers/criterion.py__init__zCriterion.__init__s! %&!2strcVdd|jD}d|dS)Nz, c3.K|]\}}d|d|dVdS)(z, via=)N).0reqparents r z%Criterion.__repr__..'sK! ! -8S& ( ( (V ( ( (! ! ! ! ! ! rz Criterion(r )joinr)r requirementss r__repr__zCriterion.__repr__&sGyy! ! <@.-s$88! 888888rrrs riter_requirementzCriterion.iter_requirement,s88t'78888rIterator[CT | None]c$d|jDS)Nc3$K|] }|jV dSr)r$r-s rr%z(Criterion.iter_parent..0s$33Q333333rr/r0s r iter_parentzCriterion.iter_parent/s33$"23333rN)rrrrrrrr)rr)rr))rr2)__name__ __module__ __qualname____doc__rr(r1r5r!rrr r sn&3333,,,, 9999444444rr N) __future__rtypingrrrrstructsr r r r r!rrr=s""""""::::::::::::4444444444(4(4(4(4(4B(4(4(4(4(4r