Skip to content

Commit f389e77

Browse files
fix: move over syncclient
1 parent 62e73d5 commit f389e77

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

supabase/lib/auth_client.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,12 @@
33
from gotrue import SyncGoTrueClient, SyncMemoryStorage, SyncSupportedStorage
44

55
# TODO - export this from GoTrue-py in next release
6-
from httpx import SyncClient
6+
from httpx import Client as BaseClient
7+
8+
9+
class SyncClient(BaseClient):
10+
def aclose(self) -> None:
11+
self.close()
712

813

914
class SupabaseAuthClient(SyncGoTrueClient):

0 commit comments

Comments
 (0)