Skip to content

Commit

Permalink
fix: move over syncclient
Browse files Browse the repository at this point in the history
  • Loading branch information
joel@joellee.org committed Feb 5, 2023
1 parent 62e73d5 commit f389e77
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion supabase/lib/auth_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@
from gotrue import SyncGoTrueClient, SyncMemoryStorage, SyncSupportedStorage

# TODO - export this from GoTrue-py in next release
from httpx import SyncClient
from httpx import Client as BaseClient


class SyncClient(BaseClient):
def aclose(self) -> None:
self.close()


class SupabaseAuthClient(SyncGoTrueClient):
Expand Down

0 comments on commit f389e77

Please sign in to comment.