Tag your pipeline runs

You can specify tags for your pipeline runs in the following places

  • in the configuration file:

# config.yaml
tags:
  - tag_in_config_file
  • in code on the @pipeline decorator or using the with_options method:

@pipeline(tags=["tag_on_decorator"])
def my_pipeline():
  ...

my_pipeline = my_pipeline.with_options(tags=["tag_on_with_options"])

If you now run this pipeline, tags from all these places will be merged and applied to the pipeline run.

ZenML Scarf

Last updated