7fp ddlZddlmZmZddlmZmZddlmZedZ edZ de de d eee e fgee e fffd Z dS) N) perf_countersleep)CallableTypeVar) ParamSpecTPwaitstop_after_delayreturnc|dtttfdtttfffd }|S)aDecorator 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. funcr ctjdtjdtjdt ffd }|S)Nargskwargsr ct} |i|S#t$r(t|z krtYnwxYw?)N)r Exceptionr)rr start_timerr r s y/builddir/build/BUILD/imunify360-venv-2.3.5/opt/imunify360/venv/lib/python3.11/site-packages/pip/_internal/utils/retry.py retry_wrappedz-retry..wrapper..retry_wrappedst&J  40000    #~~ 25EEE$KKKKK  s/A  A ) functoolswrapsr rrr)rrr r s` rwrapperzretry..wrappersb     18     )rr r)r r rs`` rretryr sLhq!tn!Q$" Nr) rtimerrtypingrrpip._vendor.typing_extensionsrrr floatrrrr!s$$$$$$$$$$$$$$$$333333 GCLL IcNN #( x1~A./r