
    g                     L    d Z ddlmZmZ ddlmZmZ ddlmZm	Z	m
Z
mZ g dZdZy)a  
Function decoration for backoff and retry

This module provides function decorators which can be used to wrap a
function such that it will be retried until some condition is met. It
is meant to be of use when accessing unreliable resources with the
potential for intermittent failures i.e. network resources and external
APIs. Somewhat more generally, it may also be of use for dynamically
polling resources for externally generated content.

For examples and full documentation see the README at
https://github.com/litl/backoff
    )on_exceptionon_predicate)full_jitterrandom_jitter)constantexpofiboruntime)r   r   r   r   r	   r
   r   r   z2.2.1N)__doc__backoff._decoratorr   r   backoff._jitterr   r   backoff._wait_genr   r   r	   r
   __all____version__     E/var/www/openai/venv/lib/python3.12/site-packages/backoff/__init__.py<module>r      s&    : 6 ; ;	 r   