module documentation
Activity wrappers for executing LangGraph nodes and tasks.
| Class | |
Input for a LangGraph activity, containing args, kwargs, and config. |
| Class | |
Output from an Activity, containing result, command, or interrupts. |
| Function | clear |
Drop the store-warning dedupe entry for a workflow run. |
| Function | wrap |
Wrap a function as a Temporal activity that handles LangGraph config and interrupts. |
| Function | wrap |
Wrap an activity function to be called via workflow.execute_activity with caching. |
| Variable | _warned |
Undocumented |
def wrap_activity(func:
Callable) -> Callable[ [ ActivityInput], Awaitable[ ActivityOutput]]:
(source)
¶
Wrap a function as a Temporal activity that handles LangGraph config and interrupts.
def wrap_execute_activity(afunc:
Callable[ [ ActivityInput], Awaitable[ ActivityOutput]], task_id: str = '', **execute_activity_kwargs: Any) -> Callable[ ..., Any]:
(source)
¶
Wrap an activity function to be called via workflow.execute_activity with caching.