-
Notifications
You must be signed in to change notification settings - Fork 442
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
[SDK] Generate Enum Types for Katib APIs #1969
Comments
/area sdk |
@andreyvelich Enum generator of kube-openapi enables by default since v1.24. ...
"type": {
"description": "Type for Experiment optimization.\n\nPossible enum values:\n - `\"\"`\n - `\"maximize\"`\n - `\"minimize\"`",
"type": "string",
"enum": [
"",
"maximize",
"minimize"
]
}
... Although, I could not automatically generate Python Modules with Enum Classes. And then We can not resolve this issue by upgrading kube-openapi, probably. |
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. |
/lifecycle frozen |
/kind feature
Check this thread: #1951 (comment).
Currently, we don't generate enum types in Python models for Katib APIs (e.g.
minimize
andmaximize
).For that, we might need to update
kube-openapi
version.Love this feature? Give it a 👍 We prioritize the features with the most 👍
The text was updated successfully, but these errors were encountered: