atk-common 3.11.0__py3-none-any.whl → 3.12.0__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.
- atk_common/classes/http_response_handler.py +4 -4
- {atk_common-3.11.0.dist-info → atk_common-3.12.0.dist-info}/METADATA +1 -1
- {atk_common-3.11.0.dist-info → atk_common-3.12.0.dist-info}/RECORD +6 -6
- {atk_common-3.11.0.dist-info → atk_common-3.12.0.dist-info}/WHEEL +0 -0
- {atk_common-3.11.0.dist-info → atk_common-3.12.0.dist-info}/licenses/license.txt +0 -0
- {atk_common-3.11.0.dist-info → atk_common-3.12.0.dist-info}/top_level.txt +0 -0
@@ -37,8 +37,8 @@ class HttpResponseHandler(IHttpResponseHandler):
|
|
37
37
|
mimetype=response.get('contentType'),
|
38
38
|
headers=response.get('httpHeaders')
|
39
39
|
)
|
40
|
-
elif is_http_status_internal(response('statusCode')):
|
40
|
+
elif is_http_status_internal(response.get('statusCode')):
|
41
41
|
if is_response_http(response):
|
42
|
-
return self.error_handler.resend_error_entity(response('responseMsg'))
|
43
|
-
return self.error_handler.get_error_entity(response('responseMsg'), method, ApiErrorType.INTERNAL, response('statusCode'))
|
44
|
-
return self.error_handler.get_error_entity(response('responseMsg'), method, ApiErrorType.CONNECTION, response('statusCode'))
|
42
|
+
return self.error_handler.resend_error_entity(response.get('responseMsg'))
|
43
|
+
return self.error_handler.get_error_entity(response.get('responseMsg'), method, ApiErrorType.INTERNAL, response.get('statusCode'))
|
44
|
+
return self.error_handler.get_error_entity(response.get('responseMsg'), method, ApiErrorType.CONNECTION, response.get('statusCode'))
|
@@ -21,7 +21,7 @@ atk_common/classes/bo_logger.py,sha256=wo1-BNWZjzSnlcM7c0LB7tK__2g3BENXvSvCLEiTO
|
|
21
21
|
atk_common/classes/docker_handler.py,sha256=VNJecc2ZWcpwNBa61QTGM_kYrsoZTjktMcFRFGF4xI4,3048
|
22
22
|
atk_common/classes/env_handler.py,sha256=h3snKwHwDvfc2dt1vgHasqv8n_vnsI9J2MAr-XM5oow,1283
|
23
23
|
atk_common/classes/error_handler.py,sha256=DgRzWx4Yu8PKX1bqj55aWhrkqb92ebDaEwtxgKhTLls,3270
|
24
|
-
atk_common/classes/http_response_handler.py,sha256=
|
24
|
+
atk_common/classes/http_response_handler.py,sha256=qgtGyEwUe4lIiayS6syWanr2VE6GaKHddazNL_PxEFM,2327
|
25
25
|
atk_common/classes/rabbitmq_consumer.py,sha256=jct1UnfP-PU3IeWW2S_9dQ7FxmY0_M8YwZadFMv52j8,2936
|
26
26
|
atk_common/enums/__init__.py,sha256=hOSoKWIBUpRFaMN2tNJiel6iGI1MHj229OYnU1J8Jg0,2636
|
27
27
|
atk_common/enums/api_error_type_enum.py,sha256=9oW6ZaZ3lhMwR8r2sVNWGliS9C_jV-otiOYdezAuTp0,91
|
@@ -81,7 +81,7 @@ atk_common/utils/http_utils.py,sha256=eSRuQeDgN0ISQdByZqE6cIGXoorcAXz7PEtVntHUKA
|
|
81
81
|
atk_common/utils/internal_response_utils.py,sha256=2X9eLFEy1pO3Aesj1IRXg2yprwNcBDM5_dXaA5vfmMI,694
|
82
82
|
atk_common/utils/mq_utils.py,sha256=DmVcXIZHG45p7cQVvgen6OT8QbW_UifFFJGJBybTkJQ,1835
|
83
83
|
atk_common/utils/str_utils.py,sha256=sg3jwTTIfQvgGP-lcY5Xh4PXXhKWse_4HswBQYQKEo4,260
|
84
|
-
atk_common-3.
|
84
|
+
atk_common-3.12.0.dist-info/licenses/license.txt,sha256=_0O6fWM00-wTurDjnZhUP_N5QiwGhItaQZqHq5eqadA,1063
|
85
85
|
atk_package/__init__.py,sha256=okIFEefQhQrw6DZg6oCEVWsEdkVCk-57VXBW0IUG_wU,834
|
86
86
|
atk_package/datetime_utils.py,sha256=qsVF7l90P1-xukG2tV_jLqG9J_Yfl5wTpyfrdPBlyMo,239
|
87
87
|
atk_package/env_utils.py,sha256=bXOrxM3fZUslqfmZt75iphbEJHbG4riJa8XOVzPwIII,313
|
@@ -94,7 +94,7 @@ atk_package/enums/__init__.py,sha256=EtUr_--MQj1Rc_R0sF_ELXIThmhpfmhDWq3YaK9oQMk
|
|
94
94
|
atk_package/enums/command_status_enum.py,sha256=M2Nln27a_DbzI07-gfytWQk2X087JhkU6Fmard5qVHs,127
|
95
95
|
atk_package/enums/speed_control_status_enum.py,sha256=qpURh0K1L1tSpbrzVnckoe4hUn1illIkbo7k4mLfzIM,182
|
96
96
|
shared_python_atk_enforcement/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
97
|
-
atk_common-3.
|
98
|
-
atk_common-3.
|
99
|
-
atk_common-3.
|
100
|
-
atk_common-3.
|
97
|
+
atk_common-3.12.0.dist-info/METADATA,sha256=1Shv97Ux1iGzXj0wPv3idbHG5Jg475j_NzawVu3O4lE,1761
|
98
|
+
atk_common-3.12.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
99
|
+
atk_common-3.12.0.dist-info/top_level.txt,sha256=4CwRjkLnheIdI4jQwc4tK3dbRc58WqUmoqjkdDTWlME,41
|
100
|
+
atk_common-3.12.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|