Friendlier OOP API?
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
Direzione di ricerca
Esamina l’uso esistente di ExtensionsV1beta1Ingress e i metodi proposti list_namespaced, delete e patch. L’issue non indica file o test e non definisce una condizione concreta per considerarlo completato; chiarisci innanzitutto il design dell’API e le aspettative di compatibilità prima dell’implementazione.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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?
- Lingua principale
- Python
- Stelle
- 7.7k
- Fork
- 3.5k
- Merge medio
- 1g 14h
- PR unite (30g)
- 18
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di kubernetes-client/python
-
kind/bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 68/100
kubernetes-client/python#2280 · 16 commenti · 9 reazioni ·
-
Release 1.37 Aperta
kubernetes-client/python#2691 · 1 commento · 1 reazione · 1 assegnatario ·
-
Growing library size Apertahelp wanted
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
kubernetes-client/python#2677 · 13 commenti · 1 reazione ·
-
help wanted kind/feature
kubernetes-client/python#2602 · 6 commenti · 1 assegnatario ·
-
kind/bug
kubernetes-client/python#2596 · 12 commenti · 2 reazioni · 1 assegnatario ·
Tutte le issue di kubernetes-client/python
Issue simili
-
area: harness bug status: needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
Human-Agent-Society/reef#625 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 80/100
learningequality/kolibri#15351 · 2 commenti ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Name consistency Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
eellak/triplestore#65 · 1 commento ·