temporalio.common.RetryPolicy

Options for retrying workflows and activities.

Static Method from_proto Create a retry policy from the proto object.
Method apply_to_proto Apply the fields in this policy to the given proto object.
Class Variable backoff_coefficient Coefficient to multiply previous backoff interval by to get new interval. Default 2.0.
Class Variable initial_interval Backoff interval for the first retry. Default 1s.
Class Variable maximum_attempts Maximum number of attempts.
Class Variable maximum_interval Maximum backoff interval between retries. Default 100x initial_interval.
Class Variable non_retryable_error_types List of error types that are not retryable.
Method _validate Undocumented

Create a retry policy from the proto object.

Apply the fields in this policy to the given proto object.

Coefficient to multiply previous backoff interval by to get new interval. Default 2.0.

Backoff interval for the first retry. Default 1s.

Maximum number of attempts.

If 0, the default, there is no maximum.

Maximum backoff interval between retries. Default 100x initial_interval.

List of error types that are not retryable.