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.
@@ -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()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: arpakitlib
3
- Version: 1.7.119
3
+ Version: 1.7.121
4
4
  Summary: arpakitlib
5
5
  License: Apache-2.0
6
6
  Keywords: arpakitlib,arpakit,arpakit-company,arpakitcompany,arpakit_company
@@ -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=uY7uI6YCiC86sPJxAHthQywmDfHa1khqWkjJ_Gds2hQ,674
113
- arpakitlib/_arpakit_project_template/src/operation_execution/start_scheduled_operation_creator_worker_for_not_prod.py,sha256=ZS0SP15aRc3PpSdbTVphfyN2it6BO6cRSkr2Ql17eRE,637
114
- arpakitlib/_arpakit_project_template/src/operation_execution/util.py,sha256=T2PZONVsvOTqjgPWpKLoqK6hll2IzgI7BmVtMjPFyWI,789
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.119.dist-info/LICENSE,sha256=GPEDQMam2r7FSTYqM1mm7aKnxLaWcBotH7UvQtea-ec,11355
189
- arpakitlib-1.7.119.dist-info/METADATA,sha256=e3CR_a7ULwtF32_8w3-hD2aUV6gvp_YcUw0Kle-rHsE,3176
190
- arpakitlib-1.7.119.dist-info/NOTICE,sha256=95aUzaPJjVpDsGAsNzVnq7tHTxAl0s5UFznCTkVCau4,763
191
- arpakitlib-1.7.119.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
192
- arpakitlib-1.7.119.dist-info/entry_points.txt,sha256=36xqR3PJFT2kuwjkM_EqoIy0qFUDPKSm_mJaI7emewE,87
193
- arpakitlib-1.7.119.dist-info/RECORD,,
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,,
@@ -1,4 +0,0 @@
1
- # Author
2
-
3
- - arpakit.com
4
- - support@arpakit.com