Python SDK should provide a method for users to get the response headers and the raw response
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 85
- Forks
- 36
- Avg merge
- 3h 8m
- Merged PRs (30d)
- 3
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at OpenFgaClient and trace how its requests and responses are represented. Check the batch methods, especially non-transactional write and batch check, to determine how headers and raw responses can be exposed on individual responses. Done means both accessors work for regular client calls and the specified batch responses.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100