atk-common 1.49.0__py3-none-any.whl → 1.51.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/enums/__init__.py +4 -2
- atk_common/enums/config_reply_status_type_enum.py +5 -0
- atk_common/enums/image_shelf_type_enum.py +5 -0
- atk_common/enums/multimotor_status_type_enum.py +5 -0
- atk_common/mq_utils.py +3 -1
- {atk_common-1.49.0.dist-info → atk_common-1.51.0.dist-info}/METADATA +1 -1
- {atk_common-1.49.0.dist-info → atk_common-1.51.0.dist-info}/RECORD +10 -7
- {atk_common-1.49.0.dist-info → atk_common-1.51.0.dist-info}/WHEEL +0 -0
- {atk_common-1.49.0.dist-info → atk_common-1.51.0.dist-info}/licenses/license.txt +0 -0
- {atk_common-1.49.0.dist-info → atk_common-1.51.0.dist-info}/top_level.txt +0 -0
atk_common/enums/__init__.py
CHANGED
@@ -5,7 +5,7 @@ from atk_common.enums.camera_role_enum import CameraRole
|
|
5
5
|
from atk_common.enums.certificate_issuer_enum import CertificateIssuer
|
6
6
|
from atk_common.enums.command_status_type_enum import CommandStatusType
|
7
7
|
from atk_common.enums.command_type_enum import CommandType
|
8
|
-
from atk_common.enums.
|
8
|
+
from atk_common.enums.config_reply_status_type_enum import ConfigReplyStatusType
|
9
9
|
from atk_common.enums.detection_status_type_enum import DetectionStatusType
|
10
10
|
from atk_common.enums.encryption_type_enum import EncryptionType
|
11
11
|
from atk_common.enums.file_exists_enum import FileExists
|
@@ -13,8 +13,9 @@ from atk_common.enums.history_status_type_enum import HistoryStatusType
|
|
13
13
|
from atk_common.enums.image_encoding_type_enum import ImageEncodingType
|
14
14
|
from atk_common.enums.image_part_category_enum import ImagePartCategory
|
15
15
|
from atk_common.enums.image_part_type_enum import ImagePartType
|
16
|
-
from atk_common.enums.
|
16
|
+
from atk_common.enums.image_shelf_type_enum import ImageShelfType
|
17
17
|
from atk_common.enums.metering_direction_enum import MeteringDirection
|
18
|
+
from atk_common.enums.multimotor_status_type_enum import MultiMotorStatusType
|
18
19
|
from atk_common.enums.piezo_vehicle_type_enum import PiezoVehicleType
|
19
20
|
from atk_common.enums.process_status_type_enum import ProcessStatusType
|
20
21
|
from atk_common.enums.response_status_type_enum import ResponseStatusType
|
@@ -43,6 +44,7 @@ __all__ = [
|
|
43
44
|
'ImagePartType',
|
44
45
|
'ImageShelfType',
|
45
46
|
'MeteringDirection',
|
47
|
+
'MultiMotorStatusType',
|
46
48
|
'PiezoVehicleType',
|
47
49
|
'ProcessStatusType',
|
48
50
|
'ResponseStatusType',
|
atk_common/mq_utils.py
CHANGED
@@ -9,7 +9,9 @@ def decode_message(body, message):
|
|
9
9
|
content_encoding = message.headers.get('content_encoding')
|
10
10
|
if content_encoding is not None and content_encoding == 'gzip':
|
11
11
|
body = gzip.decompress(body)
|
12
|
-
if message.content_type == '
|
12
|
+
if message.content_type is None or message.content_type == '':
|
13
|
+
return body
|
14
|
+
elif message.content_type == 'application/json':
|
13
15
|
return body
|
14
16
|
elif message.content_type == 'application/octet-stream':
|
15
17
|
return body
|
@@ -10,10 +10,10 @@ atk_common/http_response_utils.py,sha256=7Fw81OVMp6HCvsdtPgvlMywL1srSCVNSvqcBZGT
|
|
10
10
|
atk_common/http_utils.py,sha256=Av6wMa9984zQqXSrU3jndxLQO1xwv9U7YDFvJqZQAuo,664
|
11
11
|
atk_common/internal_response_utils.py,sha256=2X9eLFEy1pO3Aesj1IRXg2yprwNcBDM5_dXaA5vfmMI,694
|
12
12
|
atk_common/log_utils.py,sha256=tw6Ph8oTpxrGYe_BcDTYkgrYmFAb1IxTXTodqctAIiY,504
|
13
|
-
atk_common/mq_utils.py,sha256=
|
13
|
+
atk_common/mq_utils.py,sha256=IDni2Y2AVezsJGTwPY9QPZ95b8RT8osBKHhbYcWbp_U,1131
|
14
14
|
atk_common/rabbitmq_consumer.py,sha256=4MhuwZs47Jt1fX4sUxr1MKRe7o2QRbPe9_utXEsa8QE,1907
|
15
15
|
atk_common/response_utils.py,sha256=AxlmwkFoDU5XcFOzBQiuZxAQgswihpKXHSo1T0JJw3Q,556
|
16
|
-
atk_common/enums/__init__.py,sha256=
|
16
|
+
atk_common/enums/__init__.py,sha256=AZfflF9B7Wi1nveIxAEiUAKnQ_KQtbofcXUJuZf9cWs,2565
|
17
17
|
atk_common/enums/api_error_type_enum.py,sha256=9oW6ZaZ3lhMwR8r2sVNWGliS9C_jV-otiOYdezAuTp0,91
|
18
18
|
atk_common/enums/camera_cabinet_type_enum.py,sha256=U2NVrsTCBgaMRwYJamnjshAW8Y7xlOVjvUzakdgVH9A,90
|
19
19
|
atk_common/enums/camera_role_enum.py,sha256=E0TH6zXj5EA889D7UndGP7xsgg5W23SneqJCFkA6BII,82
|
@@ -22,6 +22,7 @@ atk_common/enums/command_status_enum.py,sha256=M2Nln27a_DbzI07-gfytWQk2X087JhkU6
|
|
22
22
|
atk_common/enums/command_status_type_enum.py,sha256=M2Nln27a_DbzI07-gfytWQk2X087JhkU6Fmard5qVHs,127
|
23
23
|
atk_common/enums/command_type_enum.py,sha256=9dlYyrKA6FVjTG4UTAVbEDxMCwsoD_SCZP3144VgckE,294
|
24
24
|
atk_common/enums/config_reply_status_type.py,sha256=fLS-2THT8_56QT1grBJ1Lj0WKREbATjWVYcRtNU449o,89
|
25
|
+
atk_common/enums/config_reply_status_type_enum.py,sha256=fLS-2THT8_56QT1grBJ1Lj0WKREbATjWVYcRtNU449o,89
|
25
26
|
atk_common/enums/detection_status_enum.py,sha256=852t9-LaQAzcTELtHtiGPfgwhX58q4uWMvgzq2Spyzs,84
|
26
27
|
atk_common/enums/detection_status_type_enum.py,sha256=oHmoOP2zhcWQBBchj7CwECf99EdT8QSY6T8l5n8Kvcg,88
|
27
28
|
atk_common/enums/encryption_type_enum.py,sha256=vy_1B-lUYZTyBvqAC5bOfhB3bPr5g9K8s5rjfsnm_AE,93
|
@@ -34,7 +35,9 @@ atk_common/enums/image_part_category_enum.py,sha256=YQ7xtO8v7Ja77Tu-Wo_wewLOULta
|
|
34
35
|
atk_common/enums/image_part_type.py,sha256=tg6W9kYMRShOlsxhAJRNRdWH50gC-eF0sqvqsponP-M,111
|
35
36
|
atk_common/enums/image_part_type_enum.py,sha256=NREEtLNMVVFo-RiOWR_krUSZWRscWMCo2PHHTnZnmLg,113
|
36
37
|
atk_common/enums/image_shelf_type.py,sha256=m2-nWi83tWi-KYpTMphyt-yhK5iGNvHrJBNYjodx1P4,84
|
38
|
+
atk_common/enums/image_shelf_type_enum.py,sha256=m2-nWi83tWi-KYpTMphyt-yhK5iGNvHrJBNYjodx1P4,84
|
37
39
|
atk_common/enums/metering_direction_enum.py,sha256=ramBPt0fK_NsToCqiYmtzDVNsLVGbeF39TmSpn_ghTY,107
|
40
|
+
atk_common/enums/multimotor_status_type_enum.py,sha256=TaoqSb6OjU17VAmFun28o8XhU3fkAKg_TQ9Kq8Y0Ff4,88
|
38
41
|
atk_common/enums/piezo_vehicle_type_enum.py,sha256=tlFk9dP7KkJVBna8SIJf6MH9zJD_szSUcDxFATJ6LZE,89
|
39
42
|
atk_common/enums/process_status_enum.py,sha256=09kRE5Cy8Sc7e7wf5gSkIw0RnNzFAWxIrMvn-aElqt8,140
|
40
43
|
atk_common/enums/process_status_type_enum.py,sha256=FHtg8Hrf0sAHNGCWiEFTo1hKGBGp6Wb6oyZvFbeL23U,145
|
@@ -49,7 +52,7 @@ atk_common/enums/speed_control_status_type_enum.py,sha256=qpURh0K1L1tSpbrzVnckoe
|
|
49
52
|
atk_common/enums/speed_control_stop_reason.py,sha256=pvLS6fpDhsCiIDAmiQBsHctxZnq-Dl2BOgJOxQnT5Hc,200
|
50
53
|
atk_common/enums/test_image_type_enum.py,sha256=HUjxJorehnzRXMNF2uHk2DrAJ3Y_ajQvp0jW-mtlOhU,140
|
51
54
|
atk_common/enums/violation_type_enum.py,sha256=01qTHOj-O8bOc-nwIHVnxLosm4cusD_YuqXM3ZsiRRk,86
|
52
|
-
atk_common-1.
|
55
|
+
atk_common-1.51.0.dist-info/licenses/license.txt,sha256=_0O6fWM00-wTurDjnZhUP_N5QiwGhItaQZqHq5eqadA,1063
|
53
56
|
atk_package/__init__.py,sha256=NcsmwFadivgIeWV0-5ACZxqmfo4EzTkJX0r4N6DFAdg,820
|
54
57
|
atk_package/datetime_utils.py,sha256=qsVF7l90P1-xukG2tV_jLqG9J_Yfl5wTpyfrdPBlyMo,239
|
55
58
|
atk_package/env_utils.py,sha256=bXOrxM3fZUslqfmZt75iphbEJHbG4riJa8XOVzPwIII,313
|
@@ -62,7 +65,7 @@ atk_package/enums/__init__.py,sha256=EtUr_--MQj1Rc_R0sF_ELXIThmhpfmhDWq3YaK9oQMk
|
|
62
65
|
atk_package/enums/command_status_enum.py,sha256=M2Nln27a_DbzI07-gfytWQk2X087JhkU6Fmard5qVHs,127
|
63
66
|
atk_package/enums/speed_control_status_enum.py,sha256=qpURh0K1L1tSpbrzVnckoe4hUn1illIkbo7k4mLfzIM,182
|
64
67
|
shared_python_atk_enforcement/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
65
|
-
atk_common-1.
|
66
|
-
atk_common-1.
|
67
|
-
atk_common-1.
|
68
|
-
atk_common-1.
|
68
|
+
atk_common-1.51.0.dist-info/METADATA,sha256=jlS_-WW3afEd-YdNb8WmwHo0xvs62OQuC4GgIG8RDsk,1464
|
69
|
+
atk_common-1.51.0.dist-info/WHEEL,sha256=pxyMxgL8-pra_rKaQ4drOZAegBVuX-G_4nRHjjgWbmo,91
|
70
|
+
atk_common-1.51.0.dist-info/top_level.txt,sha256=4CwRjkLnheIdI4jQwc4tK3dbRc58WqUmoqjkdDTWlME,41
|
71
|
+
atk_common-1.51.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|