kghddlmZddlmZmZmZddlmZmZm Z m Z m Z erddl m Z Gddee eefZdS) ) annotations) TYPE_CHECKING CollectionGeneric)CTKTRTRequirementInformationState) CriterioncReZdZdZddZddZdd Zdd ZddZd dZ d!dZ d"dZ dS)# BaseReporterz?Delegate class to provider progress reporting for the resolver.returnNonecdS)z-Called before the resolution actually starts.N)selfs /builddir/build/BUILD/imunify360-venv-2.6.0/opt/imunify360/venv/lib/python3.11/site-packages/pip/_vendor/resolvelib/reporters.pystartingzBaseReporter.startingindexintcdS)zYCalled before each round of resolution starts. The index is zero-based. Nr)rrs rstarting_roundzBaseReporter.starting_roundrrstateState[RT, CT, KT]cdS)zCalled before each round of resolution ends. This is NOT called if the resolution ends at this round. Use `ending` if you want to report finalization. The index is zero-based. Nr)rrrs r ending_roundzBaseReporter.ending_roundrrcdS)z/Called before the resolution ends successfully.Nr)rrs rendingzBaseReporter.endingrr requirementr parent CT | NonecdS)aCalled when adding a new requirement into the resolve criteria. :param requirement: The additional requirement to be applied to filter the available candidaites. :param parent: The candidate that requires ``requirement`` as a dependency, or None if ``requirement`` is one of the root requirements passed in from ``Resolver.resolve()``. Nr)rr#r$s radding_requirementzBaseReporter.adding_requirement!rrcauses*Collection[RequirementInformation[RT, CT]]cdS)zCalled when starting to attempt requirement conflict resolution. :param causes: The information on the collision that caused the backtracking. Nr)rr(s rresolving_conflictsz BaseReporter.resolving_conflicts+rr criterionCriterion[RT, CT] candidatercdS)z6Called when rejecting a candidate during backtracking.Nr)rr,r.s rrejecting_candidatez BaseReporter.rejecting_candidate3rrcdS)z9Called when adding a candidate to the potential solution.Nr)rr.s rpinningzBaseReporter.pinning6rrN)rr)rrrr)rrrrrr)rrrr)r#r r$r%rr)r(r)rr)r,r-r.rrr)r.rrr) __name__ __module__ __qualname____doc__rrr r"r'r+r0r2rrrrr sII<<<<        >>>>        EEEEHHHHHHrrN) __future__rtypingrrrstructsrr r r r resolversr rrrrr;s""""""5555555555>>>>>>>>>>>>>>%$$$$$$,H,H,H,H,H72r2:&,H,H,H,H,Hr