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

[��f`�@s`ddlZddlmZejr.ddlZddlmZddd�dd�Zdeejdgdfd	�d
d�Z	dS)�N)�_utils)�RetryCallStater��retry_state�returncCsdS)z'Before call strategy that does nothing.N��rrr�?/usr/lib/python3.9/site-packages/pip/_vendor/tenacity/before.py�before_nothingsr
zlogging.Logger)�logger�	log_levelrcsddd���fdd�}|S)z:Before call strategy that logs to some logger the attempt.rNrc	s.���dt�|j��dt�|j��d��dS)NzStarting call to 'z', this is the z time calling it.)�logrZget_callback_name�fnZ
to_ordinalZattempt_numberr�rrrr	�log_it"s
��zbefore_log.<locals>.log_itr)rrrrrr	�
before_logsr)
�typingZpip._vendor.tenacityr�
TYPE_CHECKINGZloggingrr
�int�Callablerrrrr	�<module>s