API Reference:
retry()
Getting Started:
This module provides a decorator for retrying a function call if it raises an exception.
retry: Retry a function call if it raises an exception.
Retry a function call if it raises an exception.
attempts (int) – Number of retry attempts.
delay (float) – Delay in seconds between attempts.
A decorator that retries the function.
Callable