b24api 0.3.7__tar.gz → 0.3.8__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.7/b24api.egg-info → b24api-0.3.8}/PKG-INFO +1 -1
- {b24api-0.3.7 → b24api-0.3.8}/b24api/entity.py +2 -2
- {b24api-0.3.7 → b24api-0.3.8/b24api.egg-info}/PKG-INFO +1 -1
- {b24api-0.3.7 → b24api-0.3.8}/pyproject.toml +1 -1
- {b24api-0.3.7 → b24api-0.3.8}/LICENSE +0 -0
- {b24api-0.3.7 → b24api-0.3.8}/MANIFEST.in +0 -0
- {b24api-0.3.7 → b24api-0.3.8}/README.md +0 -0
- {b24api-0.3.7 → b24api-0.3.8}/b24api/__init__.py +0 -0
- {b24api-0.3.7 → b24api-0.3.8}/b24api/api.py +0 -0
- {b24api-0.3.7 → b24api-0.3.8}/b24api/error.py +0 -0
- {b24api-0.3.7 → b24api-0.3.8}/b24api/query.py +0 -0
- {b24api-0.3.7 → b24api-0.3.8}/b24api/settings.py +0 -0
- {b24api-0.3.7 → b24api-0.3.8}/b24api/transport.py +0 -0
- {b24api-0.3.7 → b24api-0.3.8}/b24api/type.py +0 -0
- {b24api-0.3.7 → b24api-0.3.8}/b24api.egg-info/SOURCES.txt +0 -0
- {b24api-0.3.7 → b24api-0.3.8}/b24api.egg-info/dependency_links.txt +0 -0
- {b24api-0.3.7 → b24api-0.3.8}/b24api.egg-info/requires.txt +0 -0
- {b24api-0.3.7 → b24api-0.3.8}/b24api.egg-info/top_level.txt +0 -0
- {b24api-0.3.7 → b24api-0.3.8}/setup.cfg +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
from datetime import datetime
|
|
2
|
-
from typing import Annotated, Any
|
|
2
|
+
from typing import Annotated, Any
|
|
3
3
|
|
|
4
4
|
from pydantic import BaseModel, BeforeValidator, field_validator
|
|
5
5
|
|
|
@@ -57,7 +57,7 @@ class ErrorResponse(BaseModel):
|
|
|
57
57
|
value = value.lower()
|
|
58
58
|
return value
|
|
59
59
|
|
|
60
|
-
def raise_error(self, retry_errors: list[str]) ->
|
|
60
|
+
def raise_error(self, retry_errors: list[str]) -> None:
|
|
61
61
|
if self.error in retry_errors:
|
|
62
62
|
raise RetryApiResponseError(
|
|
63
63
|
code=self.error,
|
|
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
|