arpakitlib 1.7.218__py3-none-any.whl → 1.7.221__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/operation_execution/_remove_operations.py +15 -0
- {arpakitlib-1.7.218.dist-info → arpakitlib-1.7.221.dist-info}/METADATA +1 -1
- {arpakitlib-1.7.218.dist-info → arpakitlib-1.7.221.dist-info}/RECORD +6 -5
- {arpakitlib-1.7.218.dist-info → arpakitlib-1.7.221.dist-info}/LICENSE +0 -0
- {arpakitlib-1.7.218.dist-info → arpakitlib-1.7.221.dist-info}/WHEEL +0 -0
- {arpakitlib-1.7.218.dist-info → arpakitlib-1.7.221.dist-info}/entry_points.txt +0 -0
@@ -0,0 +1,15 @@
|
|
1
|
+
from arpakitlib.ar_operation_execution_util import remove_operations
|
2
|
+
from src.core.settings import get_cached_settings
|
3
|
+
from src.core.util import setup_logging
|
4
|
+
from src.db.util import get_cached_sqlalchemy_db
|
5
|
+
|
6
|
+
|
7
|
+
def _remove_operations():
|
8
|
+
setup_logging()
|
9
|
+
get_cached_settings().raise_if_mode_type_prod()
|
10
|
+
with get_cached_sqlalchemy_db() as sqlalchemy_db:
|
11
|
+
remove_operations(sqlalchemy_db=sqlalchemy_db)
|
12
|
+
|
13
|
+
|
14
|
+
if __name__ == '__main__':
|
15
|
+
_remove_operations()
|
@@ -99,6 +99,7 @@ arpakitlib/_arpakit_project_template/src/db/const.py,sha256=dcvj5C9E2F2KCsGZPBBn
|
|
99
99
|
arpakitlib/_arpakit_project_template/src/db/sqlalchemy_model.py,sha256=nXtayUkBaVb6tWx5qJgXZLbLOTVAjnSLpSDxBm7yZLc,234
|
100
100
|
arpakitlib/_arpakit_project_template/src/db/util.py,sha256=a8lj54I-vVGjhDg4SLOxahDjYuiPOSFxU86myCfE1M0,557
|
101
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
|
102
103
|
arpakitlib/_arpakit_project_template/src/operation_execution/_start_operation_executor_worker.py,sha256=K861UI9LFNxfCoPpQ5AJX-oUwjB6bfFNKScKsyU9Xd8,575
|
103
104
|
arpakitlib/_arpakit_project_template/src/operation_execution/_start_scheduled_operation_creator_worker.py,sha256=i6bKSrdCElclkVWMQrIdwDtOCiy8YvrL5OTMNpQ3drE,577
|
104
105
|
arpakitlib/_arpakit_project_template/src/operation_execution/const.py,sha256=HjupGEDUWVijQlbzxZPI9vBbAVOETUYzYU9pdnc9IcI,176
|
@@ -183,8 +184,8 @@ arpakitlib/ar_str_util.py,sha256=yU5gOwNXUQaH5b_tM5t6fXUn9oUcv5EQbVnq2wXXIpQ,337
|
|
183
184
|
arpakitlib/ar_type_util.py,sha256=9C3ErtUVs0tAUqtK-foFzjJOykfBOntfCz2IogDOgfA,4134
|
184
185
|
arpakitlib/ar_yookassa_api_client_util.py,sha256=sh4fcUkAkdOetFn9JYoTvjcSXP-M1wU04KEY-ECLfLg,5137
|
185
186
|
arpakitlib/ar_zabbix_api_client_util.py,sha256=Q-VR4MvoZ9aHwZeYZr9G3LwN-ANx1T5KFmF6pvPM-9M,6402
|
186
|
-
arpakitlib-1.7.
|
187
|
-
arpakitlib-1.7.
|
188
|
-
arpakitlib-1.7.
|
189
|
-
arpakitlib-1.7.
|
190
|
-
arpakitlib-1.7.
|
187
|
+
arpakitlib-1.7.221.dist-info/LICENSE,sha256=GPEDQMam2r7FSTYqM1mm7aKnxLaWcBotH7UvQtea-ec,11355
|
188
|
+
arpakitlib-1.7.221.dist-info/METADATA,sha256=78E1N1UsCR6GY4UgPLeuLDLfj18Qs42sNiYYHUFw9eI,3231
|
189
|
+
arpakitlib-1.7.221.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
|
190
|
+
arpakitlib-1.7.221.dist-info/entry_points.txt,sha256=36xqR3PJFT2kuwjkM_EqoIy0qFUDPKSm_mJaI7emewE,87
|
191
|
+
arpakitlib-1.7.221.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|