� ��g��t�ddlZddlmZejr ddlZddlmZd d�Zdd d edejdgdffd �Z dS) �N)�_utils)�RetryCallState� retry_stater�returnc��dS)z'Before call strategy that does nothing.N�)rs �_/home/asafur/pinokio/api/open-webui.git/app/env/lib/python3.11/site-packages/tenacity/before.py�before_nothingr s�����loggerzlogging.Logger� log_levelc����d��fd� }|S)z:Before call strategy that logs to some logger the attempt.rrrNc ���|j�d}ntj|j��}���d|�dtj|j���d���dS)Nz <unknown>zStarting call to 'z', this is the z time calling it.)�fnr�get_callback_name�log� to_ordinal�attempt_number)r�fn_namer r s ��r �log_itzbefore_log.<locals>.log_it$s~��� �>� !�!�G�G��.�{�~�>�>�G�� � � � \�� \� \�!�,�[�-G�H�H� \� \� \� � � � � r �rrrNr)r r rs`` r � before_logrs.����  �  �  �  �  �  �  � �Mr r) �typing�tenacityr� TYPE_CHECKING�loggingrr �int�Callablerrr r �<module>rs���"� � � ������� ��(��N�N�N�'�'�'�'�'�'�2�2�2�2�� ��),�� �_�&�'��-�.������r
Memory