Welcome to KaioRetry’s documentation!
KaioRetry current version is 1.0.2
KaioRetry allows you to easily retry a function call.
Installation
KaioRetry is published on pypi. You know the drill, right?
$ pip install kaioretry
Depdendencies
At runtime, KaioRetry relies on decorator to efficiently propagate type annotations and other metadata of the decorated function, to the function produced by the decorator.
- What and why is that?
- Getting Started
- 1. Trying again
- 2. Trying until it works
- 3. Catching specific exceptions
- 4. Adding a delay between tries
- 5. Increasing logs to analyse the retry process
- 6. Non-constant delay
- 7. Exponential delay increase!
- 8. Setting boundaries
- 9. AsyncIOchronously doing stuff
- 10. Regular/Sync functions in an AsyncIO context
- The retry and aioretry decorators
- KaioRetry Internals