Skip to content

Commit 193c4ab

Browse files
committed
Send first_execution_run_id with Update requests
Fixes #682
1 parent 1f4a6f8 commit 193c4ab

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

temporalio/client.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2020,6 +2020,7 @@ async def _start_update(
20202020
StartWorkflowUpdateInput(
20212021
id=self._id,
20222022
run_id=self._run_id,
2023+
first_execution_run_id=self.first_execution_run_id,
20232024
update_id=id,
20242025
update=update_name,
20252026
args=temporalio.common._arg_or_args(arg, args),
@@ -4648,6 +4649,7 @@ class StartWorkflowUpdateInput:
46484649

46494650
id: str
46504651
run_id: Optional[str]
4652+
first_execution_run_id: Optional[str]
46514653
update_id: Optional[str]
46524654
update: str
46534655
args: Sequence[Any]
@@ -5275,6 +5277,7 @@ async def start_workflow_update(
52755277
workflow_id=input.id,
52765278
run_id=input.run_id or "",
52775279
),
5280+
first_execution_run_id=input.first_execution_run_id or "",
52785281
request=temporalio.api.update.v1.Request(
52795282
meta=temporalio.api.update.v1.Meta(
52805283
update_id=input.update_id or str(uuid.uuid4()),

0 commit comments

Comments
 (0)