Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Friendlier OOP API?

オープン
#998 コメント 8 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
python
領域
api

調査の方向性

既存の ExtensionsV1beta1Ingress の使用状況と、提案されている list_namespaced、delete、patch メソッドを確認してください。issue ではファイルやテストが指定されておらず、具体的な完了条件も定義されていません。実装の前に、まず API 設計と互換性に関する期待を明確にしてください。

索引モデルが issue の本文から書いたものです。

説明

kind/feature lifecycle/frozen priority/awaiting-more-evidence

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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

kubernetes-client/python のほかの issue

kubernetes-client/python の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。