call_activity Module

Functions

call_activity_task

Determine the state of Scheduling an activity for execution.

call_activity_task(state: List[azure.durable_functions.models.history.HistoryEvent.HistoryEvent], 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.

name
str
Required

The name of the activity function to schedule.

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.

Return type