call_activity_with_retry Module

Functions

call_activity_with_retry_task

Determine the state of scheduling an activity for execution with retry options.

call_activity_with_retry_task(state: List[azure.durable_functions.models.history.HistoryEvent.HistoryEvent], retry_options: azure.durable_functions.models.RetryOptions.RetryOptions, name: str, input_: Optional[Any] = None) -> azure.durable_functions.models.Task.Task

Parameters

state
<xref:List>[HistoryEvent]
Required

The list of history events to search to determine the current state of the activity.

retry_options
RetryOptions
Required

The retry options for the activity function.

name
str
Required

The name of the activity function to call.

input
<xref:Any>
default value: None

The JSON-serializable input to pass to the activity function.

Returns

A Durable Task that completes when the called activity function completes or fails completely.

Return type