I'm looking for a "native" way to load a kubeflow pipeline yaml into memory (ideally in python) and manipulate it.
For example, I can load a component yaml into memory and manipulate it:
kfp.components.load_component_from_file("component.yaml")
# manipulate the component
I'd expect a similar way to load a pipeline. I've been trying to use the same method load_component_from_file
which fails for pipelines and was searching for similar load_pipeline_from_file
but it seems it does not exist.
But still, I assume it exists as eventually kubeflow pipelines knows how to read the pipeline and execute it.