Skip to content

Commit

Permalink
fix: format code with pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
silentworks committed Nov 23, 2023
1 parent 6097109 commit 9f36f9d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 12 deletions.
3 changes: 1 addition & 2 deletions supabase/_async/auth_client.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
from typing import Dict, Optional

from gotrue import (
AuthFlowType,
AsyncGoTrueClient,
AsyncMemoryStorage,
AsyncSupportedStorage,
AuthFlowType,
)

from gotrue.http_clients import AsyncClient


Expand Down
4 changes: 2 additions & 2 deletions supabase/_async/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
AsyncRequestBuilder,
)
from postgrest.constants import DEFAULT_POSTGREST_CLIENT_TIMEOUT
from storage3.constants import DEFAULT_TIMEOUT as DEFAULT_STORAGE_CLIENT_TIMEOUT
from storage3 import AsyncStorageClient
from storage3.constants import DEFAULT_TIMEOUT as DEFAULT_STORAGE_CLIENT_TIMEOUT
from supafunc import AsyncFunctionsClient

from .auth_client import AsyncSupabaseAuthClient
from ..lib.client_options import ClientOptions
from .auth_client import AsyncSupabaseAuthClient


# Create an exception class when user does not provide a valid url or key.
Expand Down
1 change: 0 additions & 1 deletion supabase/_sync/auth_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
SyncMemoryStorage,
SyncSupportedStorage,
)

from gotrue.http_clients import SyncClient


Expand Down
10 changes: 3 additions & 7 deletions supabase/_sync/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,14 @@
from deprecation import deprecated
from gotrue.types import AuthChangeEvent
from httpx import Timeout
from postgrest import (
SyncFilterRequestBuilder,
SyncPostgrestClient,
SyncRequestBuilder,
)
from postgrest import SyncFilterRequestBuilder, SyncPostgrestClient, SyncRequestBuilder
from postgrest.constants import DEFAULT_POSTGREST_CLIENT_TIMEOUT
from storage3.constants import DEFAULT_TIMEOUT as DEFAULT_STORAGE_CLIENT_TIMEOUT
from storage3 import SyncStorageClient
from storage3.constants import DEFAULT_TIMEOUT as DEFAULT_STORAGE_CLIENT_TIMEOUT
from supafunc import SyncFunctionsClient

from .auth_client import SyncSupabaseAuthClient
from ..lib.client_options import ClientOptions
from .auth_client import SyncSupabaseAuthClient


# Create an exception class when user does not provide a valid url or key.
Expand Down

0 comments on commit 9f36f9d

Please sign in to comment.