o knhT@sGdddeZdS)c@sHeZdZdZddZddZddZdd Zd d Zd d Z ddZ dS) BaseReporterz?Delegate class to provider progress reporting for the resolver.cCdS)z-Called before the resolution actually starts.N)selfrr?/usr/local/lib/python3.10/dist-packages/resolvelib/reporters.pystartingzBaseReporter.startingcCr)zYCalled before each round of resolution starts. The index is zero-based. Nr)rindexrrrstarting_roundrzBaseReporter.starting_roundcCr)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)rrstaterrr ending_round rzBaseReporter.ending_roundcCr)z/Called before the resolution ends successfully.Nr)rr rrrendingrzBaseReporter.endingcCr)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)r requirementparentrrradding_requirementrzBaseReporter.adding_requirementcCr)z6Called when rejecting a candidate during backtracking.Nrr candidaterrr backtracking!rzBaseReporter.backtrackingcCr)z9Called when adding a candidate to the potential solution.Nrrrrrpinning$rzBaseReporter.pinningN) __name__ __module__ __qualname____doc__rr r r rrrrrrrrs rN)objectrrrrrs