brynq-sdk-task-scheduler 2.0.4__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.4
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
@@ -9,11 +9,11 @@ import pandas as pd
9
9
  import json
10
10
  import pymysql
11
11
  import requests
12
- from brynq_sdk_mandrill import MailClient
13
- from brynq_sdk_functions import Functions
14
- from brynq_sdk_mysql import MySQL
15
- from brynq_sdk_elastic import Elastic
16
- from brynq_sdk_brynq import BrynQ
12
+ from brynq_sdk.mandrill import MailClient
13
+ from brynq_sdk.functions import Functions
14
+ from brynq_sdk.mysql import MySQL
15
+ from brynq_sdk.elastic import Elastic
16
+ from brynq_sdk.brynq import BrynQ
17
17
  import warnings
18
18
  import re
19
19
  LOGGING_OPTIONS = Literal['MYSQL', 'ELASTIC']
@@ -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.4
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.4',
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',