brynq-sdk-task-scheduler 2.0.5__tar.gz → 2.0.6__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: 2.0.5
3
+ Version: 2.0.6
4
4
  Summary: Code to execute tasks in BrynQ.com with the task scheduler
5
5
  Home-page: UNKNOWN
6
6
  Author: BrynQ
@@ -146,7 +146,7 @@ class TaskScheduler(BrynQ):
146
146
  ]
147
147
  :return: error (str) or response of mysql
148
148
  """
149
- warnings.deprecated("Execution steps are deprecated, please stop calling this method. It does nothing anymore")
149
+ warnings.warn("Execution steps are deprecated, please stop calling this method. It does nothing anymore", DeprecationWarning)
150
150
  return
151
151
 
152
152
  def _check_if_task_manual_started(self):
@@ -346,7 +346,7 @@ class TaskScheduler(BrynQ):
346
346
  :return: nothing
347
347
  """
348
348
  # Update the step number in the task_scheduler table
349
- warnings.deprecated("Execution steps are deprecated, please stop calling this method. It does nothing anymore")
349
+ warnings.warn("Execution steps are deprecated, please stop calling this method. It does nothing anymore", DeprecationWarning)
350
350
  return
351
351
 
352
352
  def error_handling(self, e: Exception, breaking=True, send_to_teams=False):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.0
2
2
  Name: brynq-sdk-task-scheduler
3
- Version: 2.0.5
3
+ Version: 2.0.6
4
4
  Summary: Code to execute tasks in BrynQ.com with the task scheduler
5
5
  Home-page: UNKNOWN
6
6
  Author: BrynQ
@@ -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='2.0.5',
5
+ version='2.0.6',
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',