File: //usr/lib/python3/dist-packages/pip/_vendor/tenacity/__pycache__/after.cpython-312.pyc
�
��h� � � � d dl Z d dlmZ e j r
d dlZd dlmZ dd�Z d
ddd ed
ede j dgdf fd�Z
y)� N)�_utils)�RetryCallStater �returnc � � y)z&After call strategy that does nothing.N� )�retry_states �</usr/lib/python3/dist-packages/pip/_vendor/tenacity/after.py�
after_nothingr
s � � �loggerzlogging.Logger� log_level�
sec_formatc � � ��� d�� �fd�}|S )zBAfter call strategy that logs to some logger the finished attempt.c �� �� | j �d}nt j | j � }�j �d|� d�| j z � dt j
| j � � d�� y )Nz <unknown>zFinished call to 'z' after z(s), this was the z time calling it.)�fnr �get_callback_name�log�seconds_since_start�
to_ordinal�attempt_number)r �fn_namer
r r s ���r �log_itzafter_log.<locals>.log_it&