supabase-py: setting timeout parameter does not change timeout
Describe the bug
Despite setting a timeout parameter in clientOptions, the query still times out in 5 seconds
To Reproduce
from supabase import create_client, Client
from supabase.lib.client_options import ClientOptions
client_options = ClientOptions(timeout=60)
supabase = create_client(SUPABASE_URL, SUPABASE_ANON_KEY, options=client_options)
Expected behavior The function should now time out after 60 seconds
Screenshots
If applicable, add screenshots to help explain your problem.

Additional context I am running Supabase version 1.0.0
About this issue
- Original URL
- State: open
- Created a year ago
- Reactions: 3
- Comments: 18 (2 by maintainers)
@J0 @kernelguardian Thanks appears to be working for us now
@J0 haven’t touched that project in a while, will update once I get a chance. @devstein check the previous comment -> https://github.com/supabase-community/supabase-py/issues/376#issuecomment-1702061376
Hey all,
We’ve updated the documentation around options - https://supabase.com/docs/reference/python/initializing?example=with-timeout-option
It should work now. Do y’all mind trying again and then letting us know if there are still issues?
Thanks
Hey @J0 I am not sure. The feature seems to be working fine for setting client options, maybe update the documentation if it’s the intended way of setting client options. Thanks
Hey @mohnish7,
The timeout param currently isn’t being passed through - a fix was made but hasn’t been published. I’ll release it sometime this weekend - feel free to bump if you need it sooner