Pydantic type representing meta Duration
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start by reading the Pydantic custom resource support added in release 37 and the existing functions in kubernetes.util.duration. Identify how custom types are serialized and deserialized through model_dump/model_verify and the CustomObjectsApi. Done means a Pydantic type can represent metav1.Duration across that path, with type hints for the duration functions.
索引モデルが issue の本文から書いたものです。
説明
What is the feature and why do you need it:
The Pydantic dependency in 37.0.0 made it possible to define custom models to represent custom resources.
In release 37 a Pydantic model representing custom objects can be defined and via model_dump/model_verify can be passed through the CustomObjectsApi.
A number of these use types not available in the K8s API such a metav1.Duration such as in Velero. This gets serialized to and from openapi spec string to the struct by golang and as such cannot be easily handled via openapi spec.
Before the Pydantic incorporation in 37 there was not a possibility to add in custom models compatible with the Python k8s client parser.
Describe the solution you'd like to see:
A Pydantic meta Duration type that serializes/deserializes such an object.
Typehinting of the kubernetes.util.duration functions.
- 主要言語
- Python
- スター
- 7.7k
- フォーク
- 3.5k
- 平均マージ
- 1日 9時間
- マージ済み PR(30日)
- 25
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
kubernetes-client/python のほかの issue
-
getheaders is deprecated in urllib3 >= 2.0.0再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープンkind/bug
難易度 1/5 1時間未満 初心者へのやさしさ 68/100
kubernetes-client/python#2280 · コメント 18 件 · リアクション 9 件 ·
メンテナーはふだん 1 日以内に返信
-
Bug Report: UnicodeDecodeError when limit_bytes truncates UTF-8 mid-character対応中かも @carterpewpew が 3 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
kubernetes-client/python#2756 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Resolve inconsistent typing in 37.0.0 delete operations対応中かも @tamird が今日担当しました。 オープンkind/feature
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
kubernetes-client/python#2752 · コメント 8 件 ·
メンテナーはふだん 1 日以内に返信
-
Make async an extra対応中かも @jdork0 が 6 日前に担当しました。 オープンkind/feature
難易度 2/5 1〜3時間 初心者へのやさしさ 55/100
kubernetes-client/python#2739 · コメント 3 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Growing library size対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンhelp wanted
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
kubernetes-client/python#2677 · コメント 16 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
kubernetes-client/python の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
microsoft/agent-lightning#661 ·
メンテナーはふだん 2 日以内に返信
-
area/profiles comp/cli P3 type/feature
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
NousResearch/hermes-agent#146372 ·
メンテナーはふだん 1 日以内に返信
-
[BUG] OpenAI-compatible embedding model alias breaks embedder construction対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
[oblt-aw][autodoc] Document obs-aw-automerge contract and fix automerge doc inconsistencies対応中かも @github-actions が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
GeoSeries scale and skew tests fail with pytest 9.2.0対応中かも @jiayuasu が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信