-
Hey guys, is there a way to get the run id of the current run ?
can i get the run id that was created during the run ? i want to print logs to third party platform with the runid during the run . The question was originally asked in Dagster Slack. |
Beta Was this translation helpful? Give feedback.
Answered by
yuhan
Jun 16, 2022
Replies: 1 comment
-
You can access the run within an op/solid using the optional context arg: @op
def somename_step1(context: OpExecutionContext):
print(context.run.run_id) Check out the API doc for other available information you can access using the context arg. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
yuhan
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can access the run within an op/solid using the optional context arg:
Check out the API doc for other available information you can access using the context arg.