Friendlier OOP API?
まだ誰も着手していません。
評価
調査の方向性
既存の ExtensionsV1beta1Ingress の使用状況と、提案されている list_namespaced、delete、patch メソッドを確認してください。issue ではファイルやテストが指定されておらず、具体的な完了条件も定義されていません。実装の前に、まず API 設計と互換性に関する期待を明確にしてください。
索引モデルが issue の本文から書いたものです。
説明
What is the feature and why do you need it:
I'd love to be able to do something like this:
from kubernetes.client import ExtensionsV1beta1Ingress as Ingress
...
for ingress in Ingress.list(namespace="default"):
ingress.metadata.labels["foo"] = "bar"
ingress.patch()
Describe the solution you'd like to see:
Implementing a bunch of default class methods and properties such as list and list_namespaced (or maybe list(namespace="...")), as well as instance methods such as delete and patch.
I know that this feature proposal is rather succinct, and I'm sorry about this, but I'd love some feedback before moving in any direction. Maybe this is too much of a change and would be simpler implemented in another library based on this client?
- 主要言語
- Python
- スター
- 7.7k
- フォーク
- 3.5k
- 平均マージ
- 1日 14時間
- マージ済み PR(30日)
- 18
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
kubernetes-client/python のほかの issue
-
kind/bug
難易度 1/5 1時間未満 初心者へのやさしさ 68/100
kubernetes-client/python#2280 · コメント 16 件 · リアクション 9 件 ·
-
Release 1.37 オープン
kubernetes-client/python#2691 · コメント 1 件 · リアクション 1 件 · 担当者 1 名 ·
-
Growing library size オープンhelp wanted
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
kubernetes-client/python#2677 · コメント 13 件 · リアクション 1 件 ·
-
help wanted kind/feature
kubernetes-client/python#2602 · コメント 6 件 · 担当者 1 名 ·
-
kind/bug
kubernetes-client/python#2596 · コメント 12 件 · リアクション 2 件 · 担当者 1 名 ·
kubernetes-client/python の issue をすべて見る
似ている issue
-
area: harness bug status: needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
Human-Agent-Society/reef#625 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 80/100
learningequality/kolibri#15351 · コメント 2 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
Name consistency オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
eellak/triplestore#65 · コメント 1 件 ·