openfga / python-sdk

OpenFGA SDK for Python 3 - https://pypi.org/project/openfga-sdk/
https://openfga.dev
Apache License 2.0
29 stars 10 forks source link

Python SDK should provide a method for users to get the response headers and the raw response #74

Open rhamzeh opened 3 months ago

rhamzeh commented 3 months ago

Checklist

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