Current File : //usr/lib/python3/dist-packages/pip/_vendor/resolvelib/__pycache__/reporters.cpython-312.pyc |
�
/�gA � � � G d � de � Zy)c �@ � e Zd ZdZd� Zd� Zd� Zd� Zd� Zd� Z d� Z
d � Zy
)�BaseReporterz?Delegate class to provider progress reporting for the resolver.c � � y)z-Called before the resolution actually starts.N� )�selfs �B/usr/lib/python3/dist-packages/pip/_vendor/resolvelib/reporters.py�startingzBaseReporter.starting � � � c � � y)zYCalled before each round of resolution starts.
The index is zero-based.
Nr )r �indexs r �starting_roundzBaseReporter.starting_round r r
c � � y)z�Called 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 )r r �states r �ending_roundzBaseReporter.ending_round
r r
c � � y)z/Called before the resolution ends successfully.Nr )r r s r �endingzBaseReporter.ending r r
c � � y)a� Called 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 �requirement�parents r �adding_requirementzBaseReporter.adding_requirement r r
c � � y)z�Called when starting to attempt requirement conflict resolution.
:param causes: The information on the collision that caused the backtracking.
Nr )r �causess r �resolving_conflictsz BaseReporter.resolving_conflicts! r r
c � � y)z6Called when rejecting a candidate during backtracking.Nr )r � criterion� candidates r �rejecting_candidatez BaseReporter.rejecting_candidate'