openfga / python-sdk

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

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

Open rhamzeh opened 9 months ago

rhamzeh commented 9 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

gagandeepp commented 1 month ago

Interested @rhamzeh Please assign

ewanharris commented 1 month ago

👋🏻 Thanks for the offer @gagandeepp. Sorry about this, we feel this issue isn't well defined for hacktoberfest as it requires some planning for how we exposed this across all SDKs.

We've specifically labelled issues that we're looking for help with with the hacktoberfest or good first issue labels if you'd like to take a look through.