supabase_functions 0.4.6__tar.gz → 0.5.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-0.4.6 → supabase_functions-0.5.0}/PKG-INFO +2 -2
- {supabase_functions-0.4.6 → supabase_functions-0.5.0}/pyproject.toml +2 -2
- {supabase_functions-0.4.6 → supabase_functions-0.5.0}/supabase_functions/_async/functions_client.py +3 -1
- {supabase_functions-0.4.6 → supabase_functions-0.5.0}/supabase_functions/_sync/functions_client.py +3 -1
- {supabase_functions-0.4.6 → supabase_functions-0.5.0}/supabase_functions/utils.py +3 -1
- {supabase_functions-0.4.6 → supabase_functions-0.5.0}/LICENSE +0 -0
- {supabase_functions-0.4.6 → supabase_functions-0.5.0}/README.md +0 -0
- {supabase_functions-0.4.6 → supabase_functions-0.5.0}/supabase_functions/__init__.py +0 -0
- {supabase_functions-0.4.6 → supabase_functions-0.5.0}/supabase_functions/_async/__init__.py +0 -0
- {supabase_functions-0.4.6 → supabase_functions-0.5.0}/supabase_functions/_sync/__init__.py +0 -0
- {supabase_functions-0.4.6 → supabase_functions-0.5.0}/supabase_functions/errors.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: supabase_functions
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.5.0
|
|
4
4
|
Summary: Library for Supabase Functions
|
|
5
5
|
Home-page: https://github.com/supabase-community/functions-py
|
|
6
6
|
License: MIT
|
|
@@ -14,7 +14,7 @@ Classifier: Programming Language :: Python :: 3.9
|
|
|
14
14
|
Classifier: Programming Language :: Python :: 3.10
|
|
15
15
|
Classifier: Programming Language :: Python :: 3.11
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.12
|
|
17
|
-
Requires-Dist: httpx (>=0.24,<0.28)
|
|
17
|
+
Requires-Dist: httpx[http2] (>=0.24,<0.28)
|
|
18
18
|
Project-URL: Repository, https://github.com/supabase-community/functions-py
|
|
19
19
|
Description-Content-Type: text/markdown
|
|
20
20
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "supabase_functions"
|
|
3
|
-
version = "0.
|
|
3
|
+
version = "0.5.0"
|
|
4
4
|
description = "Library for Supabase Functions"
|
|
5
5
|
authors = [
|
|
6
6
|
"Joel Lee <joel@joellee.org>",
|
|
@@ -12,7 +12,7 @@ repository = "https://github.com/supabase-community/functions-py"
|
|
|
12
12
|
|
|
13
13
|
[tool.poetry.dependencies]
|
|
14
14
|
python = "^3.8"
|
|
15
|
-
httpx =
|
|
15
|
+
httpx = {version = ">=0.24,<0.28", extras = ["http2"]}
|
|
16
16
|
|
|
17
17
|
[tool.poetry.group.dev.dependencies]
|
|
18
18
|
python-semantic-release = ">=8.1.1,<10.0.0"
|
{supabase_functions-0.4.6 → supabase_functions-0.5.0}/supabase_functions/_async/functions_client.py
RENAMED
|
@@ -7,7 +7,7 @@ from ..utils import AsyncClient, __version__
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
class AsyncFunctionsClient:
|
|
10
|
-
def __init__(self, url: str, headers: Dict, verify: bool = True):
|
|
10
|
+
def __init__(self, url: str, headers: Dict, timeout: int, verify: bool = True):
|
|
11
11
|
self.url = url
|
|
12
12
|
self.headers = {
|
|
13
13
|
"User-Agent": f"supabase-py/functions-py v{__version__}",
|
|
@@ -17,7 +17,9 @@ class AsyncFunctionsClient:
|
|
|
17
17
|
base_url=self.url,
|
|
18
18
|
headers=self.headers,
|
|
19
19
|
verify=bool(verify),
|
|
20
|
+
timeout=timeout,
|
|
20
21
|
follow_redirects=True,
|
|
22
|
+
http2=True,
|
|
21
23
|
)
|
|
22
24
|
|
|
23
25
|
async def _request(
|
{supabase_functions-0.4.6 → supabase_functions-0.5.0}/supabase_functions/_sync/functions_client.py
RENAMED
|
@@ -7,7 +7,7 @@ from ..utils import SyncClient, __version__
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
class SyncFunctionsClient:
|
|
10
|
-
def __init__(self, url: str, headers: Dict, verify: bool = True):
|
|
10
|
+
def __init__(self, url: str, headers: Dict, timeout: int, verify: bool = True):
|
|
11
11
|
self.url = url
|
|
12
12
|
self.headers = {
|
|
13
13
|
"User-Agent": f"supabase-py/functions-py v{__version__}",
|
|
@@ -17,7 +17,9 @@ class SyncFunctionsClient:
|
|
|
17
17
|
base_url=self.url,
|
|
18
18
|
headers=self.headers,
|
|
19
19
|
verify=bool(verify),
|
|
20
|
+
timeout=timeout,
|
|
20
21
|
follow_redirects=True,
|
|
22
|
+
http2=True,
|
|
21
23
|
)
|
|
22
24
|
|
|
23
25
|
def _request(
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|