b24api 0.7.0__tar.gz → 0.7.1__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.7.0/b24api.egg-info → b24api-0.7.1}/PKG-INFO +1 -1
- {b24api-0.7.0 → b24api-0.7.1}/b24api/async_api.py +2 -2
- {b24api-0.7.0 → b24api-0.7.1}/b24api/error.py +3 -3
- {b24api-0.7.0 → b24api-0.7.1/b24api.egg-info}/PKG-INFO +1 -1
- {b24api-0.7.0 → b24api-0.7.1}/LICENSE +0 -0
- {b24api-0.7.0 → b24api-0.7.1}/MANIFEST.in +0 -0
- {b24api-0.7.0 → b24api-0.7.1}/README.md +0 -0
- {b24api-0.7.0 → b24api-0.7.1}/b24api/__init__.py +0 -0
- {b24api-0.7.0 → b24api-0.7.1}/b24api/base_api.py +0 -0
- {b24api-0.7.0 → b24api-0.7.1}/b24api/entity.py +0 -0
- {b24api-0.7.0 → b24api-0.7.1}/b24api/query.py +0 -0
- {b24api-0.7.0 → b24api-0.7.1}/b24api/settings.py +0 -0
- {b24api-0.7.0 → b24api-0.7.1}/b24api/sync_api.py +0 -0
- {b24api-0.7.0 → b24api-0.7.1}/b24api/type.py +0 -0
- {b24api-0.7.0 → b24api-0.7.1}/b24api.egg-info/SOURCES.txt +0 -0
- {b24api-0.7.0 → b24api-0.7.1}/b24api.egg-info/dependency_links.txt +0 -0
- {b24api-0.7.0 → b24api-0.7.1}/b24api.egg-info/requires.txt +0 -0
- {b24api-0.7.0 → b24api-0.7.1}/b24api.egg-info/top_level.txt +0 -0
- {b24api-0.7.0 → b24api-0.7.1}/pyproject.toml +0 -0
- {b24api-0.7.0 → b24api-0.7.1}/setup.cfg +0 -0
|
@@ -71,8 +71,8 @@ class AsyncBitrix24(BaseBitrix24):
|
|
|
71
71
|
async def _batch_common_body(
|
|
72
72
|
self,
|
|
73
73
|
requests: tuple[Request | dict | tuple[Request | dict, Any], ...],
|
|
74
|
-
list_method: bool = False,
|
|
75
|
-
with_payload: bool = False,
|
|
74
|
+
list_method: bool = False, # noqa: FBT001, FBT002
|
|
75
|
+
with_payload: bool = False, # noqa: FBT001, FBT002
|
|
76
76
|
) -> AsyncGenerator[ApiTypes | tuple[ApiTypes, Any]]:
|
|
77
77
|
if with_payload:
|
|
78
78
|
batched_requests, batched_payloads = zip(*requests, strict=True)
|
|
@@ -10,11 +10,11 @@ class ApiResponseError(Exception):
|
|
|
10
10
|
|
|
11
11
|
def __init__(self, *, code: str, description: str | None, request: str) -> None:
|
|
12
12
|
if code and description:
|
|
13
|
-
message = f"API error [{code}]: {description} for
|
|
13
|
+
message = f"API error [{code}]: {description} for <Request {request}>"
|
|
14
14
|
elif code:
|
|
15
|
-
message = f"API error [{code}] for
|
|
15
|
+
message = f"API error [{code}] for <Request {request}>"
|
|
16
16
|
else:
|
|
17
|
-
message = f"API error: {description} for
|
|
17
|
+
message = f"API error: {description} for <Request {request}>"
|
|
18
18
|
super().__init__(message)
|
|
19
19
|
|
|
20
20
|
|
|
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
|
|
File without changes
|