atk-common 1.33.0__py3-none-any.whl → 1.34.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/response_utils.py +6 -0
- {atk_common-1.33.0.dist-info → atk_common-1.34.0.dist-info}/METADATA +1 -1
- {atk_common-1.33.0.dist-info → atk_common-1.34.0.dist-info}/RECORD +6 -6
- {atk_common-1.33.0.dist-info → atk_common-1.34.0.dist-info}/WHEEL +0 -0
- {atk_common-1.33.0.dist-info → atk_common-1.34.0.dist-info}/licenses/license.txt +0 -0
- {atk_common-1.33.0.dist-info → atk_common-1.34.0.dist-info}/top_level.txt +0 -0
atk_common/response_utils.py
CHANGED
@@ -9,3 +9,9 @@ def create_response(status, status_code, response_msg):
|
|
9
9
|
|
10
10
|
def is_response_ok(response):
|
11
11
|
return response['status'] == ResponseStatusType.OK
|
12
|
+
|
13
|
+
def is_response_http(response):
|
14
|
+
return response['status'] == ResponseStatusType.HTTP
|
15
|
+
|
16
|
+
def is_response_internal(response):
|
17
|
+
return response['status'] == ResponseStatusType.INTERNAL
|
@@ -9,7 +9,7 @@ atk_common/http_utils.py,sha256=M1Qz2Cus3Ek8nUOqraT-30GKSj7nkAvJx2f7rnpX5Pk,656
|
|
9
9
|
atk_common/log_utils.py,sha256=k7VaknmSGvHQV6-eznltNUa3BOAywjFHkhVzDT1P0Hs,496
|
10
10
|
atk_common/mq_utils.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
11
11
|
atk_common/rabbitmq_consumer.py,sha256=4MhuwZs47Jt1fX4sUxr1MKRe7o2QRbPe9_utXEsa8QE,1907
|
12
|
-
atk_common/response_utils.py,sha256=
|
12
|
+
atk_common/response_utils.py,sha256=AxlmwkFoDU5XcFOzBQiuZxAQgswihpKXHSo1T0JJw3Q,556
|
13
13
|
atk_common/enums/__init__.py,sha256=hejNKl04AfatJ2ovXXu72psSzBYQYC3f8SlqOT2g5GI,2058
|
14
14
|
atk_common/enums/api_error_type_enum.py,sha256=9oW6ZaZ3lhMwR8r2sVNWGliS9C_jV-otiOYdezAuTp0,91
|
15
15
|
atk_common/enums/camera_cabinet_type_enum.py,sha256=U2NVrsTCBgaMRwYJamnjshAW8Y7xlOVjvUzakdgVH9A,90
|
@@ -42,7 +42,7 @@ atk_common/enums/sensor_type_enum.py,sha256=UBa3LPyGTKgEJV578CqFlwXjnlXqVlybrvzd
|
|
42
42
|
atk_common/enums/speed_control_status_enum.py,sha256=qpURh0K1L1tSpbrzVnckoe4hUn1illIkbo7k4mLfzIM,182
|
43
43
|
atk_common/enums/speed_control_status_type_enum.py,sha256=qpURh0K1L1tSpbrzVnckoe4hUn1illIkbo7k4mLfzIM,182
|
44
44
|
atk_common/enums/violation_type_enum.py,sha256=01qTHOj-O8bOc-nwIHVnxLosm4cusD_YuqXM3ZsiRRk,86
|
45
|
-
atk_common-1.
|
45
|
+
atk_common-1.34.0.dist-info/licenses/license.txt,sha256=_0O6fWM00-wTurDjnZhUP_N5QiwGhItaQZqHq5eqadA,1063
|
46
46
|
atk_package/__init__.py,sha256=EceDa352WFHTdC_LxYANXf_TS9pGzK3MCx87bwAKTvg,811
|
47
47
|
atk_package/datetime_utils.py,sha256=qsVF7l90P1-xukG2tV_jLqG9J_Yfl5wTpyfrdPBlyMo,239
|
48
48
|
atk_package/env_utils.py,sha256=bXOrxM3fZUslqfmZt75iphbEJHbG4riJa8XOVzPwIII,313
|
@@ -55,7 +55,7 @@ atk_package/enums/__init__.py,sha256=EtUr_--MQj1Rc_R0sF_ELXIThmhpfmhDWq3YaK9oQMk
|
|
55
55
|
atk_package/enums/command_status_enum.py,sha256=M2Nln27a_DbzI07-gfytWQk2X087JhkU6Fmard5qVHs,127
|
56
56
|
atk_package/enums/speed_control_status_enum.py,sha256=qpURh0K1L1tSpbrzVnckoe4hUn1illIkbo7k4mLfzIM,182
|
57
57
|
shared_python_atk_enforcement/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
58
|
-
atk_common-1.
|
59
|
-
atk_common-1.
|
60
|
-
atk_common-1.
|
61
|
-
atk_common-1.
|
58
|
+
atk_common-1.34.0.dist-info/METADATA,sha256=I2ayltFWd9uz-UYbGTOlInx613MGE2fYi-D4isDLqa0,1464
|
59
|
+
atk_common-1.34.0.dist-info/WHEEL,sha256=pxyMxgL8-pra_rKaQ4drOZAegBVuX-G_4nRHjjgWbmo,91
|
60
|
+
atk_common-1.34.0.dist-info/top_level.txt,sha256=4CwRjkLnheIdI4jQwc4tK3dbRc58WqUmoqjkdDTWlME,41
|
61
|
+
atk_common-1.34.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|