kubeflow / kubeflow/katib

[SDK] Generate Enum Types for Katib APIs

Open
#1,969 4 comments 3 reactions 0 assignees View on GitHub
area/sdk kind/feature lifecycle/frozen release/0.16
Dominant language
Python
Stars
1.7k
Forks
542
PR merge metrics
No merged PRs in 30d

Description

/kind feature

Check this thread: https://github.com/kubeflow/katib/pull/1951#discussion_r970906026.
Currently, we don't generate enum types in Python models for Katib APIs (e.g. [`minimize` and `maximize`](https://github.com/kubeflow/katib/blob/399340418a84b96804a9f304cea841b6497796f4/pkg/apis/controller/common/v1beta1/common_types.go#L120)).
For that, we might need to update `kube-openapi` version.

---

Love this feature? Give it a 👍 We prioritize the features with the most 👍

Contributor guide

Open the contributing guide

Research direction

Start by reading the linked pull request discussion and the enum definitions in pkg/apis/controller/common/v1beta1/common_types.go, including minimize and maximize. Check how the Python SDK models are generated and whether the kube-openapi version affects enum output; done means the generated Katib API models expose the relevant enum types.

Written by the indexing model from the issue text.

Assessment

Tech stack
kubernetes, python
Domain
api, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.