-
-
Notifications
You must be signed in to change notification settings - Fork 205
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bf252a2
commit ed292a6
Showing
1 changed file
with
33 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,66 @@ | ||
from gotrue.errors import ( | ||
AuthApiError, | ||
AuthError, | ||
AuthImplicitGrantRedirectError, | ||
AuthInvalidCredentialsError, | ||
AuthRetryableError, | ||
AuthSessionMissingError, | ||
AuthUnknownError, | ||
AuthWeakPasswordError, | ||
) | ||
from postgrest import APIError as PostgrestAPIError | ||
from postgrest import APIResponse as PostgrestAPIResponse | ||
from realtime import AuthorizationError, NotConnectedError | ||
from storage3.utils import StorageException | ||
from supafunc.errors import FunctionsError, FunctionsHttpError, FunctionsRelayError | ||
|
||
# Async Client | ||
from ._async.auth_client import AsyncSupabaseAuthClient as ASupabaseAuthClient | ||
from ._async.client import AsyncClient as AClient | ||
from ._async.client import AsyncStorageClient as ASupabaseStorageClient | ||
from ._async.client import ClientOptions as AClientOptions | ||
from ._async.client import create_client as acreate_client | ||
from ._async.client import create_client as create_async_client | ||
|
||
# Sync Client | ||
from ._sync.auth_client import SyncSupabaseAuthClient as SupabaseAuthClient | ||
from ._sync.client import ClientOptions | ||
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 | ||
|
||
# Version | ||
from .version import __version__ | ||
|
||
__all__ = [ | ||
"acreate_client", | ||
"create_async_client", | ||
"AClient", | ||
"ASupabaseAuthClient", | ||
"ASupabaseStorageClient", | ||
"AClientOptions", | ||
"create_client", | ||
"Client", | ||
"SupabaseAuthClient", | ||
"SupabaseStorageClient", | ||
"ClientOptions", | ||
"PostgrestAPIError", | ||
"PostgrestAPIResponse", | ||
"StorageException", | ||
"version", | ||
"__version__", | ||
"AuthApiError", | ||
"AuthError", | ||
"AuthImplicitGrantRedirectError", | ||
"AuthInvalidCredentialsError", | ||
"AuthRetryableError", | ||
"AuthSessionMissingError", | ||
"AuthWeakPasswordError", | ||
"AuthUnknownError", | ||
"FunctionsHttpError", | ||
"FunctionsRelayError", | ||
"FunctionsError", | ||
"AuthorizationError", | ||
"NotConnectedError", | ||
] |