It's appropriate to generate a Kubeflow component YAML specification from a python function - see e.g.
https://www.kubeflow.org/docs/components/pipelines/sdk/v2/component-development
We are trying to avoid versioning the Jupyter notebooks.
We would like to version our components in git. If we version the YAML, can we easily regenerate the python function (or even the Jupyter notebook) using any off-the-shelf utils?
Or is there a better way?
Thanks!