truto-python-sdk 0.3.0__py3-none-any.whl → 0.3.1__py3-none-any.whl

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.
@@ -8,7 +8,7 @@ A Python3 SDK for the Truto API.
8
8
  """
9
9
 
10
10
  __title__ = 'truto_python_sdk'
11
- __version__ = '0.3.0'
11
+ __version__ = '0.3.1'
12
12
  __author__ = 'Roopendra Talekar <roopendra@truto.dev>'
13
13
  __license__ = 'MIT'
14
14
  __copyright__ = 'Copyright 2023 Yin Yang Inc.'
@@ -1,5 +1,6 @@
1
1
  import aiohttp
2
2
 
3
+ from . import __version__
3
4
  from .dict_to_query_string import dict_to_query_string
4
5
  from .errors import raise_for_status
5
6
  from .alarm import Alarm
@@ -52,7 +53,8 @@ class TrutoApi:
52
53
  self.headers = {
53
54
  "Authorization": f"Bearer {self.token}",
54
55
  "Content-Type": "application/json",
55
- "Accept": "application/json"
56
+ "Accept": "application/json",
57
+ "User-Agent": f"truto-python-sdk/{__version__}",
56
58
  }
57
59
  self.api_tokens = ApiToken(self)
58
60
  self.environments = Environment(self)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: truto-python-sdk
3
- Version: 0.3.0
3
+ Version: 0.3.1
4
4
  Summary: Python3 SDK for the Truto API
5
5
  License-File: LICENSE
6
6
  Author: Roopendra Talekar
@@ -1,4 +1,4 @@
1
- truto_python_sdk/__init__.py,sha256=MuyCso3uRIYLCvuHAlaaFnXhH4Y7hLpswMLBTpMEhIA,351
1
+ truto_python_sdk/__init__.py,sha256=bIkFk73YKSMklqkOINEaSh_L0V_waofvi2fxAAr1L4k,351
2
2
  truto_python_sdk/alarm.py,sha256=BAFbiP3UaBAg4qFhkihYM3ajSd6ZPtseCy6y8ZQLk3o,1020
3
3
  truto_python_sdk/analytics.py,sha256=27_0-KhqhfE80rvhUzaxcfdRaPXvjCJoZvWcSh76Iqw,1593
4
4
  truto_python_sdk/api_token.py,sha256=Jku23c-DrnAtsxM0Cds2kwozCSkVhRWwiAHpOBgevgQ,498
@@ -37,7 +37,7 @@ truto_python_sdk/sync_job_run_state.py,sha256=lV-FTv1AN1wen92fF0feZA6WPqkEz-wF54
37
37
  truto_python_sdk/sync_job_template.py,sha256=Fmg87bk9ElewX1lmKGHBnri6hWHS_rvUvO_t9VwYKZM,1269
38
38
  truto_python_sdk/team.py,sha256=JnV6HO4nnYKY2iOipatBfzVlDKgo8VNj13-ESU9FKuE,425
39
39
  truto_python_sdk/tenant.py,sha256=dpNPi5r0oXsfQfNx4Z0jSUIbBLv7CttA3D4yoG8FJMA,1272
40
- truto_python_sdk/truto_api.py,sha256=VZMTkqTnjRXbP2dXkousYr1E9oBJETBWcaNmt98nL_A,7098
40
+ truto_python_sdk/truto_api.py,sha256=vQGGoEMvkWWEy9tzgMFcx7ao3kr7yBXJTaWGC9qKdnk,7186
41
41
  truto_python_sdk/unified_api.py,sha256=GAaLBTy8yvNT1b3_xsz26XBohvOa-WgRGV6jpFUsBmU,2645
42
42
  truto_python_sdk/unified_model.py,sha256=gxC5vsegcRBclFt8hrO3Boh9s6-DtIyut19vuizNpVE,1844
43
43
  truto_python_sdk/unified_model_resource_method.py,sha256=8T4GHd4NacSklfM3LOKOSMqjXa3sKdDp3cjXx3G45xA,1520
@@ -45,7 +45,7 @@ truto_python_sdk/user.py,sha256=756FsS96nql5D0ig7a_nUPnJgStP2Za_OHUuqz-T1OQ,425
45
45
  truto_python_sdk/webhook.py,sha256=76MFujeBdUZTcivNgI1qPUQN2qbuVdLM3iJdf0DQe_s,1417
46
46
  truto_python_sdk/workflow.py,sha256=pPfkjA9Jhq0LrFj0uwuPLGoKwrsSRTrizlWaDcdEBqc,1082
47
47
  truto_python_sdk/workflow_run.py,sha256=71m-6bM-pmysS_i4lv5OH7vI6pXkaKk59-Dkavhb17A,1165
48
- truto_python_sdk-0.3.0.dist-info/METADATA,sha256=C4wuSw1rLDWC1NLwXNTc8HDbROXiwg-INIvri9lNZeQ,4564
49
- truto_python_sdk-0.3.0.dist-info/WHEEL,sha256=L-WvLdSBvJWHXv5zrQxDvNRnIgoBzLUpcbuiw19KCuQ,88
50
- truto_python_sdk-0.3.0.dist-info/licenses/LICENSE,sha256=l6HsZ8Od004T_53MFVmUGPU9WtTg3Lclh-deEnGp5pY,1074
51
- truto_python_sdk-0.3.0.dist-info/RECORD,,
48
+ truto_python_sdk-0.3.1.dist-info/METADATA,sha256=eAZKEaeEUzYD4rxjsQ5xK0z7IufzBeizmrLtcqB79uQ,4564
49
+ truto_python_sdk-0.3.1.dist-info/WHEEL,sha256=L-WvLdSBvJWHXv5zrQxDvNRnIgoBzLUpcbuiw19KCuQ,88
50
+ truto_python_sdk-0.3.1.dist-info/licenses/LICENSE,sha256=l6HsZ8Od004T_53MFVmUGPU9WtTg3Lclh-deEnGp5pY,1074
51
+ truto_python_sdk-0.3.1.dist-info/RECORD,,