-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feature] Pydantic #10690
Comments
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. |
This issue has been automatically closed because it has not had recent activity. Please comment "/reopen" to reopen it. |
/reopen |
@AndresPrez: You can't reopen an issue/PR unless you authored it or you are a collaborator. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
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 👍.
The text was updated successfully, but these errors were encountered: