b24api 0.3.6__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.
@@ -1,8 +1,8 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: b24api
3
- Version: 0.3.6
3
+ Version: 0.3.8
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
@@ -1,5 +1,5 @@
1
1
  from datetime import datetime
2
- from typing import Annotated, Any, Self
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]) -> Self:
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,
@@ -1,8 +1,8 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: b24api
3
- Version: 0.3.6
3
+ Version: 0.3.8
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.6"
8
+ version = "0.3.8"
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