We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OpenFgaApi methods support passing in a _request_timeout:
_request_timeout
python-sdk/openfga_sdk/sync/open_fga_api.py
Lines 64 to 67 in e82545e
However the options_to_kwargs
options_to_kwargs
python-sdk/openfga_sdk/sync/client/client.py
Lines 92 to 106 in e82545e
A user should be able to set the request timeout on a method.
Note that instead of just allowing passing in _request_timeout per method, this should be done like in the Java SDK.
Users should be able to configure a default timeout in the Configuration/ClientConfiguration, and override it per method.
Example in Java: https://github.com/openfga/java-sdk/blob/b1e03e523c530824f5921313c2191dc5f6d93af8/src/main/java/dev/openfga/sdk/api/configuration/BaseConfiguration.java#L22-L24
.
v0.6.1
N/A
No response
https://cloud-native.slack.com/archives/C06G1NNH47N/p1723022081318009
The text was updated successfully, but these errors were encountered:
I'd like to pick this up 😀 Nevermind I see there is a PR for this already 👍
Sorry, something went wrong.
No branches or pull requests
Checklist
Description
OpenFgaApi methods support passing in a
_request_timeout
:python-sdk/openfga_sdk/sync/open_fga_api.py
Lines 64 to 67 in e82545e
However the
options_to_kwargs
python-sdk/openfga_sdk/sync/client/client.py
Lines 92 to 106 in e82545e
Expectation
A user should be able to set the request timeout on a method.
Note that instead of just allowing passing in
_request_timeout
per method, this should be done like in the Java SDK.Users should be able to configure a default timeout in the Configuration/ClientConfiguration, and override it per method.
Example in Java: https://github.com/openfga/java-sdk/blob/b1e03e523c530824f5921313c2191dc5f6d93af8/src/main/java/dev/openfga/sdk/api/configuration/BaseConfiguration.java#L22-L24
Reproduction
.
OpenFGA SDK version
v0.6.1
OpenFGA version
N/A
SDK Configuration
N/A
Logs
No response
References
https://cloud-native.slack.com/archives/C06G1NNH47N/p1723022081318009
The text was updated successfully, but these errors were encountered: