powerful-continent-97643
03/03/2026, 6:57 PMRunner is there a way to get the run's run_id?
During a run, you get it from current.run_id. You can use the id to get a Run. But once you have a Run, like from Runner(...).run(...).run, how can you get the run id?glamorous-easter-37147
03/03/2026, 7:03 PMpowerful-continent-97643
03/03/2026, 7:07 PMpowerful-continent-97643
03/03/2026, 7:07 PMhundreds-rainbow-67050
03/03/2026, 7:23 PM.id — returns just the run ID (e.g., "12345"):
result = runner.run(alpha=5)
run_id = result.run.id
.pathspec — returns the full pathspec (e.g., "MyFlow/12345"):
run_id = result.run.pathspec # "MyFlow/12345"
So for a Runner result:
with Runner("myflow.py") as runner:
result = runner.run(alpha=5)
print(result.run.id) # "12345"
print(result.run.pathspec) # "MyFlow/12345"powerful-continent-97643
03/03/2026, 7:33 PMpowerful-continent-97643
03/03/2026, 7:33 PMhundreds-rainbow-67050
03/03/2026, 8:25 PM