b24api 0.3.5__tar.gz → 0.3.7__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,8 +1,8 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: b24api
3
- Version: 0.3.5
3
+ Version: 0.3.7
4
4
  Summary: Bitrix24 API
5
- Requires-Python: >=3.11
5
+ Requires-Python: >=3.10
6
6
  Description-Content-Type: text/markdown
7
7
  License-File: LICENSE
8
8
  Requires-Dist: fast-depends>=2.4.12
@@ -54,7 +54,7 @@ class Bitrix24:
54
54
  http_response = self.client.post(
55
55
  f"{self.settings.webhook_url}{request.method}",
56
56
  headers={"Content-Type": "application/json"},
57
- json=request.model_dump()["parameters"],
57
+ json=request.model_dump(mode="json")["parameters"],
58
58
  )
59
59
 
60
60
  with contextlib.suppress(httpx.ResponseNotRead, json.JSONDecodeError, ValidationError):
@@ -1,8 +1,8 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: b24api
3
- Version: 0.3.5
3
+ Version: 0.3.7
4
4
  Summary: Bitrix24 API
5
- Requires-Python: >=3.11
5
+ Requires-Python: >=3.10
6
6
  Description-Content-Type: text/markdown
7
7
  License-File: LICENSE
8
8
  Requires-Dist: fast-depends>=2.4.12
@@ -5,10 +5,10 @@ build-backend = "setuptools.build_meta"
5
5
 
6
6
  [project]
7
7
  name = "b24api"
8
- version = "0.3.5"
8
+ version = "0.3.7"
9
9
  description = "Bitrix24 API"
10
10
  readme = "README.md"
11
- requires-python = ">=3.11"
11
+ requires-python = ">=3.10"
12
12
  dependencies = [
13
13
  "fast-depends>=2.4.12",
14
14
  "httpx[http2]>=0.28.1",
@@ -28,7 +28,7 @@ dev = [
28
28
  fix = true
29
29
  unsafe-fixes = true
30
30
  line-length = 120
31
- target-version = "py311"
31
+ target-version = "py310"
32
32
 
33
33
  [tool.ruff.format]
34
34
  docstring-code-format = true
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes