�
��gg � �V � d dl Z d dlZej rd dlZdeddfd�Z G d� d� � ZdS )� N�seconds�returnc �. � t j | � � dS )z�
Sleep strategy that delays execution for a given number of seconds.
This is the default strategy, and may be mocked out for unit testing.
N)�time�sleep)r s �\/home/asafur/pinokio/api/open-webui.git/app/env/lib/python3.11/site-packages/tenacity/nap.pyr r s � � �J�w������ c �@ � e Zd ZdZd d�Zdej e ddfd�ZdS )
�sleep_using_eventz0Sleep strategy that waits on an event to be set.�event�threading.Eventr Nc � � || _ d S )N)r )�selfr s r �__init__zsleep_using_event.__init__% s
� ���
�
�
r �timeoutc �<