arpakitlib 1.8.57__py3-none-any.whl → 1.8.58__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.
@@ -2,6 +2,7 @@ from datetime import timedelta
2
2
  from typing import Any
3
3
 
4
4
  from arpakitlib.ar_base_worker_util import BaseWorker
5
+ from arpakitlib.ar_json_util import transfer_data_to_json_str_to_data
5
6
  from arpakitlib.ar_sleep_util import sync_safe_sleep, async_safe_sleep
6
7
  from arpakitlib.ar_sqlalchemy_util import SQLAlchemyDb
7
8
  from arpakitlib.ar_type_util import raise_for_type
@@ -45,7 +46,10 @@ class ScheduledOperationCreatorWorker(BaseWorker):
45
46
  with self.sqlalchemy_db.new_session() as session:
46
47
  operation_dbm = OperationDBM(
47
48
  type=scheduled_operation.type,
48
- input_data=scheduled_operation.input_data,
49
+ input_data=transfer_data_to_json_str_to_data(
50
+ data=scheduled_operation.input_data,
51
+ fast=True
52
+ ),
49
53
  status=OperationDBM.Statuses.waiting_for_execution
50
54
  )
51
55
  session.add(operation_dbm)
@@ -78,7 +82,10 @@ class ScheduledOperationCreatorWorker(BaseWorker):
78
82
  async with self.sqlalchemy_db.new_async_session() as async_session:
79
83
  operation_dbm = OperationDBM(
80
84
  type=scheduled_operation.type,
81
- input_data=scheduled_operation.input_data
85
+ input_data=transfer_data_to_json_str_to_data(
86
+ data=scheduled_operation.input_data,
87
+ fast=True
88
+ ),
82
89
  )
83
90
  async_session.add(operation_dbm)
84
91
  await async_session.commit()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: arpakitlib
3
- Version: 1.8.57
3
+ Version: 1.8.58
4
4
  Summary: arpakitlib
5
5
  License: Apache-2.0
6
6
  Keywords: arpakitlib,arpakit,arpakit-company,arpakitcompany,arpakit_company
@@ -173,7 +173,7 @@ arpakitlib/_arpakit_project_template_v_5/project/more/helloworld,sha256=eH7Hbcr9
173
173
  arpakitlib/_arpakit_project_template_v_5/project/operation_execution/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
174
174
  arpakitlib/_arpakit_project_template_v_5/project/operation_execution/const.py,sha256=dcvj5C9E2F2KCsGZPBBncQf_EvVJAC1qQgnyD8P4ZEw,6
175
175
  arpakitlib/_arpakit_project_template_v_5/project/operation_execution/operation_executor_worker.py,sha256=pAcvuAVgWc86Vyx3-I21rPvBr9ZxUNaLRoS7VEwkETw,12129
176
- arpakitlib/_arpakit_project_template_v_5/project/operation_execution/scheduled_operation_creator_worker.py,sha256=yna75650lZUy7GlV2TYq2_2DOp6zL1hO45g4IMcYE70,4211
176
+ arpakitlib/_arpakit_project_template_v_5/project/operation_execution/scheduled_operation_creator_worker.py,sha256=WzZC6r0GVSwOpphsxqpRZIdeewK_wzi3YshjLOutYGA,4524
177
177
  arpakitlib/_arpakit_project_template_v_5/project/operation_execution/scheduled_operations.py,sha256=WZyRWzrLvGre_1TjWy0I8V7WfKFZJ0f_8LuZZNrzgy8,1712
178
178
  arpakitlib/_arpakit_project_template_v_5/project/operation_execution/util.py,sha256=nau1QnUh37CL6rfniwQ7rfQkh5Rf8qE01ruFdNv4H8k,785
179
179
  arpakitlib/_arpakit_project_template_v_5/project/resource/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -371,8 +371,8 @@ arpakitlib/ar_str_util.py,sha256=NisRtt4xwE7qthkkXzL49jvGKMGlvJ4KKcvpQfmRlIw,441
371
371
  arpakitlib/ar_type_util.py,sha256=Cs_tef-Fc5xeyAF54KgISCsP11NHyzIsglm4S3Xx7iM,4049
372
372
  arpakitlib/ar_yookassa_api_client_util.py,sha256=VozuZeCJjmLd1zj2BdC9WfiAQ3XYOrIMsdpNK-AUlm0,5347
373
373
  arpakitlib/ar_zabbix_api_client_util.py,sha256=oHNS-2WckQxp7cVqsRne9JgkP9I7RQGBKVKZSMLN8zw,9427
374
- arpakitlib-1.8.57.dist-info/LICENSE,sha256=GPEDQMam2r7FSTYqM1mm7aKnxLaWcBotH7UvQtea-ec,11355
375
- arpakitlib-1.8.57.dist-info/METADATA,sha256=M5NKuwBJkl4GnFxvWNheokMBOkB7rl25fX8Q1WAcMZ8,3475
376
- arpakitlib-1.8.57.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
377
- arpakitlib-1.8.57.dist-info/entry_points.txt,sha256=36xqR3PJFT2kuwjkM_EqoIy0qFUDPKSm_mJaI7emewE,87
378
- arpakitlib-1.8.57.dist-info/RECORD,,
374
+ arpakitlib-1.8.58.dist-info/LICENSE,sha256=GPEDQMam2r7FSTYqM1mm7aKnxLaWcBotH7UvQtea-ec,11355
375
+ arpakitlib-1.8.58.dist-info/METADATA,sha256=MPUxL4i6RQo2novb8HkvoMFybh2_CWtUUaNpVku__gs,3475
376
+ arpakitlib-1.8.58.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
377
+ arpakitlib-1.8.58.dist-info/entry_points.txt,sha256=36xqR3PJFT2kuwjkM_EqoIy0qFUDPKSm_mJaI7emewE,87
378
+ arpakitlib-1.8.58.dist-info/RECORD,,