retry

retry(func: Callable[[...], Any], max_retries: int = 5, sleep_time: int = 10, jitter: int = 10) Any[source]

Retry function call with jitter.

Parameters
  • func (Callable[[...], Any]) –

  • max_retries (int) –

  • sleep_time (int) –

  • jitter (int) –

Return type

Any