Skip to content

Commit

Permalink
fix: remove fetch from clientoptions
Browse files Browse the repository at this point in the history
  • Loading branch information
anand2312 authored Jun 27, 2023
1 parent 8ee264e commit 9168caa
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions supabase/lib/client_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@ class ClientOptions:
realtime: Optional[Dict[str, Any]] = None
"""Options passed to the realtime-py instance"""

fetch: Optional[Callable] = None
"""A custom `fetch` implementation."""

postgrest_client_timeout: Union[
int, float, Timeout
] = DEFAULT_POSTGREST_CLIENT_TIMEOUT
Expand All @@ -53,7 +50,6 @@ def replace(
persist_session: Optional[bool] = None,
storage: Optional[SyncSupportedStorage] = None,
realtime: Optional[Dict[str, Any]] = None,
fetch: Optional[Callable] = None,
postgrest_client_timeout: Union[
int, float, Timeout
] = DEFAULT_POSTGREST_CLIENT_TIMEOUT,
Expand All @@ -71,7 +67,6 @@ def replace(
client_options.persist_session = persist_session or self.persist_session
client_options.storage = storage or self.storage
client_options.realtime = realtime or self.realtime
client_options.fetch = fetch or self.fetch
client_options.postgrest_client_timeout = (
postgrest_client_timeout or self.postgrest_client_timeout
)
Expand Down

0 comments on commit 9168caa

Please sign in to comment.