Skip to content

Commit 8b9cf6a

Browse files
Change implementation
1 parent 4b172df commit 8b9cf6a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

supabase/lib/client_options.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
from httpx import Timeout
66
from postgrest.constants import DEFAULT_POSTGREST_CLIENT_TIMEOUT
77
from storage3.constants import DEFAULT_TIMEOUT as DEFAULT_STORAGE_CLIENT_TIMEOUT
8+
from supafunc.utils import DEFAULT_FUNCTION_CLIENT_TIMEOUT
89

910
from supabase import __version__
1011

@@ -42,6 +43,9 @@ class ClientOptions:
4243
storage_client_timeout: Union[int, float, Timeout] = DEFAULT_STORAGE_CLIENT_TIMEOUT
4344
"""Timeout passed to the SyncStorageClient instance"""
4445

46+
function_client_timeout: Union[int, float, Timeout] = DEFAULT_FUNCTION_CLIENT_TIMEOUT
47+
"""Timeout passed to the SyncFunctionsClient instance."""
48+
4549
flow_type: AuthFlowType = "implicit"
4650
"""flow type to use for authentication"""
4751

0 commit comments

Comments
 (0)