Hi
@mattia.paterna, let me check if I understand this correctly.
So Kedro's pipeline is usually "static", in the sense that before any nodes is executed, the structure of the DAGs should be determined already.
Rather than thinking of passing input/output, the way I see this is:
• You have a pipeline that can train model A
• You have a pipeline that can train model B
• You have a pipeline that is A + B
• Depending on the inputs, you trigger only A, or only B or both
One thing that maybe useful is that Pipeline is just a set of nodes, and you can do
arithmetic. i.e.
pipeline_a = node_a + node_b
pipeline_b = node_b + node_c
pipeline_a + pipeline_b = {node_a, node_b, node_c}