retry Module

Classes

ExponentialRetry

Exponential retry.

Constructs an Exponential retry object. The initial_backoff is used for the first retry. Subsequent retries are retried after initial_backoff + increment_power^retry_count seconds. For example, by default the first retry occurs after 15 seconds, the second after (15+3^1) = 18 seconds, and the third after (15+3^2) = 24 seconds.

LinearRetry

Linear retry.

Constructs a Linear retry object.

Functions

no_retry

Specifies never to retry.

no_retry(context)

Parameters

Name Description
context
Required
<xref:azure.storage.models.RetryContext>

The retry context.

Returns

Type Description

Always returns None to indicate never to retry.