This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class RetryUtils(): | |
| """ | |
| Provides helper functions for implementing retry with exponential backoff. | |
| """ | |
| def retry_with_backoff( | |
| function: Callable, | |
| function_args: list[Any], | |
| allowed_exceptions: list[str] = [], | |
| retries: int=5, |
OlderNewer