https://kedro.org/ logo
#questions
Title
# questions
e

Emilio Gagliardi

10/03/2023, 7:12 PM
Hi all 🙂 quick question, if I have 10 pipelines and I want to run say 9 as a group leaving out the 10th, how and where do I specify that? Does that go in
pipeline_registry.py
? I'm running kedro 18.11 and all that I see there is
Copy code
pipelines = find_pipelines()
pipelines["__default__"] = sum(pipelines.values())
return pipelines
I'm hoping there's something like
kedro run --pipeline=alias_for_9
CHeers and thank you!
d

Deepyaman Datta

10/03/2023, 7:34 PM
You can update the dictionary to add other alias entries, like
alias_for_9
. For example...
Copy code
pipelines = find_pipelines()
pipelines["__default__"] = sum(pipelines.values())
pipelines["alias_for_9"] = pipelines["__default__"] - pipelines["number_10"]
return pipelines
(assuming your 10th pipeline is named
number_10
)
👍 2
e

Emilio Gagliardi

10/03/2023, 8:34 PM
@Deepyaman Datta Thank you kindly sir. I'll try it out right now!