atk-common 1.22.0__py3-none-any.whl → 1.24.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/__init__.py CHANGED
@@ -1,6 +1,6 @@
1
1
  # __init__.py
2
- from atk_common.datetime_utils import date_time_utc_column, get_utc_date_time, seconds_to_utc_timestamp, get_utc_date_from_iso
3
- from atk_common.db_utils import sql, sql_with_record, convert_none_to_null
2
+ from atk_common.datetime_utils import get_utc_date_time, seconds_to_utc_timestamp, get_utc_date_from_iso
3
+ from atk_common.db_utils import sql, sql_with_record, convert_none_to_null, date_time_utc_column
4
4
  from atk_common.env_utils import get_env_value
5
5
  from atk_common.error_utils import get_message, create_error_log, get_error_entity, handle_error, get_response_error, get_error_type
6
6
  from atk_common.http_utils import is_http_status_ok, is_http_status_internal, get_test_response
@@ -10,13 +10,13 @@ from atk_common.response_utils import create_response, is_response_ok
10
10
  from atk_common.docker_utils import get_current_container_info
11
11
 
12
12
  __all__ = [
13
- 'date_time_utc_column',
14
13
  'get_utc_date_time',
15
14
  'seconds_to_utc_timestamp',
16
15
  'get_utc_date_from_iso',
17
16
  'sql',
18
17
  'sql_with_record',
19
18
  'convert_none_to_null',
19
+ 'date_time_utc_column',
20
20
  'get_env_value',
21
21
  'get_message',
22
22
  'create_error_log',
@@ -1,6 +1,7 @@
1
1
  # __init__.py
2
2
  from atk_common.enums.api_error_type_enum import ApiErrorType
3
3
  from atk_common.enums.command_status_enum import CommandStatusType
4
+ from atk_common.enums.detection_status_enum import DetectionStatus
4
5
  from atk_common.enums.encryption_type_enum import EncryptionType
5
6
  from atk_common.enums.image_encoding_type_enum import ImageEncodingType
6
7
  from atk_common.enums.image_part_category import ImagePartCategory
@@ -15,6 +16,7 @@ from atk_common.enums.violation_type_enum import ViolationType
15
16
  __all__ = [
16
17
  'ApiErrorType',
17
18
  'CommandStatusType',
19
+ 'DetectionStatus',
18
20
  'EncryptionType',
19
21
  'ImageEncodingType',
20
22
  'ImagePartCategory',
@@ -0,0 +1,5 @@
1
+ from enum import Enum
2
+
3
+ class DetectionStatus(Enum):
4
+ OK = 1
5
+ FAILED = 2
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: atk_common
3
- Version: 1.22.0
3
+ Version: 1.24.0
4
4
  Summary: ATK common methods
5
5
  Home-page: https://github.com/pypa/atk_common
6
6
  Author: Roger
@@ -1,4 +1,4 @@
1
- atk_common/__init__.py,sha256=1BDL1loiv5TTOOVAXL1ZhJ-yYox3ema2t_mGpNraUYg,1360
1
+ atk_common/__init__.py,sha256=G2r5JTcOHLwHFrvpLC4L-t3JlilWQq8-oSDMeUF3AYA,1360
2
2
  atk_common/datetime_utils.py,sha256=tMXB3ZuRG8GyA25YLaNXhs4cVHF5zWdw9fXOh0Z9kQw,379
3
3
  atk_common/db_utils.py,sha256=6S-WlQltnYjrG0AJ1BXwLgkqT4T6cQmHnHI9ksCdy38,869
4
4
  atk_common/docker_utils.py,sha256=nkUhp2OhwJsm41JDujHDY-JxQfdDjy91duprH59Esfk,2084
@@ -9,9 +9,10 @@ atk_common/log_utils.py,sha256=k7VaknmSGvHQV6-eznltNUa3BOAywjFHkhVzDT1P0Hs,496
9
9
  atk_common/mq_utils.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
10
10
  atk_common/rabbitmq_consumer.py,sha256=4MhuwZs47Jt1fX4sUxr1MKRe7o2QRbPe9_utXEsa8QE,1907
11
11
  atk_common/response_utils.py,sha256=jlCm3a7GKolV6zR1emIEGmMH93V6yktiv-lgNa3TNEw,349
12
- atk_common/enums/__init__.py,sha256=aeL5BH72S7BDSLULlu6KxoplHCTZqPQQWKLvRq8r1YE,1103
12
+ atk_common/enums/__init__.py,sha256=UXyhMa45uP2ae2tHF9v1T4fw4O7WFqcPcjvsmJE4Kxk,1195
13
13
  atk_common/enums/api_error_type_enum.py,sha256=9oW6ZaZ3lhMwR8r2sVNWGliS9C_jV-otiOYdezAuTp0,91
14
14
  atk_common/enums/command_status_enum.py,sha256=M2Nln27a_DbzI07-gfytWQk2X087JhkU6Fmard5qVHs,127
15
+ atk_common/enums/detection_status_enum.py,sha256=852t9-LaQAzcTELtHtiGPfgwhX58q4uWMvgzq2Spyzs,84
15
16
  atk_common/enums/encryption_type_enum.py,sha256=jlrKeH2-Iakkuby8pwq8uXhX8A2FTvdULe633edGOc4,91
16
17
  atk_common/enums/http_status_enum.py,sha256=bJSTmkLxHnb04fWSDKuhTWrh_v9iCQM7otAVr731JDk,139
17
18
  atk_common/enums/image_encoding_type_enum.py,sha256=s32PjcrprGUf7MG4UQNE3ssH-y9RiLtbwtNwKQxWMvE,98
@@ -23,7 +24,7 @@ atk_common/enums/section_role_enum.py,sha256=9rwep4Wmvyvnlrey08TRRoi8VQYAPkylpP0
23
24
  atk_common/enums/sensor_type_enum.py,sha256=UBa3LPyGTKgEJV578CqFlwXjnlXqVlybrvzdjsHhjSU,80
24
25
  atk_common/enums/speed_control_status_enum.py,sha256=qpURh0K1L1tSpbrzVnckoe4hUn1illIkbo7k4mLfzIM,182
25
26
  atk_common/enums/violation_type_enum.py,sha256=01qTHOj-O8bOc-nwIHVnxLosm4cusD_YuqXM3ZsiRRk,86
26
- atk_common-1.22.0.dist-info/licenses/license.txt,sha256=_0O6fWM00-wTurDjnZhUP_N5QiwGhItaQZqHq5eqadA,1063
27
+ atk_common-1.24.0.dist-info/licenses/license.txt,sha256=_0O6fWM00-wTurDjnZhUP_N5QiwGhItaQZqHq5eqadA,1063
27
28
  atk_package/__init__.py,sha256=EceDa352WFHTdC_LxYANXf_TS9pGzK3MCx87bwAKTvg,811
28
29
  atk_package/datetime_utils.py,sha256=qsVF7l90P1-xukG2tV_jLqG9J_Yfl5wTpyfrdPBlyMo,239
29
30
  atk_package/env_utils.py,sha256=bXOrxM3fZUslqfmZt75iphbEJHbG4riJa8XOVzPwIII,313
@@ -36,7 +37,7 @@ atk_package/enums/__init__.py,sha256=oW0aVnwewfH6sNu14jjZ5_uP4iRN4pRmGdTNC204rHo
36
37
  atk_package/enums/command_status_enum.py,sha256=M2Nln27a_DbzI07-gfytWQk2X087JhkU6Fmard5qVHs,127
37
38
  atk_package/enums/speed_control_status_enum.py,sha256=qpURh0K1L1tSpbrzVnckoe4hUn1illIkbo7k4mLfzIM,182
38
39
  shared_python_atk_enforcement/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
39
- atk_common-1.22.0.dist-info/METADATA,sha256=RR_FNbXxiPxUclSI0J-9jX320CrewoFnDIEw-QUhsgM,1464
40
- atk_common-1.22.0.dist-info/WHEEL,sha256=pxyMxgL8-pra_rKaQ4drOZAegBVuX-G_4nRHjjgWbmo,91
41
- atk_common-1.22.0.dist-info/top_level.txt,sha256=4CwRjkLnheIdI4jQwc4tK3dbRc58WqUmoqjkdDTWlME,41
42
- atk_common-1.22.0.dist-info/RECORD,,
40
+ atk_common-1.24.0.dist-info/METADATA,sha256=dlS3LCF_Td2bkRK6NABu8klk5nymfBg87d3IFt-imKg,1464
41
+ atk_common-1.24.0.dist-info/WHEEL,sha256=pxyMxgL8-pra_rKaQ4drOZAegBVuX-G_4nRHjjgWbmo,91
42
+ atk_common-1.24.0.dist-info/top_level.txt,sha256=4CwRjkLnheIdI4jQwc4tK3dbRc58WqUmoqjkdDTWlME,41
43
+ atk_common-1.24.0.dist-info/RECORD,,