File: //usr/local/lib/python3.7/site-packages/pip/_vendor/resolvelib/__pycache__/reporters.cpython-37.pyc
B
L��gA � @ 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 s dS )z-Called before the resolution actually starts.N� )�selfr r �D/tmp/pip-unpacked-wheel-hv55ucu3/pip/_vendor/resolvelib/reporters.py�starting s zBaseReporter.startingc C s dS )zYCalled before each round of resolution starts.
The index is zero-based.
Nr )r �indexr r r �starting_round s zBaseReporter.starting_roundc C s dS )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
s zBaseReporter.ending_roundc C s dS )z/Called before the resolution ends successfully.Nr )r r r r r �ending s zBaseReporter.endingc C s dS )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 s zBaseReporter.adding_requirementc C s dS )z�Called when starting to attempt requirement conflict resolution.
:param causes: The information on the collision that caused the backtracking.
Nr )r Zcausesr r r �resolving_conflicts! s z BaseReporter.resolving_conflictsc C s dS )z6Called when rejecting a candidate during backtracking.Nr )r Z criterion� candidater r r �rejecting_candidate'