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.
- {brynq_sdk_task_scheduler-2.0.4 → brynq_sdk_task_scheduler-2.0.6}/PKG-INFO +1 -1
- {brynq_sdk_task_scheduler-2.0.4 → brynq_sdk_task_scheduler-2.0.6}/brynq_sdk/task_scheduler/task_scheduler.py +7 -7
- {brynq_sdk_task_scheduler-2.0.4 → brynq_sdk_task_scheduler-2.0.6}/brynq_sdk_task_scheduler.egg-info/PKG-INFO +1 -1
- {brynq_sdk_task_scheduler-2.0.4 → brynq_sdk_task_scheduler-2.0.6}/setup.py +1 -1
- {brynq_sdk_task_scheduler-2.0.4 → brynq_sdk_task_scheduler-2.0.6}/brynq_sdk/task_scheduler/__init__.py +0 -0
- {brynq_sdk_task_scheduler-2.0.4 → brynq_sdk_task_scheduler-2.0.6}/brynq_sdk_task_scheduler.egg-info/SOURCES.txt +0 -0
- {brynq_sdk_task_scheduler-2.0.4 → brynq_sdk_task_scheduler-2.0.6}/brynq_sdk_task_scheduler.egg-info/dependency_links.txt +0 -0
- {brynq_sdk_task_scheduler-2.0.4 → brynq_sdk_task_scheduler-2.0.6}/brynq_sdk_task_scheduler.egg-info/not-zip-safe +0 -0
- {brynq_sdk_task_scheduler-2.0.4 → brynq_sdk_task_scheduler-2.0.6}/brynq_sdk_task_scheduler.egg-info/requires.txt +0 -0
- {brynq_sdk_task_scheduler-2.0.4 → brynq_sdk_task_scheduler-2.0.6}/brynq_sdk_task_scheduler.egg-info/top_level.txt +0 -0
- {brynq_sdk_task_scheduler-2.0.4 → brynq_sdk_task_scheduler-2.0.6}/setup.cfg +0 -0
|
@@ -9,11 +9,11 @@ import pandas as pd
|
|
|
9
9
|
import json
|
|
10
10
|
import pymysql
|
|
11
11
|
import requests
|
|
12
|
-
from
|
|
13
|
-
from
|
|
14
|
-
from
|
|
15
|
-
from
|
|
16
|
-
from
|
|
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.
|
|
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.
|
|
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):
|
|
@@ -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
|
+
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',
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|