Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/pip/_vendor/resolvelib/__pycache__/reporters.cpython-39.pyc
Ðазад
a "�h� � @ sj d dl mZ d dlmZmZmZ ddlmZmZm Z m Z mZ erLddlm Z G dd� dee eef �ZdS ) � )�annotations)� TYPE_CHECKING� Collection�Generic� )�CT�KT�RT�RequirementInformation�State)� Criterionc @ s� e Zd ZdZdd�dd�Zddd�dd �Zdd dd�dd �Zd dd�dd�Zdddd�dd�Zddd�dd�Z dddd�dd�Z ddd�d d!�Zd"S )#�BaseReporterz?Delegate class to provider progress reporting for the resolver.�None)�returnc C s dS )z-Called before the resolution actually starts.N� )�selfr r ��/root/rpmbuild/BUILDROOT/imh-python39-modules-3.9.7-92.el8.x86_64/opt/imh-python/lib/python3.9/site-packages/pip/_vendor/resolvelib/reporters.py�starting s zBaseReporter.starting�int)�indexr c C s dS )zYCalled before each round of resolution starts. The index is zero-based. Nr )r r r r r �starting_round s zBaseReporter.starting_roundzState[RT, CT, KT])r �stater c 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 r r r r �ending_round s zBaseReporter.ending_round)r r c C s dS )z/Called before the resolution ends successfully.Nr )r r r r r �ending s zBaseReporter.endingr z CT | None)�requirement�parentr c 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 r r r r r �adding_requirement! s zBaseReporter.adding_requirementz*Collection[RequirementInformation[RT, CT]])�causesr c 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 r r r r �resolving_conflicts+ s z BaseReporter.resolving_conflictszCriterion[RT, CT]r )� criterion� candidater c C s dS )z6Called when rejecting a candidate during backtracking.Nr )r r r r r r �rejecting_candidate3 s z BaseReporter.rejecting_candidate)r r c C s dS )z9Called when adding a candidate to the potential solution.Nr )r r r r r �pinning6 s zBaseReporter.pinningN)�__name__� __module__�__qualname__�__doc__r r r r r r r! r"