supabase_functions 2.19.0__tar.gz → 2.20.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {supabase_functions-2.19.0 → supabase_functions-2.20.0}/PKG-INFO +1 -1
- {supabase_functions-2.19.0 → supabase_functions-2.20.0}/pyproject.toml +5 -2
- {supabase_functions-2.19.0 → supabase_functions-2.20.0}/src/supabase_functions/_async/functions_client.py +5 -3
- {supabase_functions-2.19.0 → supabase_functions-2.20.0}/src/supabase_functions/_sync/functions_client.py +5 -3
- supabase_functions-2.20.0/src/supabase_functions/py.typed +0 -0
- supabase_functions-2.20.0/src/supabase_functions/version.py +1 -0
- supabase_functions-2.19.0/src/supabase_functions/version.py +0 -1
- {supabase_functions-2.19.0 → supabase_functions-2.20.0}/README.md +0 -0
- {supabase_functions-2.19.0 → supabase_functions-2.20.0}/src/supabase_functions/__init__.py +0 -0
- {supabase_functions-2.19.0 → supabase_functions-2.20.0}/src/supabase_functions/_async/__init__.py +0 -0
- {supabase_functions-2.19.0 → supabase_functions-2.20.0}/src/supabase_functions/_sync/__init__.py +0 -0
- {supabase_functions-2.19.0 → supabase_functions-2.20.0}/src/supabase_functions/errors.py +0 -0
- {supabase_functions-2.19.0 → supabase_functions-2.20.0}/src/supabase_functions/utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "supabase_functions"
|
|
3
|
-
version = "2.
|
|
3
|
+
version = "2.20.0" # {x-release-please-version}
|
|
4
4
|
description = "Library for Supabase Functions"
|
|
5
5
|
authors = [
|
|
6
6
|
{ name = "Joel Lee", email = "joel@joellee.org" },
|
|
@@ -32,7 +32,10 @@ tests = [
|
|
|
32
32
|
lints = [
|
|
33
33
|
"unasync>=0.6.0",
|
|
34
34
|
"ruff >=0.12.1",
|
|
35
|
-
"pre-commit >=3.4,<5.0"
|
|
35
|
+
"pre-commit >=3.4,<5.0",
|
|
36
|
+
"python-lsp-server (>=1.12.2,<2.0.0)",
|
|
37
|
+
"pylsp-mypy (>=0.7.0,<0.8.0)",
|
|
38
|
+
"python-lsp-ruff (>=2.2.2,<3.0.0)",
|
|
36
39
|
]
|
|
37
40
|
dev = [{ include-group = "lints" }, {include-group = "tests" }]
|
|
38
41
|
|
|
@@ -74,9 +74,11 @@ class AsyncFunctionsClient:
|
|
|
74
74
|
headers: Optional[Dict[str, str]] = None,
|
|
75
75
|
json: Optional[Dict[Any, Any]] = None,
|
|
76
76
|
) -> Response:
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
77
|
+
response = (
|
|
78
|
+
await self._client.request(method, url, data=json, headers=headers)
|
|
79
|
+
if isinstance(json, str)
|
|
80
|
+
else await self._client.request(method, url, json=json, headers=headers)
|
|
81
|
+
)
|
|
80
82
|
try:
|
|
81
83
|
response.raise_for_status()
|
|
82
84
|
except HTTPError as exc:
|
|
@@ -74,9 +74,11 @@ class SyncFunctionsClient:
|
|
|
74
74
|
headers: Optional[Dict[str, str]] = None,
|
|
75
75
|
json: Optional[Dict[Any, Any]] = None,
|
|
76
76
|
) -> Response:
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
77
|
+
response = (
|
|
78
|
+
self._client.request(method, url, data=json, headers=headers)
|
|
79
|
+
if isinstance(json, str)
|
|
80
|
+
else self._client.request(method, url, json=json, headers=headers)
|
|
81
|
+
)
|
|
80
82
|
try:
|
|
81
83
|
response.raise_for_status()
|
|
82
84
|
except HTTPError as exc:
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "2.20.0" # {x-release-please-version}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "2.19.0" # {x-release-please-version}
|
|
File without changes
|
|
File without changes
|
{supabase_functions-2.19.0 → supabase_functions-2.20.0}/src/supabase_functions/_async/__init__.py
RENAMED
|
File without changes
|
{supabase_functions-2.19.0 → supabase_functions-2.20.0}/src/supabase_functions/_sync/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|