brynq-sdk-task-scheduler 4.0.1__tar.gz → 4.0.3__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.0
2
2
  Name: brynq_sdk_task_scheduler
3
- Version: 4.0.1
3
+ Version: 4.0.3
4
4
  Summary: Code to execute tasks in BrynQ.com with the task scheduler
5
5
  Home-page: UNKNOWN
6
6
  Author: BrynQ
@@ -126,7 +126,7 @@ class TaskScheduler:
126
126
  if self.started_local:
127
127
  self.mysql.raw_query(f"INSERT INTO `task_scheduler_log` (reload_id, task_id, reload_status, started_at, finished_at) VALUES ({self.run_id}, {self.task_id}, 'Running', '{self.started_at}', null)", insert=True)
128
128
 
129
- self.mysql.update('task_scheduler', ['status', 'step_nr'], ['RUNNING', 1], f'WHERE `id` = {self.task_id}')
129
+ self.mysql.update('task_scheduler', ['status', 'step_nr', 'run_instant'], ['RUNNING', 1, 0], f'WHERE `id` = {self.task_id}')
130
130
 
131
131
  def db_variable(self, variable_name: str):
132
132
  """
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.0
2
2
  Name: brynq-sdk-task-scheduler
3
- Version: 4.0.1
3
+ Version: 4.0.3
4
4
  Summary: Code to execute tasks in BrynQ.com with the task scheduler
5
5
  Home-page: UNKNOWN
6
6
  Author: BrynQ
@@ -1,5 +1,4 @@
1
1
  brynq-sdk-brynq<5,>=4
2
2
  brynq-sdk-functions<3,>=2
3
3
  brynq-sdk-mysql<4,>=3
4
- brynq-sdk-mandrill<3,>=2
5
- brynq-sdk-elastic<4,>=3
4
+ brynq-sdk-mandrill<4,>=2
@@ -2,7 +2,7 @@ from setuptools import setup, find_namespace_packages
2
2
 
3
3
  setup(
4
4
  name='brynq_sdk_task_scheduler',
5
- version='4.0.1',
5
+ version='4.0.3',
6
6
  description='Code to execute tasks in BrynQ.com with the task scheduler',
7
7
  long_description='Code to execute tasks in the BrynQ.com platform with the task scheduler',
8
8
  author='BrynQ',
@@ -13,8 +13,7 @@ setup(
13
13
  'brynq-sdk-brynq>=4,<5',
14
14
  'brynq-sdk-functions>=2,<3',
15
15
  'brynq-sdk-mysql>=3,<4',
16
- 'brynq-sdk-mandrill>=2,<3',
17
- 'brynq-sdk-elastic>=3,<4'
16
+ 'brynq-sdk-mandrill>=2,<4'
18
17
  ],
19
18
  zip_safe=False,
20
- )
19
+ )