Skip to content

Commit b2fba25

Browse files
committed
Add first_execution_run_id to workflow info
1 parent e1016bc commit b2fba25

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

temporalio/worker/_workflow.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -522,6 +522,7 @@ def _create_workflow_instance(
522522
execution_timeout=init.workflow_execution_timeout.ToTimedelta()
523523
if init.HasField("workflow_execution_timeout")
524524
else None,
525+
first_execution_run_id=init.first_execution_run_id,
525526
headers=dict(init.headers),
526527
namespace=self._namespace,
527528
parent=parent,

temporalio/workflow.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -493,6 +493,7 @@ class Info:
493493
continued_run_id: Optional[str]
494494
cron_schedule: Optional[str]
495495
execution_timeout: Optional[timedelta]
496+
first_execution_run_id: str
496497
headers: Mapping[str, temporalio.api.common.v1.Payload]
497498
namespace: str
498499
parent: Optional[ParentInfo]

0 commit comments

Comments
 (0)