Skip to content

Commit 1cfc1e2

Browse files
committed
update kwargs
1 parent 014882d commit 1cfc1e2

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

Diff for: supabase_py/client.py

+5-8
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"schema": "public",
1111
"auto_refresh_token": True,
1212
"persist_session": True,
13-
"detect_session_url": True,
13+
"detect_session_in_url": True,
1414
"local_storage": {},
1515
}
1616

@@ -143,19 +143,17 @@ def _init_realtime_client(
143143
def _init_supabase_auth_client(
144144
auth_url: str,
145145
supabase_key: str,
146-
detect_session_url: bool,
146+
detect_session_in_url: bool,
147147
auto_refresh_token: bool,
148148
persist_session: bool,
149149
local_storage: Dict[str, Any],
150150
headers: Dict[str, str],
151151
) -> SupabaseAuthClient:
152-
"""
153-
Private helper method for creating a wrapped instance of the GoTrue Client.
154-
"""
152+
"""Creates a wrapped instance of the GoTrue Client."""
155153
return SupabaseAuthClient(
156-
auth_url=auth_url,
154+
url=auth_url,
157155
auto_refresh_token=auto_refresh_token,
158-
detect_session_url=detect_session_url,
156+
detect_session_in_url=detect_session_in_url,
159157
persist_session=persist_session,
160158
local_storage=local_storage,
161159
headers=headers,
@@ -204,4 +202,3 @@ def create_client(supabase_url: str, supabase_key: str, **options) -> Client:
204202
Client
205203
"""
206204
return Client(supabase_url=supabase_url, supabase_key=supabase_key, **options)
207-

0 commit comments

Comments
 (0)