Skip to content

Commit 754bc06

Browse files
committed
ran isort and black
First time contributing to an open source project, so please let me know if anything is wrong. I ran isort and black as requested by J0
1 parent 258ddf1 commit 754bc06

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

supabase/client.py

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
from .lib.client_options import ClientOptions
99
from .lib.storage_client import SupabaseStorageClient
1010

11+
1112
class Client:
1213
"""Supabase client class."""
1314

@@ -153,14 +154,16 @@ def _init_supabase_auth_client(
153154

154155
@staticmethod
155156
def _init_postgrest_client(
156-
rest_url: str,
157-
supabase_key: str,
158-
headers: Dict[str, str],
157+
rest_url: str,
158+
supabase_key: str,
159+
headers: Dict[str, str],
159160
schema: str,
160-
timeout: Union[int, float, Timeout] = DEFAULT_POSTGREST_CLIENT_TIMEOUT
161+
timeout: Union[int, float, Timeout] = DEFAULT_POSTGREST_CLIENT_TIMEOUT,
161162
) -> SyncPostgrestClient:
162163
"""Private helper for creating an instance of the Postgrest client."""
163-
client = SyncPostgrestClient(rest_url, headers=headers, schema=schema, timeout=timeout)
164+
client = SyncPostgrestClient(
165+
rest_url, headers=headers, schema=schema, timeout=timeout
166+
)
164167
client.auth(token=supabase_key)
165168
return client
166169

supabase/lib/client_options.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def replace(
4848
local_storage: Optional[SyncSupportedStorage] = None,
4949
realtime: Optional[Dict[str, Any]] = None,
5050
fetch: Optional[Callable] = None,
51-
timeout: Union[int, float, Timeout] = DEFAULT_POSTGREST_CLIENT_TIMEOUT
51+
timeout: Union[int, float, Timeout] = DEFAULT_POSTGREST_CLIENT_TIMEOUT,
5252
) -> "ClientOptions":
5353
"""Create a new SupabaseClientOptions with changes"""
5454
client_options = ClientOptions()

0 commit comments

Comments
 (0)