Python SDK should provide a method for users to get the response headers and the raw response
Nessuno ha ancora preso questa issue.
- Lingua principale
- Python
- Stelle
- 85
- Fork
- 36
- Merge medio
- 3h 8m
- PR unite (30g)
- 3
Descrizione
Checklist
- I agree to the terms within the OpenFGA Code of Conduct.
Describe the problem you'd like to have solved
As a user, I'd like to be able to get the response headers when using OpenFgaClient
Describe the ideal solution
OpenFgaClient will have get_headers() and get_raw_response() methods that allow users to retrieve the headers and raw response respectively.
Batch Methods such as non transactional write and batch check would have these methods on individual responses.
Alternatives and current workarounds
No response
References
No response
Additional context
No response
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.
Direzione di ricerca
Inizia da OpenFgaClient e segui come vengono rappresentate le sue requests e responses. Controlla i metodi batch, in particolare la scrittura non transazionale e batch check, per determinare come esporre gli headers e le responses grezze sulle singole responses. Il lavoro è completato quando entrambi gli accessor funzionano per le chiamate regolari del client e per le responses batch specificate.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- api
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100