backoff icon indicating copy to clipboard operation
backoff copied to clipboard

Python library providing function decorators for configurable backoff and retry

Results 69 backoff issues
Sort by recently updated
recently updated
newest added

This change will help logging exceptions through different logger implementations (e.g. "loguru").

Removed usage of the `**` operator in `expo()` generator. Fixed default `min_value` for `decay()` generator: saved a test in the limit condition. Saved a couple of tests for limit condition...

It's always a pain when users reach out asking for updates but never offer to help with maintenance. It looks like there are some open PRs that would be great...

I would like to be be able to use the `backoff` library to decorate a `Callable` created using `functools.partial` so that I can: * specify some of `backoff`'s parameters dynamically,...

Hello and thank you for this amazing project. Im experimenting with it and I miss be able to use arguments to the backoff functions. For example: ```python async def backoff_f(arg1:...

It would be very useful to disable retries (and sleeping and etc) in tests, similar to how it's supported by stamina: https://stamina.hynek.me/en/stable/tutorial.html#deactivating-retries-globally

Fixes #194 Details on approach in linked issue.

We're using Facebook Marketing API and we'd like to backoff when we iterate over cursor. Cursor actually fetches pages from API. ```python @backoff.on_exception(backoff.expo, FacebookRequestError, max_tries=8, max_value=300) def fetch_ad_sets(my_account, fields, params):...

Just recently upgraded to 2.2.1 from 1.11 and pyright gave me lots of type hint errors. ``` /home/builder/archivist/confirmer.py /home/builder/archivist/confirmer.py:84:15 - error: Argument of type "(details: dict[str, Any]) -> NoReturn" cannot...