a  zeg@s@ddlZddlZejrddlZeddddZGdddZdS)N)secondsreturncCst|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)timesleep)rrZ/opt/bitninja-python-dojo/embedded/lib/python3.9/site-packages/pip/_vendor/tenacity/nap.pyrsrc@s6eZdZdZdddddZejedddd ZdS) sleep_using_eventz0Sleep strategy that waits on an event to be set.zthreading.EventN)eventrcCs ||_dS)N)r )selfr rrr__init__%szsleep_using_event.__init__)timeoutrcCs|jj|ddS)N)r )r wait)r r rrr__call__(szsleep_using_event.__call__) __name__ __module__ __qualname____doc__r typingOptionalfloatrrrrrr"sr)rr TYPE_CHECKING threadingrrrrrrrs