waylonwalker
10/16/2021, 2:29 PMpython
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.