File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 3
3
4
4
from gotrue import (
5
5
AsyncMemoryStorage ,
6
+ AsyncSupportedStorage ,
6
7
AuthFlowType ,
7
8
SyncMemoryStorage ,
8
9
SyncSupportedStorage ,
@@ -96,7 +97,7 @@ def replace(
96
97
97
98
@dataclass
98
99
class AsyncClientOptions (ClientOptions ):
99
- storage : SyncSupportedStorage = field (default_factory = AsyncMemoryStorage )
100
+ storage : AsyncSupportedStorage = field (default_factory = AsyncMemoryStorage )
100
101
"""A storage provider. Used to store the logged in session."""
101
102
102
103
def replace (
@@ -105,7 +106,7 @@ def replace(
105
106
headers : Optional [Dict [str , str ]] = None ,
106
107
auto_refresh_token : Optional [bool ] = None ,
107
108
persist_session : Optional [bool ] = None ,
108
- storage : Optional [SyncSupportedStorage ] = None ,
109
+ storage : Optional [AsyncSupportedStorage ] = None ,
109
110
realtime : Optional [RealtimeClientOptions ] = None ,
110
111
postgrest_client_timeout : Union [
111
112
int , float , Timeout
You can’t perform that action at this time.
0 commit comments