Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add some default headers to wrapped client libs #43

Merged
merged 7 commits into from
Sep 29, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix unexpected keyword arguments
  • Loading branch information
lqmanh committed Aug 27, 2021
commit 70e94965674446399fb52427bc63b6f1c410f281
1 change: 1 addition & 0 deletions supabase_py/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ def _init_postgrest_client(
rest_url: str,
supabase_key: str,
headers: Dict[str, str],
**kwargs, # other unused settings
) -> PostgrestClient:
"""Private helper for creating an instance of the Postgrest client."""
client = PostgrestClient(rest_url, headers=headers)
Expand Down