Skip to content

Find what schedule is running from inside an op #8416

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

You must be logged in to vote

You can find the information as:

@op
def my_op(context):
    context.get_tag("schedule_name")

If you'd like to get other information, you can pass it from your schedule definition via tags. You can find examples in the docs

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