b24api 0.3.0__tar.gz → 0.3.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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: b24api
3
- Version: 0.3.0
3
+ Version: 0.3.1
4
4
  Summary: Bitrix24 API
5
5
  Requires-Python: >=3.11
6
6
  Description-Content-Type: text/markdown
@@ -40,7 +40,7 @@ class Bitrix24:
40
40
  """Call any method and return full response."""
41
41
  request = Request.model_validate(request)
42
42
 
43
- self.logger.debug("Sending request", extra={"request": request})
43
+ self.logger.debug("Sending request: %s", request)
44
44
 
45
45
  http_response = self.client.post(
46
46
  f"{self.settings.webhook_url}{request.method}",
@@ -67,16 +67,7 @@ class Bitrix24:
67
67
 
68
68
  response = Response.model_validate(json_response)
69
69
 
70
- self.logger.debug("Received response", extra={"request": request, "response": response})
71
- self.logger.info(
72
- "Received response",
73
- extra={
74
- "method": request.method,
75
- "duration": response.time.duration,
76
- "processing": response.time.processing,
77
- "operating": response.time.operating,
78
- },
79
- )
70
+ self.logger.debug("Received response: %s", response)
80
71
 
81
72
  return response
82
73
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: b24api
3
- Version: 0.3.0
3
+ Version: 0.3.1
4
4
  Summary: Bitrix24 API
5
5
  Requires-Python: >=3.11
6
6
  Description-Content-Type: text/markdown
@@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
5
5
 
6
6
  [project]
7
7
  name = "b24api"
8
- version = "0.3.0"
8
+ version = "0.3.1"
9
9
  description = "Bitrix24 API"
10
10
  readme = "README.md"
11
11
  requires-python = ">=3.11"
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