t2d2-sdk 2.2.2__tar.gz → 2.3.0__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.
- {t2d2_sdk-2.2.2/src/t2d2_sdk.egg-info → t2d2_sdk-2.3.0}/PKG-INFO +2 -1
- {t2d2_sdk-2.2.2 → t2d2_sdk-2.3.0}/pyproject.toml +1 -0
- {t2d2_sdk-2.2.2 → t2d2_sdk-2.3.0}/src/_version.py +2 -2
- {t2d2_sdk-2.2.2 → t2d2_sdk-2.3.0/src/t2d2_sdk.egg-info}/PKG-INFO +2 -1
- {t2d2_sdk-2.2.2 → t2d2_sdk-2.3.0}/src/t2d2_sdk.egg-info/requires.txt +1 -0
- {t2d2_sdk-2.2.2 → t2d2_sdk-2.3.0}/src/t2d2_sdk.py +11 -0
- {t2d2_sdk-2.2.2 → t2d2_sdk-2.3.0}/.github/workflows/publish_pypi.yaml +0 -0
- {t2d2_sdk-2.2.2 → t2d2_sdk-2.3.0}/.github/workflows/sphinx.yml +0 -0
- {t2d2_sdk-2.2.2 → t2d2_sdk-2.3.0}/.gitignore +0 -0
- {t2d2_sdk-2.2.2 → t2d2_sdk-2.3.0}/LICENSE +0 -0
- {t2d2_sdk-2.2.2 → t2d2_sdk-2.3.0}/README.md +0 -0
- {t2d2_sdk-2.2.2 → t2d2_sdk-2.3.0}/docs/Makefile +0 -0
- {t2d2_sdk-2.2.2 → t2d2_sdk-2.3.0}/docs/make.bat +0 -0
- {t2d2_sdk-2.2.2 → t2d2_sdk-2.3.0}/docs/requirements.txt +0 -0
- {t2d2_sdk-2.2.2 → t2d2_sdk-2.3.0}/docs/source/conf.py +0 -0
- {t2d2_sdk-2.2.2 → t2d2_sdk-2.3.0}/docs/source/index.rst +0 -0
- {t2d2_sdk-2.2.2 → t2d2_sdk-2.3.0}/setup.cfg +0 -0
- {t2d2_sdk-2.2.2 → t2d2_sdk-2.3.0}/src/t2d2_sdk.egg-info/SOURCES.txt +0 -0
- {t2d2_sdk-2.2.2 → t2d2_sdk-2.3.0}/src/t2d2_sdk.egg-info/dependency_links.txt +0 -0
- {t2d2_sdk-2.2.2 → t2d2_sdk-2.3.0}/src/t2d2_sdk.egg-info/top_level.txt +0 -0
- {t2d2_sdk-2.2.2 → t2d2_sdk-2.3.0}/tests/t2d2_test.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: t2d2-sdk
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.3.0
|
|
4
4
|
Summary: T2D2 SDK
|
|
5
5
|
Author-email: Badri Hiriyur <badri@t2d2.ai>
|
|
6
6
|
Project-URL: Homepage, https://t2d2.ai
|
|
@@ -13,6 +13,7 @@ Description-Content-Type: text/markdown
|
|
|
13
13
|
License-File: LICENSE
|
|
14
14
|
Requires-Dist: boto3
|
|
15
15
|
Requires-Dist: requests
|
|
16
|
+
Requires-Dist: sentry_sdk
|
|
16
17
|
|
|
17
18
|
## Description
|
|
18
19
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: t2d2-sdk
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.3.0
|
|
4
4
|
Summary: T2D2 SDK
|
|
5
5
|
Author-email: Badri Hiriyur <badri@t2d2.ai>
|
|
6
6
|
Project-URL: Homepage, https://t2d2.ai
|
|
@@ -13,6 +13,7 @@ Description-Content-Type: text/markdown
|
|
|
13
13
|
License-File: LICENSE
|
|
14
14
|
Requires-Dist: boto3
|
|
15
15
|
Requires-Dist: requests
|
|
16
|
+
Requires-Dist: sentry_sdk
|
|
16
17
|
|
|
17
18
|
## Description
|
|
18
19
|
|
|
@@ -16,12 +16,23 @@ from urllib.parse import urlencode, urlparse
|
|
|
16
16
|
|
|
17
17
|
import boto3
|
|
18
18
|
import requests
|
|
19
|
+
import sentry_sdk
|
|
20
|
+
|
|
19
21
|
|
|
20
22
|
TIMEOUT = 60
|
|
21
23
|
BASE_URL = os.getenv("T2D2_API_URL", "https://api-v3.t2d2.ai/api/")
|
|
22
24
|
# DEV https://api-v3-dev.t2d2.ai/api/
|
|
23
25
|
|
|
24
26
|
|
|
27
|
+
####################################################################################################
|
|
28
|
+
sentry_sdk.init(
|
|
29
|
+
dsn="https://fdaf778d002a179fa64754611aa9ace0@sentry.t2d2.ai/5",
|
|
30
|
+
# Set traces_sample_rate to 1.0 to capture 100%
|
|
31
|
+
# of transactions for performance monitoring.
|
|
32
|
+
traces_sample_rate=1.0,
|
|
33
|
+
)
|
|
34
|
+
####################################################################################################
|
|
35
|
+
|
|
25
36
|
####################################################################################################
|
|
26
37
|
# COMMON HELPER FUNCTIONS
|
|
27
38
|
####################################################################################################
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|