arpakitlib 1.7.220__py3-none-any.whl → 1.7.222__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.
- arpakitlib/_arpakit_project_template/src/{db → operation_execution}/_remove_operations.py +2 -0
- arpakitlib/ar_arpakitlib_cli_util.py +1 -1
- {arpakitlib-1.7.220.dist-info → arpakitlib-1.7.222.dist-info}/METADATA +1 -1
- {arpakitlib-1.7.220.dist-info → arpakitlib-1.7.222.dist-info}/RECORD +7 -7
- {arpakitlib-1.7.220.dist-info → arpakitlib-1.7.222.dist-info}/LICENSE +0 -0
- {arpakitlib-1.7.220.dist-info → arpakitlib-1.7.222.dist-info}/WHEEL +0 -0
- {arpakitlib-1.7.220.dist-info → arpakitlib-1.7.222.dist-info}/entry_points.txt +0 -0
@@ -1,10 +1,12 @@
|
|
1
1
|
from arpakitlib.ar_operation_execution_util import remove_operations
|
2
|
+
from src.core.settings import get_cached_settings
|
2
3
|
from src.core.util import setup_logging
|
3
4
|
from src.db.util import get_cached_sqlalchemy_db
|
4
5
|
|
5
6
|
|
6
7
|
def _remove_operations():
|
7
8
|
setup_logging()
|
9
|
+
get_cached_settings().raise_if_mode_type_prod()
|
8
10
|
with get_cached_sqlalchemy_db() as sqlalchemy_db:
|
9
11
|
remove_operations(sqlalchemy_db=sqlalchemy_db)
|
10
12
|
|
@@ -44,7 +44,7 @@ def execute_arpakitlib_cli(*, full_command: str | None = None):
|
|
44
44
|
allow_none=False
|
45
45
|
)
|
46
46
|
project_name: str = parsed_command.get_value_by_keys(keys=["pm", "project_name"])
|
47
|
-
project_name = project_name.strip() if project_name.strip() else None
|
47
|
+
project_name = project_name.strip() if project_name and project_name.strip() else None
|
48
48
|
sql_db_port: int | None = parse_need_type(
|
49
49
|
value=parsed_command.get_value_by_keys(keys=["sdp", "sql_db_port"]),
|
50
50
|
need_type=NeedTypes.int_,
|
@@ -95,11 +95,11 @@ arpakitlib/_arpakit_project_template/src/db/__init__.py,sha256=47DEQpj8HBSa-_TIm
|
|
95
95
|
arpakitlib/_arpakit_project_template/src/db/_check_conn_sqlalchemy_db.py,sha256=GPK7-w7x8ESqbZ0v1nI8m_ysWfnmjgRwyyh6kM8vYBQ,249
|
96
96
|
arpakitlib/_arpakit_project_template/src/db/_init_sqlalchemy_db.py,sha256=tHJ1NBUAR-9uAktx2RfPikzGGguhwEWfrWdj1y0XV-w,231
|
97
97
|
arpakitlib/_arpakit_project_template/src/db/_reinit_sqlalchemy_db.py,sha256=_4O_xr6FXt3qcWOmO82CKG3XX6_RqbqaOYSEygxpBfA,339
|
98
|
-
arpakitlib/_arpakit_project_template/src/db/_remove_operations.py,sha256=_ezZ2wfoTdpLS05cLKcE8Cc6hQTErVGATwJnpsUBfzw,369
|
99
98
|
arpakitlib/_arpakit_project_template/src/db/const.py,sha256=dcvj5C9E2F2KCsGZPBBncQf_EvVJAC1qQgnyD8P4ZEw,6
|
100
99
|
arpakitlib/_arpakit_project_template/src/db/sqlalchemy_model.py,sha256=nXtayUkBaVb6tWx5qJgXZLbLOTVAjnSLpSDxBm7yZLc,234
|
101
100
|
arpakitlib/_arpakit_project_template/src/db/util.py,sha256=a8lj54I-vVGjhDg4SLOxahDjYuiPOSFxU86myCfE1M0,557
|
102
101
|
arpakitlib/_arpakit_project_template/src/operation_execution/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
102
|
+
arpakitlib/_arpakit_project_template/src/operation_execution/_remove_operations.py,sha256=KsvAk2zQCp0PX6-QiRW0LKHoJfmH0wVJcBZviFqAoBI,471
|
103
103
|
arpakitlib/_arpakit_project_template/src/operation_execution/_start_operation_executor_worker.py,sha256=K861UI9LFNxfCoPpQ5AJX-oUwjB6bfFNKScKsyU9Xd8,575
|
104
104
|
arpakitlib/_arpakit_project_template/src/operation_execution/_start_scheduled_operation_creator_worker.py,sha256=i6bKSrdCElclkVWMQrIdwDtOCiy8YvrL5OTMNpQ3drE,577
|
105
105
|
arpakitlib/_arpakit_project_template/src/operation_execution/const.py,sha256=HjupGEDUWVijQlbzxZPI9vBbAVOETUYzYU9pdnc9IcI,176
|
@@ -122,7 +122,7 @@ arpakitlib/ar_api_key_util.py,sha256=E84JlJXiDHtxLQmV8BNHvqNKu_G8-Dox0XxknYJQ37Q
|
|
122
122
|
arpakitlib/ar_arpakit_lib_module_util.py,sha256=UEPU8wk29R_bBP_RENnhXYzNbj_RF9FWjowrj_yxWLA,5931
|
123
123
|
arpakitlib/ar_arpakit_project_template_util.py,sha256=c7yc8w2IvZGH5hH8eOpL7JuD005hUxZ0GVDcSkJF5iI,3705
|
124
124
|
arpakitlib/ar_arpakit_schedule_uust_api_client_util.py,sha256=006JstWvs6JTuxRCg3toSNQvtKO0KM5pqyPJa1PRDNA,14998
|
125
|
-
arpakitlib/ar_arpakitlib_cli_util.py,sha256=
|
125
|
+
arpakitlib/ar_arpakitlib_cli_util.py,sha256=208k_kWc-XHTYqL39k-rYrLcTKFF-3og21PVIsq5b2k,3171
|
126
126
|
arpakitlib/ar_base64_util.py,sha256=aZkg2cZTuAaP2IWeG_LXJ6RO7qhyskVwec-Lks0iM-k,676
|
127
127
|
arpakitlib/ar_base_worker_util.py,sha256=Qm_C7PFH5W-LPu1AGX1zp29zbqZ04i71Su1U-eeQBkA,5674
|
128
128
|
arpakitlib/ar_cache_file_util.py,sha256=Fo2pH-Zqm966KWFBHG_pbiySGZvhIFCYqy7k1weRfJ0,3476
|
@@ -184,8 +184,8 @@ arpakitlib/ar_str_util.py,sha256=yU5gOwNXUQaH5b_tM5t6fXUn9oUcv5EQbVnq2wXXIpQ,337
|
|
184
184
|
arpakitlib/ar_type_util.py,sha256=9C3ErtUVs0tAUqtK-foFzjJOykfBOntfCz2IogDOgfA,4134
|
185
185
|
arpakitlib/ar_yookassa_api_client_util.py,sha256=sh4fcUkAkdOetFn9JYoTvjcSXP-M1wU04KEY-ECLfLg,5137
|
186
186
|
arpakitlib/ar_zabbix_api_client_util.py,sha256=Q-VR4MvoZ9aHwZeYZr9G3LwN-ANx1T5KFmF6pvPM-9M,6402
|
187
|
-
arpakitlib-1.7.
|
188
|
-
arpakitlib-1.7.
|
189
|
-
arpakitlib-1.7.
|
190
|
-
arpakitlib-1.7.
|
191
|
-
arpakitlib-1.7.
|
187
|
+
arpakitlib-1.7.222.dist-info/LICENSE,sha256=GPEDQMam2r7FSTYqM1mm7aKnxLaWcBotH7UvQtea-ec,11355
|
188
|
+
arpakitlib-1.7.222.dist-info/METADATA,sha256=j2zSQ0CP5EbuBTbbqF5YmaQgLG2T9ItUTCzpiroUUqI,3231
|
189
|
+
arpakitlib-1.7.222.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
|
190
|
+
arpakitlib-1.7.222.dist-info/entry_points.txt,sha256=36xqR3PJFT2kuwjkM_EqoIy0qFUDPKSm_mJaI7emewE,87
|
191
|
+
arpakitlib-1.7.222.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|