Skip to content

How do I get run_id of the current run #8424

Answered by yuhan
dagsir[bot] bot asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by yuhan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant