Open mikeedjones opened 2 months ago
Please join our next Pipelines WG meeting to discuss about this feature.
Hi @mikeedjones Im coming from Issue #10210 what is the state of this issue? Also what version of KFP are you trying to update?
Think mine is more of a feature request for future versions of 2.x - I'm not sure that your request is covered by what I had in mind :(
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Feature Area
What feature would you like to see?
I would like to be able to typehint containerized and lightweight python components, and pipelines, using Pydantic Models - and have the validation of those models occur automatically, making the validated models available inside the component code.
What is the use case or pain point?
At the moment I'm passing complex hierarchical dictionaries as parameters to kubeflow using Dict[str, Any] and then validating those dictionaries inside the function code, as below
Where
myimage
has the base model available.Is there a workaround currently?
This gist shows my current attempt at a reusable workaround.
Love this idea? Give it a 👍.