Matthias Roels
02/15/2023, 8:23 PMpipelines/
- feat/
__init__.py
pipelines.py. <—- contains all subpipelines in this folder e.g feat_sales
- feat_sales/
__init__.py
nodes.py
pipelines.py
- …
Would this be the right approach? And if not, what is the recommended way to structure this? Do we use modular pipelines or regular pipelines?Deepyaman Datta
02/15/2023, 11:09 PMpipelines/ folder). If you want Kedro to discover 2 pipelines, feat and modeling, then this is fine. It should be called pipeline.py and not pipelines.py, just to be clear. The sales subpackage, etc. can be imported from and used in `pipelines.feat.pipeline.py`'s create_pipeline() method, yes.
Do we use modular pipelines or regular pipelines?There's not really a distinction. Note: With this approach you can't exactly do
kedro run --pipeline feat_sale--is that important to you, or do you really only want to expose feat and modeling?Matthias Roels
02/16/2023, 6:48 PMDeepyaman Datta
02/16/2023, 6:51 PM