Sitelet https://python.temporal.io/temporalio.workflow._workflow_ops.ChildWorkflowHandle.html
class documentation

class ChildWorkflowHandle(_AsyncioTask[ReturnType], Generic[SelfType, ReturnType]): (source)

Known subclasses: temporalio.worker._workflow_instance._ChildWorkflowHandle

View In Hierarchy

Handle for interacting with a child workflow.

This is created via start_child_workflow.

This extends asyncio.Task and supports all task features.

Async Method signal Signal this child workflow.
Property first_execution_run_id Run ID for the workflow.
Property id ID for the workflow.
async def signal(self, signal: MethodSyncOrAsyncNoParam[SelfType, None], *, event_groups: Sequence[EventGroup] | None = None):
async def signal(self, signal: MethodSyncOrAsyncSingleParam[SelfType, ParamType, None], arg: ParamType, *, event_groups: Sequence[EventGroup] | None = None):
async def signal(self, signal: Callable[Concatenate[SelfType, MultiParamSpec], Awaitable[None] | None], *, args: Sequence[Any], event_groups: Sequence[EventGroup] | None = None):
async def signal(self, signal: str, arg: Any = temporalio.common._arg_unset, *, args: Sequence[Any] = [], event_groups: Sequence[EventGroup] | None = None):
(source)

Signal this child workflow.

Parameters
signal:str | CallableName or method reference for the signal.
arg:AnySingle argument to the signal.
args:Sequence[Any]Multiple arguments to the signal. Cannot be set if arg is.
event_groups:Sequence[EventGroup] | NoneEvent Groups to associate this command with, in addition to any from the current Event Group scope.
first_execution_run_id: str | None = (source)

Run ID for the workflow.