class documentation
Options for retrying workflows and activities.
Static Method | from |
Create a retry policy from the proto object. |
Method | apply |
Apply the fields in this policy to the given proto object. |
Class Variable | backoff |
Coefficient to multiply previous backoff interval by to get new interval. Default 2.0. |
Class Variable | initial |
Backoff interval for the first retry. Default 1s. |
Class Variable | maximum |
Maximum number of attempts. |
Class Variable | maximum |
Maximum backoff interval between retries. Default 100x initial_interval . |
Class Variable | non |
List of error types that are not retryable. |
Method | _validate |
Undocumented |
@staticmethod
def from_proto(proto:
def from_proto(proto:
temporalio.api.common.v1.RetryPolicy
) -> RetryPolicy
:
(source)
¶
Create a retry policy from the proto object.