Title
#advanced-need-help
waylonwalker

waylonwalker

10/16/2021, 2:29 PM
This helps quite bit I do see where you are contructing a Pipeline, with other pipelines, and the pipeline method to map some io, rather than just the nodes.
python
final_pipeline = Pipeline(
    [
        **pipeline(cook_pipeline, outputs={"grilled_meat": "new_name"}).nodes,
        **pipeline(lunch_pipeline, inputs={"food": "new_name"}).nodes,
        node(...),
        ...,
    ]
)
This is closer to how I have been doing it. This achieves a similar affect of reusing pipelines, but looses the history of where nodes came from. And typically I am not passing in the inputs/outputs here.