403Webshell
Server IP : 127.0.0.1  /  Your IP : 216.73.216.109
Web Server : Apache/2.4.54 (Win64) OpenSSL/1.1.1q PHP/8.1.10
System : Windows NT DESKTOP-E5T4RUN 10.0 build 19045 (Windows 10) AMD64
User : SERVERWEB ( 0)
PHP Version : 8.1.10
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : OFF |  Perl : OFF |  Python : OFF |  Sudo : OFF |  Pkexec : OFF
Directory :  C:/cygwin64/lib/python3.9/site-packages/pip/_vendor/tenacity/__pycache__/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : C:/cygwin64/lib/python3.9/site-packages/pip/_vendor/tenacity/__pycache__/stop.cpython-39.pyc
a

X��e�@s�ddlZddlZddlmZejr6ddlZddlmZGdd�dej�Zej	eej
dgeffZGdd�de�Z
Gd	d
�d
e�ZGdd�de�Ze�ZGd
d�de�ZGdd�de�ZGdd�de�ZdS)�N)�_utils)�RetryCallStatec@sFeZdZdZejded�dd��Zddd�dd	�Zdd
d�dd�Z	d
S)�	stop_basez(Abstract base class for stop strategies.r��retry_state�returncCsdS�N���selfrr	r	�=/usr/lib/python3.9/site-packages/pip/_vendor/tenacity/stop.py�__call__szstop_base.__call__�stop_all)�otherrcCs
t||�Sr)r�rrr	r	r�__and__"szstop_base.__and__�stop_anycCs
t||�Sr)rrr	r	r�__or__%szstop_base.__or__N)
�__name__�
__module__�__qualname__�__doc__�abc�abstractmethod�boolr
rrr	r	r	rrs
rrc@s0eZdZdZedd�dd�Zded�dd	�ZdS)
rz+Stop if any of the stop condition is valid.N��stopsrcGs
||_dSr�r�rrr	r	r�__init__/szstop_any.__init__rrcst�fdd�|jD��S)Nc3s|]}|��VqdSrr	��.0�x�rr	r�	<genexpr>3�z$stop_any.__call__.<locals>.<genexpr>)�anyrr
r	r#rr
2szstop_any.__call__�rrrrrrrr
r	r	r	rr,src@s0eZdZdZedd�dd�Zded�dd	�ZdS)
rz*Stop if all the stop conditions are valid.NrcGs
||_dSrrrr	r	rr9szstop_all.__init__rrcst�fdd�|jD��S)Nc3s|]}|��VqdSrr	r r#r	rr$=r%z$stop_all.__call__.<locals>.<genexpr>)�allrr
r	r#rr
<szstop_all.__call__r'r	r	r	rr6src@s eZdZdZded�dd�ZdS)�_stop_neverzNever stop.rrcCsdS)NFr	r
r	r	rr
Csz_stop_never.__call__N)rrrrrr
r	r	r	rr)@sr)c@s0eZdZdZddd�dd�Zded�d	d
�ZdS)�stop_when_event_setz!Stop when the given event is set.zthreading.EventN)�eventrcCs
||_dSr)r+)rr+r	r	rrMszstop_when_event_set.__init__rrcCs
|j��Sr)r+�is_setr
r	r	rr
Pszstop_when_event_set.__call__)rrrrrrr
r	r	r	rr*Jsr*c@s0eZdZdZedd�dd�Zded�dd	�ZdS)
�stop_after_attemptz.Stop when the previous attempt >= max_attempt.N)�max_attempt_numberrcCs
||_dSr)r.)rr.r	r	rrWszstop_after_attempt.__init__rrcCs|j|jkSr)Zattempt_numberr.r
r	r	rr
Zszstop_after_attempt.__call__)rrrr�intrrr
r	r	r	rr-Tsr-c@s2eZdZdZejdd�dd�Zded�dd	�ZdS)
�stop_after_delayz3Stop when the time from the first attempt >= limit.N)�	max_delayrcCst�|�|_dSr)rZ
to_secondsr1)rr1r	r	rraszstop_after_delay.__init__rrcCs|jdurtd��|j|jkS)Nz4__call__() called but seconds_since_start is not set)Zseconds_since_start�RuntimeErrorr1r
r	r	rr
ds
zstop_after_delay.__call__)	rrrrrZtime_unit_typerrr
r	r	r	rr0^sr0)r�typingZpip._vendor.tenacityr�
TYPE_CHECKING�	threadingr�ABCr�Union�CallablerZ	StopBaseTrrr)Z
stop_neverr*r-r0r	r	r	r�<module>s




Youez - 2016 - github.com/yon3zu
LinuXploit