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
Show file tree
Hide file tree
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 missing black as a dev dependency
  • Loading branch information
lqmanh committed Aug 27, 2021
commit f2e9ce0db342bc3e01482e6da2f239ee142f2cd0
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ requests = "2.25.1"

[tool.poetry.dev-dependencies]
pre_commit = "^2.1.0"
black = "^21.7b0"

[build-system]
requires = ["poetry>=0.12", "setuptools>=30.3.0,<50"]
Expand Down
4 changes: 1 addition & 3 deletions supabase_py/lib/constants.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from supabase_py import __version__

DEFAULT_HEADERS = {
'X-Client-Info': f'supabase-py/{__version__}'
}
DEFAULT_HEADERS = {"X-Client-Info": f"supabase-py/{__version__}"}