@@ -488,7 +488,7 @@ async def start_workflow(
488488 static_details: General fixed details for this workflow execution that may appear in
489489 UI/CLI. This can be in Temporal markdown format and can span multiple lines. This is
490490 a fixed value on the workflow that cannot be updated. For details that can be
491- updated, use `Workflow.CurrentDetails ` within the workflow.
491+ updated, use :py:meth:`temporalio.workflow.get_current_details ` within the workflow.
492492 start_delay: Amount of time to wait before starting the workflow.
493493 This does not work with ``cron_schedule``.
494494 start_signal: If present, this signal is sent as signal-with-start
@@ -1283,7 +1283,7 @@ async def create_schedule(
12831283 static_details: General fixed details for this workflow execution that may appear in
12841284 UI/CLI. This can be in Temporal markdown format and can span multiple lines. This is
12851285 a fixed value on the workflow that cannot be updated. For details that can be
1286- updated, use `Workflow.CurrentDetails ` within the workflow.
1286+ updated, use :py:meth:`temporalio.workflow.get_current_details ` within the workflow.
12871287 rpc_metadata: Headers used on the RPC call. Keys here override
12881288 client-level RPC metadata keys.
12891289 rpc_timeout: Optional RPC deadline to set for the RPC call.
@@ -1517,9 +1517,8 @@ def id(self) -> str:
15171517
15181518 @property
15191519 def run_id (self ) -> Optional [str ]:
1520- """Run ID used for :py:meth:`signal`, :py:meth:`query`, and
1521- :py:meth:`update` calls if present to ensure the signal/query/update
1522- happen on this exact run.
1520+ """If present, run ID used to ensure that requested operations apply
1521+ to this exact run.
15231522
15241523 This is only created via :py:meth:`Client.get_workflow_handle`.
15251524 :py:meth:`Client.start_workflow` will not set this value.
@@ -1546,8 +1545,7 @@ def result_run_id(self) -> Optional[str]:
15461545
15471546 @property
15481547 def first_execution_run_id (self ) -> Optional [str ]:
1549- """Run ID used for :py:meth:`cancel` and :py:meth:`terminate` calls if
1550- present to ensure the cancel and terminate happen for a workflow ID
1548+ """Run ID used to ensure requested operations apply to a workflow ID
15511549 started with this run ID.
15521550
15531551 This can be set when using :py:meth:`Client.get_workflow_handle`. When
@@ -2304,13 +2302,13 @@ async def start_update(
23042302
23052303 Args:
23062304 update: Update function or name on the workflow. arg: Single argument to the
2307- update.
2305+ update.
23082306 wait_for_stage: Required stage to wait until returning: either ACCEPTED or
23092307 COMPLETED. ADMITTED is not currently supported. See
23102308 https://docs.temporal.io/workflows#update for more details.
2311- args: Multiple arguments to the update. Cannot be set if arg is. id: ID of the
2312- update. If not set, the default is a new UUID. result_type: For string
2313- updates, this can set the specific result
2309+ args: Multiple arguments to the update. Cannot be set if arg is.
2310+ id: ID of the update. If not set, the default is a new UUID.
2311+ result_type: For string updates, this can set the specific result
23142312 type hint to deserialize into.
23152313 rpc_metadata: Headers used on the RPC call. Keys here override
23162314 client-level RPC metadata keys.
@@ -2427,7 +2425,6 @@ def get_update_handle_for(
24272425 id: Update ID to get a handle to.
24282426 workflow_run_id: Run ID to tie the handle to. If this is not set,
24292427 the :py:attr:`run_id` will be used.
2430- result_type: The result type to deserialize into if known.
24312428
24322429 Returns:
24332430 The update handle.
@@ -2444,8 +2441,7 @@ class WithStartWorkflowOperation(Generic[SelfType, ReturnType]):
24442441 workflow if necessary.
24452442
24462443 .. warning::
2447- This API is experimental
2448-
2444+ This API is experimental
24492445 """
24502446
24512447 # Overload for no-param workflow, with_start
@@ -4866,7 +4862,7 @@ def __init__(
48664862 """Create a workflow update handle.
48674863
48684864 Users should not create this directly, but rather use
4869- :py:meth:`Client.start_workflow_update `.
4865+ :py:meth:`WorkflowHandle.start_update` or :py:meth:`WorkflowHandle.get_update_handle `.
48704866 """
48714867 self ._client = client
48724868 self ._id = id
@@ -5586,15 +5582,16 @@ async def terminate_workflow(self, input: TerminateWorkflowInput) -> None:
55865582 async def start_workflow_update (
55875583 self , input : StartWorkflowUpdateInput
55885584 ) -> WorkflowUpdateHandle [Any ]:
5589- """Called for every :py:meth:`WorkflowHandle.update ` and :py:meth:`WorkflowHandle.start_update ` call."""
5585+ """Called for every :py:meth:`WorkflowHandle.start_update ` and :py:meth:`WorkflowHandle.execute_update ` call."""
55905586 return await self .next .start_workflow_update (input )
55915587
55925588 async def start_update_with_start_workflow (
55935589 self , input : StartWorkflowUpdateWithStartInput
55945590 ) -> WorkflowUpdateHandle [Any ]:
5595- """Called for every :py:meth:`Client.start_update_with_start` and :py:meth:`Client.execute_update_with_start` call.
5591+ """Called for every :py:meth:`Client.start_update_with_start_workflow` and :py:meth:`Client.execute_update_with_start_workflow` call.
5592+
55965593 .. warning::
5597- This API is experimental
5594+ This API is experimental
55985595 """
55995596 return await self .next .start_update_with_start_workflow (input )
56005597
0 commit comments