Hi Dagster team, if I want to get the start timestamp of a current pipeline run, how can I do that? I have logged everything from the op context but still can't find any relevant info
r
rex
04/07/2022, 9:48 PM
if you’re doing this within the op itself, you have access to the
instance
.
So, you could invoke
context.instance.get_run_records
with the appropriate filter to get the start timestamp
h
Huy Dao
04/07/2022, 9:58 PM
Hi Rex, gotcha, thank you for you help!
y
yuhan
06/16/2022, 8:18 AM
👋 I wrote some example code snippets for a similar use case in this GitHub discussion. Please feel free to comment or leave your answer there as well.