-
Notifications
You must be signed in to change notification settings - Fork 180
/
client.py
39 lines (34 loc) · 1.14 KB
/
client.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
from postgrest import APIError as PostgrestAPIError
from postgrest import APIResponse as PostgrestAPIResponse
from storage3.utils import StorageException
# Version
from .__version__ import __version__
# Async Client
from ._async.auth_client import AsyncSupabaseAuthClient
from ._async.client import AsyncClient
from ._async.client import AsyncStorageClient as AsyncSupabaseStorageClient
from ._async.client import create_client as create_async_client
# Sync Client
from ._sync.auth_client import SyncSupabaseAuthClient as SupabaseAuthClient
from ._sync.client import SyncClient as Client
from ._sync.client import SyncStorageClient as SupabaseStorageClient
from ._sync.client import create_client
# Lib
from .lib.client_options import ClientOptions
from .lib.realtime_client import SupabaseRealtimeClient
__all__ = [
"AsyncSupabaseAuthClient",
"create_async_client",
"AsyncClient",
"AsyncSupabaseStorageClient",
"SupabaseAuthClient",
"create_client",
"Client",
"ClientOptions",
"SupabaseStorageClient",
"SupabaseRealtimeClient",
"PostgrestAPIError",
"PostgrestAPIResponse",
"StorageException",
"__version__",
]