diff --git a/supabase/lib/client_options.py b/supabase/lib/client_options.py index d7079c3d..47498c13 100644 --- a/supabase/lib/client_options.py +++ b/supabase/lib/client_options.py @@ -3,6 +3,7 @@ from gotrue import ( AsyncMemoryStorage, + AsyncSupportedStorage, AuthFlowType, SyncMemoryStorage, SyncSupportedStorage, @@ -96,7 +97,7 @@ def replace( @dataclass class AsyncClientOptions(ClientOptions): - storage: SyncSupportedStorage = field(default_factory=AsyncMemoryStorage) + storage: AsyncSupportedStorage = field(default_factory=AsyncMemoryStorage) """A storage provider. Used to store the logged in session.""" def replace( @@ -105,7 +106,7 @@ def replace( headers: Optional[Dict[str, str]] = None, auto_refresh_token: Optional[bool] = None, persist_session: Optional[bool] = None, - storage: Optional[SyncSupportedStorage] = None, + storage: Optional[AsyncSupportedStorage] = None, realtime: Optional[RealtimeClientOptions] = None, postgrest_client_timeout: Union[ int, float, Timeout