Add the ability to dynamically create modular pipelines #1993
Labels
Community
Issue/PR opened by the open-source community
Issue: Feature Request
New feature or improvement to existing feature
Stage: Technical Design 🎨
Ticket needs to undergo technical design before implementation
Description
I have a pipeline which is broadly composed of the following steps
An example of the pipeline is presented below
As an extension to the current functionality, I would like to be able to iterate over multiple parameters for
process_pipeline
and combine the results together at the final stage. Additionally, these loop parameters would be determined as an output from the initial pipeline. Using modular pipelines, I would expect that if it were possible to load the result of an output from a node, then I could compose the pipeline as followsContext
This change would be useful because it would allow me to extend the use a current production pipeline without requiring additional modifications to the code that is used to execute this pipeline. In order to make use of this dynamic parameter, I currently have to create a separate runner script for this specific pipeline, which inevitably makes it less portable
Possible Alternatives
In order to achieve the desired functionality, I have implemented something similar to the following
but this does not give me the full functionality of
Kedro
. For example, I can't use this to load catalogs from different environments, This script is also very tightly coupled to the pipeline such that if I change the pipeline, I would need to change this as well.Another option I have come across is to use a custom
Runner
as described in #1853, but I haven't yet tried to implement this for my pipelineThe text was updated successfully, but these errors were encountered: