module documentation

Undocumented

Class Constant A retry policy where the delay between retries is constant.
Class Exponential A retry policy where the delay between retries grows exponentially.
Class Linear A retry policy where the delay between retries grows linearly.
Class Never A retry policy where there's no retry.
Class Retriable Undocumented
Function constant Undocumented
Function exponential Undocumented
Function linear Undocumented
Function never Undocumented
Type Alias RetryPolicy Undocumented
def constant(delay: float, max_retries: int) -> Constant:

Undocumented

def exponential(base_delay: float, factor: float, max_delay: float, max_retries: int) -> Exponential:

Undocumented

def linear(delay: float, max_retries: int) -> Linear:

Undocumented

def never() -> Never:

Undocumented

RetryPolicy: TypeAlias =

Undocumented

Value
Exponential | Linear | Constant | Never