Current File : //lib/python3.9/site-packages/pip/_vendor/tenacity/__pycache__/retry.cpython-39.pyc |
a
[��f� � @ s d dl Z d dlZd dlZejr*d dlmZ G dd� de j�ZG dd� de�Ze� Z G dd� de�Z
e
� ZG d d
� d
e�ZG dd� de�Z
G d
d� de�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� de�ZdS )� N)�RetryCallStatec @ sF e Zd ZdZejded�dd��Zd dd�dd �Zd d
d�dd�Z d
S )�
retry_basez)Abstract base class for retry strategies.r ��retry_state�returnc C s d S �N� ��selfr r r �>/usr/lib/python3.9/site-packages/pip/_vendor/tenacity/retry.py�__call__ s zretry_base.__call__� retry_all)�otherr c C s
t | |�S r )r
�r
r r r r �__and__ s zretry_base.__and__� retry_anyc C s
t | |�S r )r r r r r �__or__# s zretry_base.__or__N)
�__name__�
__module__�__qualname__�__doc__�abc�abstractmethod�boolr r r r r r r r s
r c @ s e Zd ZdZded�dd�ZdS )�_retry_neverz-Retry strategy that never rejects any result.r r c C s dS �NFr r r r r r * s z_retry_never.__call__N�r r r r r r r r r r r '