b24api 0.3.8__tar.gz → 0.3.9__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.
- {b24api-0.3.8/b24api.egg-info → b24api-0.3.9}/PKG-INFO +1 -1
- {b24api-0.3.8 → b24api-0.3.9}/b24api/api.py +3 -3
- {b24api-0.3.8 → b24api-0.3.9/b24api.egg-info}/PKG-INFO +1 -1
- {b24api-0.3.8 → b24api-0.3.9}/pyproject.toml +11 -2
- {b24api-0.3.8 → b24api-0.3.9}/LICENSE +0 -0
- {b24api-0.3.8 → b24api-0.3.9}/MANIFEST.in +0 -0
- {b24api-0.3.8 → b24api-0.3.9}/README.md +0 -0
- {b24api-0.3.8 → b24api-0.3.9}/b24api/__init__.py +0 -0
- {b24api-0.3.8 → b24api-0.3.9}/b24api/entity.py +0 -0
- {b24api-0.3.8 → b24api-0.3.9}/b24api/error.py +0 -0
- {b24api-0.3.8 → b24api-0.3.9}/b24api/query.py +0 -0
- {b24api-0.3.8 → b24api-0.3.9}/b24api/settings.py +0 -0
- {b24api-0.3.8 → b24api-0.3.9}/b24api/transport.py +0 -0
- {b24api-0.3.8 → b24api-0.3.9}/b24api/type.py +0 -0
- {b24api-0.3.8 → b24api-0.3.9}/b24api.egg-info/SOURCES.txt +0 -0
- {b24api-0.3.8 → b24api-0.3.9}/b24api.egg-info/dependency_links.txt +0 -0
- {b24api-0.3.8 → b24api-0.3.9}/b24api.egg-info/requires.txt +0 -0
- {b24api-0.3.8 → b24api-0.3.9}/b24api.egg-info/top_level.txt +0 -0
- {b24api-0.3.8 → b24api-0.3.9}/setup.cfg +0 -0
|
@@ -6,6 +6,7 @@ from functools import partial
|
|
|
6
6
|
from itertools import chain, islice
|
|
7
7
|
from operator import itemgetter
|
|
8
8
|
|
|
9
|
+
import h2.exceptions
|
|
9
10
|
import httpx
|
|
10
11
|
from fast_depends import inject
|
|
11
12
|
from pydantic import ValidationError
|
|
@@ -27,9 +28,8 @@ class Bitrix24:
|
|
|
27
28
|
retry_ = partial(
|
|
28
29
|
retry,
|
|
29
30
|
exceptions=(
|
|
30
|
-
httpx.
|
|
31
|
-
|
|
32
|
-
httpx.RemoteProtocolError,
|
|
31
|
+
httpx.TransportError,
|
|
32
|
+
h2.exceptions.ProtocolError,
|
|
33
33
|
RetryHTTPStatusError,
|
|
34
34
|
RetryApiResponseError,
|
|
35
35
|
),
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
[build-system]
|
|
2
|
-
requires = [
|
|
2
|
+
requires = [
|
|
3
|
+
"setuptools>=41",
|
|
4
|
+
"wheel",
|
|
5
|
+
"setuptools-git-versioning>=2.0,<3"
|
|
6
|
+
]
|
|
3
7
|
build-backend = "setuptools.build_meta"
|
|
4
8
|
|
|
9
|
+
[tool.setuptools-git-versioning]
|
|
10
|
+
enabled = true
|
|
5
11
|
|
|
6
12
|
[project]
|
|
7
13
|
name = "b24api"
|
|
8
|
-
|
|
14
|
+
dynamic = ["version"]
|
|
9
15
|
description = "Bitrix24 API"
|
|
10
16
|
readme = "README.md"
|
|
11
17
|
requires-python = ">=3.10"
|
|
@@ -22,6 +28,9 @@ dev = [
|
|
|
22
28
|
"pytest-env>=1.1.5",
|
|
23
29
|
"pytest-httpx>=0.35.0",
|
|
24
30
|
"pytest-mock>=3.14.0",
|
|
31
|
+
"setuptools>=80.9.0",
|
|
32
|
+
"setuptools-git-versioning>=2.1.0",
|
|
33
|
+
"wheel>=0.45.1",
|
|
25
34
|
]
|
|
26
35
|
|
|
27
36
|
[tool.ruff]
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|