|
21 | 21 |
|
22 | 22 | import temporalio.common |
23 | 23 | from temporalio.nexus._operation_context import ( |
24 | | - _start_nexus_backed_workflow_update, |
25 | 24 | _start_nexus_backing_workflow, |
| 25 | + _start_nexus_operation_workflow_update, |
26 | 26 | _TemporalStartOperationContext, |
27 | 27 | ) |
28 | 28 | from temporalio.types import ( |
@@ -361,7 +361,7 @@ async def start_workflow_update( |
361 | 361 | run_id: str | None = None, |
362 | 362 | first_execution_run_id: str | None = None, |
363 | 363 | ) -> TemporalOperationResult[Any]: |
364 | | - """Start a workflow update as the backing asynchronous Nexus operation. |
| 364 | + """Start a Workflow Update-backed Nexus Operation. |
365 | 365 |
|
366 | 366 | .. warning:: |
367 | 367 | This API is experimental and unstable. |
@@ -481,14 +481,14 @@ async def start_workflow_update( |
481 | 481 | run_id: str | None = None, |
482 | 482 | first_execution_run_id: str | None = None, |
483 | 483 | ) -> TemporalOperationResult[Any]: |
484 | | - """Start a workflow update as the backing asynchronous Nexus operation.""" |
| 484 | + """Start a Workflow Update-backed Nexus Operation.""" |
485 | 485 | if not self._temporal_context.nexus_context.callback_url: |
486 | 486 | raise HandlerError( |
487 | 487 | "callback URL is required for a workflow update Nexus operation", |
488 | 488 | type=HandlerErrorType.BAD_REQUEST, |
489 | 489 | ) |
490 | 490 | with self._reserve_async_start(): |
491 | | - update_handle = await _start_nexus_backed_workflow_update( |
| 491 | + update_handle = await _start_nexus_operation_workflow_update( |
492 | 492 | temporal_context=self._temporal_context, |
493 | 493 | workflow_id=workflow_id, |
494 | 494 | update=update, |
|
0 commit comments