t2d2-sdk 2.2.2__tar.gz → 2.3.1__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: 2.1
2
2
  Name: t2d2-sdk
3
- Version: 2.2.2
3
+ Version: 2.3.1
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,4 +1,5 @@
1
1
  myst-parser
2
2
  jinja2==3.1
3
3
  requests
4
- boto3
4
+ boto3
5
+ sentry-sdk
@@ -22,7 +22,7 @@ extensions = ['sphinx.ext.autodoc', 'sphinx.ext.coverage', 'sphinx.ext.napoleon'
22
22
  templates_path = ['_templates']
23
23
  exclude_patterns = []
24
24
 
25
-
25
+ myst_heading_anchors = 3
26
26
 
27
27
  # -- Options for HTML output -------------------------------------------------
28
28
  # https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
@@ -15,6 +15,7 @@ requires-python = ">=3.8"
15
15
  dependencies = [
16
16
  "boto3",
17
17
  "requests",
18
+ "sentry_sdk"
18
19
  ]
19
20
  classifiers = [
20
21
  "Programming Language :: Python :: 3",
@@ -12,5 +12,5 @@ __version__: str
12
12
  __version_tuple__: VERSION_TUPLE
13
13
  version_tuple: VERSION_TUPLE
14
14
 
15
- __version__ = version = '2.2.2'
16
- __version_tuple__ = version_tuple = (2, 2, 2)
15
+ __version__ = version = '2.3.1'
16
+ __version_tuple__ = version_tuple = (2, 3, 1)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: t2d2-sdk
3
- Version: 2.2.2
3
+ Version: 2.3.1
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,2 +1,3 @@
1
1
  boto3
2
2
  requests
3
+ sentry_sdk
@@ -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