Is there a way for me to access the `tags` or `pip...
# questions
m
Is there a way for me to access the
tags
or
pipeline
argument passed in when executing
kedro run
from a terminal?
Update: in
pipeline_registry
where I wanted to access I can just run
sys.argv
to retrieve tags
l
Hi Marshall, could you give an example of how you're trying to use these arguments?
m
I've been trying to use them in order to govern which of two pipelines run. Both pipelines share most but not all subpipelines they run. The idea was to tag shared pipelines with both tags and unshared pipelines with their corresponding tag
But if I did for example
kedro run -t A
, I needed a way to filter out the DataPrep B subpipeline at registration time, because Kedro won't let you execute your pipeline if two subpipelines have identical outputs