https://dagster.io/ logo
#ask-community
Title
# ask-community
j

John Mav

04/12/2023, 6:48 PM
Is there a way to set a tag on a job that can be set during execution of job or modified after job completion? e.g.
Copy code
tag = ''

@op
def my_op(context):
  if a:
    tag = 'a'
  else:
    tag = 'b'

@job(
  tags={
    "choice": tag
  }
)
def my_job(context):
  my_op()
I have a job with some branching behavior and want to more easily identify what path was chosen from the Run History UI where tags and metadata are exposed, is this possible via tags or is there some other approach to easily exposing this info in the UI?
🤖 1