arpakitlib 1.7.119__py3-none-any.whl → 1.7.121__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/start_operation_executor_worker_for_not_prod.py +1 -3
- arpakitlib/_arpakit_project_template/src/operation_execution/start_scheduled_operation_creator_worker_for_not_prod.py +1 -2
- arpakitlib/_arpakit_project_template/src/operation_execution/util.py +0 -21
- {arpakitlib-1.7.119.dist-info → arpakitlib-1.7.121.dist-info}/METADATA +1 -1
- {arpakitlib-1.7.119.dist-info → arpakitlib-1.7.121.dist-info}/RECORD +9 -10
- arpakitlib/_arpakit_project_template/AUTHOR.md +0 -4
- {arpakitlib-1.7.119.dist-info → arpakitlib-1.7.121.dist-info}/LICENSE +0 -0
- {arpakitlib-1.7.119.dist-info → arpakitlib-1.7.121.dist-info}/NOTICE +0 -0
- {arpakitlib-1.7.119.dist-info → arpakitlib-1.7.121.dist-info}/WHEEL +0 -0
- {arpakitlib-1.7.119.dist-info → arpakitlib-1.7.121.dist-info}/entry_points.txt +0 -0
@@ -8,9 +8,7 @@ def start_operation_executor_worker_for_dev():
|
|
8
8
|
setup_logging()
|
9
9
|
worker = OperationExecutorWorker(
|
10
10
|
sqlalchemy_db=get_cached_sqlalchemy_db(),
|
11
|
-
operation_executor=OperationExecutor(sqlalchemy_db=get_cached_sqlalchemy_db())
|
12
|
-
filter_operation_types=None,
|
13
|
-
startup_funcs=[lambda: print("hello")]
|
11
|
+
operation_executor=OperationExecutor(sqlalchemy_db=get_cached_sqlalchemy_db())
|
14
12
|
)
|
15
13
|
worker.sync_safe_run()
|
16
14
|
|
@@ -8,8 +8,7 @@ def start_create_scheduled_operation_worker_for_dev():
|
|
8
8
|
setup_logging()
|
9
9
|
worker = ScheduledOperationCreatorWorker(
|
10
10
|
sqlalchemy_db=get_cached_sqlalchemy_db(),
|
11
|
-
scheduled_operations=SCHEDULED_OPERATIONS
|
12
|
-
startup_funcs=[lambda: print("hello")]
|
11
|
+
scheduled_operations=SCHEDULED_OPERATIONS
|
13
12
|
)
|
14
13
|
worker.sync_safe_run()
|
15
14
|
|
@@ -1,21 +0,0 @@
|
|
1
|
-
from functools import lru_cache
|
2
|
-
|
3
|
-
from arpakitlib.ar_operation_execution_util import ScheduledOperationCreatorWorker
|
4
|
-
from src.db.util import get_cached_sqlalchemy_db
|
5
|
-
|
6
|
-
|
7
|
-
def create_scheduled_operation_creator_worker() -> ScheduledOperationCreatorWorker:
|
8
|
-
from src.operation_execution.scheduled_operations import SCHEDULED_OPERATIONS
|
9
|
-
scheduled_operation_creator_worker = ScheduledOperationCreatorWorker(
|
10
|
-
sqlalchemy_db=get_cached_sqlalchemy_db(),
|
11
|
-
scheduled_operations=SCHEDULED_OPERATIONS,
|
12
|
-
startup_funcs=[
|
13
|
-
get_cached_sqlalchemy_db().init
|
14
|
-
]
|
15
|
-
)
|
16
|
-
return scheduled_operation_creator_worker
|
17
|
-
|
18
|
-
|
19
|
-
@lru_cache()
|
20
|
-
def get_scheduled_operation_creator_worker() -> ScheduledOperationCreatorWorker:
|
21
|
-
return create_scheduled_operation_creator_worker()
|
@@ -2,7 +2,6 @@ arpakitlib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
2
|
arpakitlib/_arpakit_project_template/.gitignore,sha256=Q8n7q3-hKsnFVN5NcACPs71Z9t5EtyjK8HOp0FMA5cg,428
|
3
3
|
arpakitlib/_arpakit_project_template/.python-version,sha256=XMd40XBnlTFfBSmMldd-7VdqXNyFCy6wtxhw5e1mnhc,7
|
4
4
|
arpakitlib/_arpakit_project_template/ARPAKITLIB,sha256=3-iAkMXtesLzJXHw_IIv2k2M0oH8cTjHzW22Vvbi0IE,4
|
5
|
-
arpakitlib/_arpakit_project_template/AUTHOR.md,sha256=d5QAx-1vbHfYYABpNQ0Yfjaxsw8UnfXhcLVirz6lMyo,45
|
6
5
|
arpakitlib/_arpakit_project_template/LICENSE,sha256=GPEDQMam2r7FSTYqM1mm7aKnxLaWcBotH7UvQtea-ec,11355
|
7
6
|
arpakitlib/_arpakit_project_template/NOTICE,sha256=95aUzaPJjVpDsGAsNzVnq7tHTxAl0s5UFznCTkVCau4,763
|
8
7
|
arpakitlib/_arpakit_project_template/README.md,sha256=EEoHPZrJQtLS3fKD3JvoPhkGhjfuDihxK5fmAGwihCQ,65
|
@@ -109,9 +108,9 @@ arpakitlib/_arpakit_project_template/src/operation_execution/__init__.py,sha256=
|
|
109
108
|
arpakitlib/_arpakit_project_template/src/operation_execution/const.py,sha256=HjupGEDUWVijQlbzxZPI9vBbAVOETUYzYU9pdnc9IcI,176
|
110
109
|
arpakitlib/_arpakit_project_template/src/operation_execution/operation_executor.py,sha256=TuAlF3QPJq-Zsq693NHQ00dvCWAzuwce2q6ozesWFYY,725
|
111
110
|
arpakitlib/_arpakit_project_template/src/operation_execution/scheduled_operations.py,sha256=N6erGXOf_Qm3soPzuraMoc1jLXA6M1KfNsp0l4aAWBM,973
|
112
|
-
arpakitlib/_arpakit_project_template/src/operation_execution/start_operation_executor_worker_for_not_prod.py,sha256
|
113
|
-
arpakitlib/_arpakit_project_template/src/operation_execution/start_scheduled_operation_creator_worker_for_not_prod.py,sha256=
|
114
|
-
arpakitlib/_arpakit_project_template/src/operation_execution/util.py,sha256=
|
111
|
+
arpakitlib/_arpakit_project_template/src/operation_execution/start_operation_executor_worker_for_not_prod.py,sha256=-o1mL3UtKPKAvXV-IOrafEaUcE5A517ejUPxMTtTaDk,589
|
112
|
+
arpakitlib/_arpakit_project_template/src/operation_execution/start_scheduled_operation_creator_worker_for_not_prod.py,sha256=c8E7T-xvjutcpN9IDHyHh0C7U-LaVqWe-71iDIXyHWg,589
|
113
|
+
arpakitlib/_arpakit_project_template/src/operation_execution/util.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
115
114
|
arpakitlib/_arpakit_project_template/src/test_data/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
116
115
|
arpakitlib/_arpakit_project_template/src/test_data/make_test_data_1.py,sha256=3WVPgRsNCIxWpA-6t_Phe-nFULdHPhS1S_DO11XRmqk,80
|
117
116
|
arpakitlib/_arpakit_project_template/src/test_data/make_test_data_2.py,sha256=MVDc71sj5I1muWin50GwrSxMwYtOOSDOtRmeFErHcXs,80
|
@@ -185,9 +184,9 @@ arpakitlib/ar_str_util.py,sha256=yU5gOwNXUQaH5b_tM5t6fXUn9oUcv5EQbVnq2wXXIpQ,337
|
|
185
184
|
arpakitlib/ar_type_util.py,sha256=BJ5FcS5Vkj9KFNJgoh0qGLazy-wCubqhND3vle0yOTo,3717
|
186
185
|
arpakitlib/ar_yookassa_api_client_util.py,sha256=sh4fcUkAkdOetFn9JYoTvjcSXP-M1wU04KEY-ECLfLg,5137
|
187
186
|
arpakitlib/ar_zabbix_api_client_util.py,sha256=Q-VR4MvoZ9aHwZeYZr9G3LwN-ANx1T5KFmF6pvPM-9M,6402
|
188
|
-
arpakitlib-1.7.
|
189
|
-
arpakitlib-1.7.
|
190
|
-
arpakitlib-1.7.
|
191
|
-
arpakitlib-1.7.
|
192
|
-
arpakitlib-1.7.
|
193
|
-
arpakitlib-1.7.
|
187
|
+
arpakitlib-1.7.121.dist-info/LICENSE,sha256=GPEDQMam2r7FSTYqM1mm7aKnxLaWcBotH7UvQtea-ec,11355
|
188
|
+
arpakitlib-1.7.121.dist-info/METADATA,sha256=1wxBDG287fBxLvkKFcqRryrQA7bXD04FythwCzQibr0,3176
|
189
|
+
arpakitlib-1.7.121.dist-info/NOTICE,sha256=95aUzaPJjVpDsGAsNzVnq7tHTxAl0s5UFznCTkVCau4,763
|
190
|
+
arpakitlib-1.7.121.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
|
191
|
+
arpakitlib-1.7.121.dist-info/entry_points.txt,sha256=36xqR3PJFT2kuwjkM_EqoIy0qFUDPKSm_mJaI7emewE,87
|
192
|
+
arpakitlib-1.7.121.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|