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.
Decorators support both regular functions for synchronous code and
asyncio <https://docs.python.org/3/library/asyncio.html>
_'s coroutines for asynchronous code.
Package Version | Update ID | Released | Package Hub Version | Platforms | Subpackages |
---|---|---|---|---|---|
2.2.1-bp156.1.2 info | GA Release | 2024-05-06 | 15 SP6 |
|
|
1.10.0-bp155.2.12 info | GA Release | 2023-05-22 | 15 SP5 |
|
|
1.10.0-bp154.1.26 info | GA Release | 2022-05-09 | 15 SP4 |
|
|
1.10.0-bp153.1.23 info | GA Release | 2021-03-06 | 15 SP3 |
|
|
1.10.0-bp152.1.8 info | GA Release | 2020-04-17 | 15 SP2 |
|
|
1.5.0-bp151.1.1 info | GA Release | 2019-06-18 | 15 SP1 |
|
|