Python SDK should provide a method for users to get the response headers and the raw response
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Python
- Sterne
- 85
- Forks
- 36
- Ø Merge
- 3 Std. 8 Min.
- Gemergte PRs (30 T.)
- 3
Beschreibung
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
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne bei OpenFgaClient und verfolge, wie seine Requests und Responses dargestellt werden. Prüfe die Batch-Methoden, insbesondere nicht-transaktionales Schreiben und Batch-Check, um zu bestimmen, wie Header und rohe Responses für einzelne Responses verfügbar gemacht werden können. Als erledigt gilt die Aufgabe, wenn beide Zugriffsmethoden für reguläre Client-Aufrufe und die angegebenen Batch-Responses funktionieren.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python
- Bereich
- api
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100