qena-shared-lib 0.1.22__py3-none-any.whl → 0.1.23__py3-none-any.whl

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.
@@ -94,20 +94,12 @@ class HTTPServiceExceptionHandler(
94
94
 
95
95
  if exception.response_code is not None:
96
96
  content["code"] = exception.response_code
97
- str_response_code = str(exception.response_code)
98
- extra["responseCode"] = str_response_code
99
-
100
- tags.append(str_response_code)
101
97
 
102
98
  if exception.corrective_action is not None:
103
99
  content["correctiveAction"] = exception.corrective_action
104
100
 
105
101
  if exception.status_code is not None:
106
102
  status_code = exception.status_code
107
- str_status_code = str(status_code)
108
- extra["statusCode"] = str_status_code
109
-
110
- tags.append(str_status_code)
111
103
 
112
104
  if exception.headers is not None:
113
105
  headers = exception.headers
@@ -33,8 +33,8 @@ from .alias import CamelCaseAliasedBaseModel
33
33
  from .logging import LoggerFactory
34
34
 
35
35
  __all__ = [
36
- "AggregatedDocument",
37
36
  "ASCENDING",
37
+ "AggregatedDocument",
38
38
  "AsyncClientSession",
39
39
  "DESCENDING",
40
40
  "Document",
@@ -47,6 +47,7 @@ __all__ = [
47
47
  "IndexModel",
48
48
  "MongoDBManager",
49
49
  "MongoDBObjectId",
50
+ "ObjectId",
50
51
  "ProjectedDocument",
51
52
  "RepositoryBase",
52
53
  "TEXT",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: qena-shared-lib
3
- Version: 0.1.22
3
+ Version: 0.1.23
4
4
  Summary: A shared tools for other services
5
5
  Requires-Dist: fastapi[all]==0.115.6
6
6
  Requires-Dist: prometheus-client==0.21.1
@@ -12,7 +12,7 @@ qena_shared_lib/exception_handling.py,sha256=oiPVaxD74y-dbB8hJsncPNd-Fphot60Q60t
12
12
  qena_shared_lib/exceptions.py,sha256=pByxZnxesxLVyHF2ARd0C0ioWLYZZVOtxPytJnF5EDo,14567
13
13
  qena_shared_lib/http/__init__.py,sha256=F6CqzPsRx55fa5ozRkk2lSNJu28KPw9uI8zQwoo4lVU,2055
14
14
  qena_shared_lib/http/_base.py,sha256=5jPAjiDmJIxjtMdhxNHpcTM_xbXC5eBMvy3U0tpB25Q,25199
15
- qena_shared_lib/http/_exception_handlers.py,sha256=fkxW7KqyCy923f4f6s1qmd8gO-Oaoi-mLR9gaIWC-PU,6265
15
+ qena_shared_lib/http/_exception_handlers.py,sha256=-73YuQMMORrviFBX38T3rwRODww86OHWPJFWpPJ_cSk,5943
16
16
  qena_shared_lib/http/_request.py,sha256=kppCnS5zZfvKl-hNO6ysqkVdtoXshFp6Ue_0O5apqXQ,426
17
17
  qena_shared_lib/http/_response.py,sha256=sUd2ggu6IeKtNhoYAr-xZmEn40HLq5vLHpRcV7mZFnk,432
18
18
  qena_shared_lib/kafka/__init__.py,sha256=59aii_0Is8cwEVQlK4w9Jk3YrOqojTa6ReJO0SBedog,392
@@ -21,7 +21,7 @@ qena_shared_lib/kafka/_consumer.py,sha256=aEOtAqMhFPIMYbKK_BMDwR2rd_eaDzBJ6xR3Ud
21
21
  qena_shared_lib/kafka/_exception_handlers.py,sha256=D7Xh5eSpSkumQKvPfBmVB_E6vQxD58y41bFpP5Jzhqk,4084
22
22
  qena_shared_lib/kafka/_producer.py,sha256=QtYfKzNtxeIT1EtGpS-tvFC342oPoleF1AOl20LfNXs,3941
23
23
  qena_shared_lib/logging.py,sha256=HZiqbXpmJsAI7hheAaQ9EA8uj9yU0pMVCg64d_V0wzA,1748
24
- qena_shared_lib/mongodb.py,sha256=tlrmXxDae5IOZz-alL559ySKpRrTTQvOGFGB2QdJ5Ww,17701
24
+ qena_shared_lib/mongodb.py,sha256=zyFSnj78jZv7FBT8ssz0FQGXOm4SN6T3pzinBUZ_WkI,17717
25
25
  qena_shared_lib/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
26
26
  qena_shared_lib/rabbitmq/__init__.py,sha256=g15fP9XQ1CHFBXZmeAxQcsppQ0Nx62gJ4VOK8nzW7T4,1254
27
27
  qena_shared_lib/rabbitmq/_base.py,sha256=pKJL0PNrhUOXw4XUJ1iZsuCPVY3ykvO8ebIfeX9HwXo,21502
@@ -45,6 +45,6 @@ qena_shared_lib/scheduler.py,sha256=Spp5PnpFJ0U4aLeFCNmje9zUA4zwkL-b7X8SSGkGssM,
45
45
  qena_shared_lib/security.py,sha256=RAXBkfhytJl-2SOXYQTJMnUb789-8DNZKRjRtpod16Y,6372
46
46
  qena_shared_lib/sync.py,sha256=79aGGWGYg_oGY9jTav1kghD8BSRY-_oNYdx3tuExr20,2541
47
47
  qena_shared_lib/utils.py,sha256=crD8NJD1Se7ZHPCaQBCi3c7Y46lMvk8OsN_bZTbcyto,1184
48
- qena_shared_lib-0.1.22.dist-info/WHEEL,sha256=k57ZwB-NkeM_6AsPnuOHv5gI5KM5kPD6Vx85WmGEcI0,78
49
- qena_shared_lib-0.1.22.dist-info/METADATA,sha256=e-RJxza3kT6NvTVgU4z-ZPNppAjKd35vCjkBWeNwjNI,19281
50
- qena_shared_lib-0.1.22.dist-info/RECORD,,
48
+ qena_shared_lib-0.1.23.dist-info/WHEEL,sha256=k57ZwB-NkeM_6AsPnuOHv5gI5KM5kPD6Vx85WmGEcI0,78
49
+ qena_shared_lib-0.1.23.dist-info/METADATA,sha256=xhMmQ_QilqA5aLKK5WdJaz0bOTb-eM0d0tmYgP9aSiM,19281
50
+ qena_shared_lib-0.1.23.dist-info/RECORD,,