Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 706 Bytes

Readme.md

File metadata and controls

20 lines (14 loc) · 706 Bytes

kubernetes-stubs

Python type stubs for the Kubernetes API client. The code is contained in branches, which are named after the respective Kubernetes version.

Usage

pip install git+https://github.com/kialo/[email protected]

Change the version number accordingly.

Updating stubs

  • Commit your changes to non-autogenerated code on master. I.e. missing type annotations, dependency upgrades, etc.
  • Branch off or merge master into the corresponding version branch.
  • Checkout the corresponding version of the kubernetes-client submodule.
  • Generate API model stubs for each version branch independently: uv run codegen.