temporalio.client._ClientImpl
class documentation
Undocumented
Inherited from OutboundInterceptor:
| Instance Variable | next |
Undocumented |
Create the outbound interceptor.
| Parameters | |
client:Client | Undocumented |
| next | The next interceptor in the chain. The default implementation of all calls is to delegate to the next interceptor. |
async def backfill_schedule(self, input: BackfillScheduleInput):
(source)
¶
Called for every ScheduleHandle.backfill call.
async def cancel_activity(self, input: CancelActivityInput):
(source)
¶
Cancel an activity.
async def cancel_workflow(self, input: CancelWorkflowInput):
(source)
¶
Called for every WorkflowHandle.cancel call.
async def complete_async_activity(self, input: CompleteAsyncActivityInput):
(source)
¶
Called for every AsyncActivityHandle.complete call.
async def count_activities(self, input: CountActivitiesInput) -> ActivityExecutionCount:
(source)
¶
Called for every Client.count_activities call.
Warning
This API is experimental.
async def count_workflows(self, input: CountWorkflowsInput) -> WorkflowExecutionCount:
(source)
¶
Called for every Client.count_workflows call.
async def create_schedule(self, input: CreateScheduleInput) -> ScheduleHandle:
(source)
¶
Called for every Client.create_schedule call.
async def delete_schedule(self, input: DeleteScheduleInput):
(source)
¶
Called for every ScheduleHandle.delete call.
async def describe_activity(self, input: DescribeActivityInput) -> ActivityExecutionDescription:
(source)
¶
Describe an activity.
async def describe_schedule(self, input: DescribeScheduleInput) -> ScheduleDescription:
(source)
¶
Called for every ScheduleHandle.describe call.
async def describe_workflow(self, input: DescribeWorkflowInput) -> WorkflowExecutionDescription:
(source)
¶
Called for every WorkflowHandle.describe call.
async def fail_async_activity(self, input: FailAsyncActivityInput):
(source)
¶
Called for every AsyncActivityHandle.fail call.
def fetch_workflow_history_events(self, input: FetchWorkflowHistoryEventsInput) -> WorkflowHistoryEventAsyncIterator:
(source)
¶
Called for every WorkflowHandle.fetch_history_events call.
async def get_worker_build_id_compatibility(self, input: GetWorkerBuildIdCompatibilityInput) -> WorkerBuildIdVersionSets:
(source)
¶
Called for every Client.get_worker_build_id_compatibility call.
async def get_worker_task_reachability(self, input: GetWorkerTaskReachabilityInput) -> WorkerTaskReachability:
(source)
¶
Called for every Client.get_worker_task_reachability call.
async def heartbeat_async_activity(self, input: HeartbeatAsyncActivityInput):
(source)
¶
Called for every AsyncActivityHandle.heartbeat call.
def list_activities(self, input: ListActivitiesInput) -> ActivityExecutionAsyncIterator:
(source)
¶
Called for every Client.list_activities call.
Warning
This API is experimental.
def list_schedules(self, input: ListSchedulesInput) -> ScheduleAsyncIterator:
(source)
¶
Called for every Client.list_schedules call.
def list_workflows(self, input: ListWorkflowsInput) -> WorkflowExecutionAsyncIterator:
(source)
¶
Called for every Client.list_workflows call.
async def pause_schedule(self, input: PauseScheduleInput):
(source)
¶
Called for every ScheduleHandle.pause call.
async def query_workflow(self, input: QueryWorkflowInput) -> Any:
(source)
¶
Called for every WorkflowHandle.query call.
async def report_cancellation_async_activity(self, input: ReportCancellationAsyncActivityInput):
(source)
¶
Called for every AsyncActivityHandle.report_cancellation call.
async def signal_workflow(self, input: SignalWorkflowInput):
(source)
¶
Called for every WorkflowHandle.signal call.
async def start_activity(self, input: StartActivityInput) -> ActivityHandle[:
(source)
¶
Start an activity and return a handle to it.
async def start_update_with_start_workflow(self, input: StartWorkflowUpdateWithStartInput) -> WorkflowUpdateHandle[:
(source)
¶
Called for every Client.start_update_with_start_workflow and Client.execute_update_with_start_workflow call.
async def start_workflow(self, input: StartWorkflowInput) -> WorkflowHandle[:
(source)
¶
Called for every Client.start_workflow call.
async def start_workflow_update(self, input: StartWorkflowUpdateInput) -> WorkflowUpdateHandle[:
(source)
¶
Called for every WorkflowHandle.start_update and WorkflowHandle.execute_update call.
async def terminate_activity(self, input: TerminateActivityInput):
(source)
¶
Terminate an activity.
async def terminate_workflow(self, input: TerminateWorkflowInput):
(source)
¶
Called for every WorkflowHandle.terminate call.
async def trigger_schedule(self, input: TriggerScheduleInput):
(source)
¶
Called for every ScheduleHandle.trigger call.
async def unpause_schedule(self, input: UnpauseScheduleInput):
(source)
¶
Called for every ScheduleHandle.unpause call.
async def update_schedule(self, input: UpdateScheduleInput):
(source)
¶
Called for every ScheduleHandle.update call.
async def update_worker_build_id_compatibility(self, input: UpdateWorkerBuildIdCompatibilityInput):
(source)
¶
Called for every Client.update_worker_build_id_compatibility call.
async def _apply_headers(self, source: Mapping[, dest: MessageMap[):
(source)
¶
Undocumented
async def _build_signal_with_start_workflow_execution_request(self, input: StartWorkflowInput) -> temporalio.api.workflowservice.v1.SignalWithStartWorkflowExecutionRequest:
(source)
¶
Undocumented
async def _build_start_activity_execution_request(self, input: StartActivityInput) -> temporalio.api.workflowservice.v1.StartActivityExecutionRequest:
(source)
¶
Build StartActivityExecutionRequest from input.
async def _build_start_workflow_execution_request(self, input: StartWorkflowInput) -> temporalio.api.workflowservice.v1.StartWorkflowExecutionRequest:
(source)
¶
Undocumented
async def _build_update_with_start_start_workflow_execution_request(self, input: UpdateWithStartStartWorkflowInput) -> temporalio.api.workflowservice.v1.StartWorkflowExecutionRequest:
(source)
¶
Undocumented
async def _build_update_workflow_execution_request(self, input: StartWorkflowUpdateInput | UpdateWithStartUpdateWorkflowInput, workflow_id: str) -> temporalio.api.workflowservice.v1.UpdateWorkflowExecutionRequest:
(source)
¶
Undocumented
async def _populate_start_workflow_execution_request(self, req: temporalio.api.workflowservice.v1.StartWorkflowExecutionRequest | temporalio.api.workflowservice.v1.SignalWithStartWorkflowExecutionRequest, input: StartWorkflowInput | UpdateWithStartStartWorkflowInput):
(source)
¶
Undocumented
async def _start_workflow_update_with_start(self, start_input: UpdateWithStartStartWorkflowInput, update_input: UpdateWithStartUpdateWorkflowInput, on_start: Callable[) -> WorkflowUpdateHandle[:
(source)
¶
Undocumented