File: //lib/python3/dist-packages/pip/_vendor/resolvelib/__pycache__/reporters.cpython-310.pyc
o
@%Ne/ � @ s G d d� de �ZdS )c @ sP e Zd ZdZdd� Zdd� Zdd� Zdd � Zd
d� Zdd
� Z dd� Z
dd� ZdS )�BaseReporterz?Delegate class to provider progress reporting for the resolver.c C � dS )z-Called before the resolution actually starts.N� )�selfr r �B/usr/lib/python3/dist-packages/pip/_vendor/resolvelib/reporters.py�starting � zBaseReporter.startingc C r )zYCalled before each round of resolution starts.
The index is zero-based.
Nr )r �indexr r r �starting_round r zBaseReporter.starting_roundc C r )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 �stater r r �ending_round
r zBaseReporter.ending_roundc C r )z/Called before the resolution ends successfully.Nr )r r
r r r �ending r zBaseReporter.endingc C r )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�parentr r r �adding_requirement r zBaseReporter.adding_requirementc C r )z�Called when starting to attempt requirement conflict resolution.
:param causes: The information on the collision that caused the backtracking.
Nr )r �causesr r r �resolving_conflicts! r z BaseReporter.resolving_conflictsc C r )z6Called when rejecting a candidate during backtracking.Nr �r � candidater r r �backtracking'