supabase_functions 0.6.1__tar.gz → 0.6.2__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.
@@ -1,15 +1,14 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: supabase_functions
3
- Version: 0.6.1
3
+ Version: 0.6.2
4
4
  Summary: Library for Supabase Functions
5
5
  Home-page: https://github.com/supabase/functions-py
6
6
  License: MIT
7
7
  Author: Joel Lee
8
8
  Author-email: joel@joellee.org
9
- Requires-Python: >=3.8,<4.0
9
+ Requires-Python: >=3.9,<4.0
10
10
  Classifier: License :: OSI Approved :: MIT License
11
11
  Classifier: Programming Language :: Python :: 3
12
- Classifier: Programming Language :: Python :: 3.8
13
12
  Classifier: Programming Language :: Python :: 3.9
14
13
  Classifier: Programming Language :: Python :: 3.10
15
14
  Classifier: Programming Language :: Python :: 3.11
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "supabase_functions"
3
- version = "0.6.1" # {x-release-please-version}
3
+ version = "0.6.2" # {x-release-please-version}
4
4
  description = "Library for Supabase Functions"
5
5
  authors = [
6
6
  "Joel Lee <joel@joellee.org>",
@@ -11,13 +11,13 @@ readme = "README.md"
11
11
  repository = "https://github.com/supabase/functions-py"
12
12
 
13
13
  [tool.poetry.dependencies]
14
- python = "^3.8"
14
+ python = "^3.9"
15
15
  httpx = {version = ">=0.26,<0.28", extras = ["http2"]}
16
16
 
17
17
  [tool.poetry.group.dev.dependencies]
18
18
  black = ">=23.9.1,<25.0.0"
19
19
  isort = "^5.12.0"
20
- pre-commit = "^3.4.0"
20
+ pre-commit = ">=3.4,<5.0"
21
21
  pyjwt = "^2.8.0"
22
22
  pytest = ">=7.4.2,<9.0.0"
23
23
  pytest-cov = ">=4,<6"
@@ -1,6 +1,6 @@
1
1
  from __future__ import annotations
2
2
 
3
- from typing import Literal, Union, overload
3
+ from typing import Literal, Optional, Union, overload
4
4
 
5
5
  from ._async.functions_client import AsyncFunctionsClient
6
6
  from ._sync.functions_client import SyncFunctionsClient
@@ -35,7 +35,7 @@ class AsyncFunctionsClient:
35
35
  self,
36
36
  method: Literal["GET", "OPTIONS", "HEAD", "POST", "PUT", "PATCH", "DELETE"],
37
37
  url: str,
38
- headers: Union[Dict[str, str], None] = None,
38
+ headers: Optional[Dict[str, str]] = None,
39
39
  json: Optional[Dict[Any, Any]] = None,
40
40
  ) -> Response:
41
41
  response = await self._client.request(method, url, json=json, headers=headers)
@@ -35,7 +35,7 @@ class SyncFunctionsClient:
35
35
  self,
36
36
  method: Literal["GET", "OPTIONS", "HEAD", "POST", "PUT", "PATCH", "DELETE"],
37
37
  url: str,
38
- headers: Union[Dict[str, str], None] = None,
38
+ headers: Optional[Dict[str, str]] = None,
39
39
  json: Optional[Dict[Any, Any]] = None,
40
40
  ) -> Response:
41
41
  response = self._client.request(method, url, json=json, headers=headers)
@@ -0,0 +1 @@
1
+ __version__ = "0.6.2" # {x-release-please-version}
@@ -1 +0,0 @@
1
- __version__ = "0.6.1" # {x-release-please-version}