Skip to content

Commit c0b06b1

Browse files
committed
Send first_execution_run_id with Update requests
Fixes #682
1 parent edb3c7e commit c0b06b1

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
@@ -2060,6 +2060,7 @@ async def _start_update(
20602060
StartWorkflowUpdateInput(
20612061
id=self._id,
20622062
run_id=self._run_id,
2063+
first_execution_run_id=self.first_execution_run_id,
20632064
update_id=id,
20642065
update=update_name,
20652066
args=temporalio.common._arg_or_args(arg, args),
@@ -4728,6 +4729,7 @@ class StartWorkflowUpdateInput:
47284729

47294730
id: str
47304731
run_id: Optional[str]
4732+
first_execution_run_id: Optional[str]
47314733
update_id: Optional[str]
47324734
update: str
47334735
args: Sequence[Any]
@@ -5360,6 +5362,7 @@ async def start_workflow_update(
53605362
workflow_id=input.id,
53615363
run_id=input.run_id or "",
53625364
),
5365+
first_execution_run_id=input.first_execution_run_id or "",
53635366
request=temporalio.api.update.v1.Request(
53645367
meta=temporalio.api.update.v1.Meta(
53655368
update_id=input.update_id or str(uuid.uuid4()),

0 commit comments

Comments
 (0)