RetryOptions Class

The retry options to be applied to all requests when retrying

Inheritance
builtins.object
RetryOptions

Constructor

RetryOptions(max_retry_attempt_count=9, fixed_retry_interval_in_milliseconds=None, max_wait_time_in_seconds=30)

Parameters

max_retry_attempt_count
default value: 9
fixed_retry_interval_in_milliseconds
default value: None
max_wait_time_in_seconds
default value: 30

Variables

MaxRetryAttemptCount
int

Max number of retries to be performed for a request. Default value 9.

FixedRetryIntervalInMilliseconds
int

Fixed retry interval in milliseconds to wait between each retry ignoring the retryAfter returned as part of the response.

MaxWaitTimeInSeconds
int

Max wait time in seconds to wait for a request while the retries are happening. Default value 30 seconds.

Attributes

FixedRetryIntervalInMilliseconds

MaxRetryAttemptCount

MaxWaitTimeInSeconds