t2d2-sdk 1.3.dev1__tar.gz → 1.4.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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: t2d2-sdk
3
- Version: 1.3.dev1
3
+ Version: 1.4.0
4
4
  Summary: T2D2 SDK
5
5
  Author-email: Badri Hiriyur <badri@t2d2.ai>
6
6
  Project-URL: Homepage, https://t2d2.ai
@@ -54,6 +54,7 @@ With this client, you can interface with the app and get access to most of the f
54
54
 
55
55
  ```python
56
56
  t2d2.set_project(PROJECT_ID)
57
+ project = t2d2.get_project()
57
58
  data = t2d2.get_images()
58
59
  ...
59
60
  ```
@@ -38,6 +38,7 @@ With this client, you can interface with the app and get access to most of the f
38
38
 
39
39
  ```python
40
40
  t2d2.set_project(PROJECT_ID)
41
+ project = t2d2.get_project()
41
42
  data = t2d2.get_images()
42
43
  ...
43
44
  ```
@@ -12,5 +12,5 @@ __version__: str
12
12
  __version_tuple__: VERSION_TUPLE
13
13
  version_tuple: VERSION_TUPLE
14
14
 
15
- __version__ = version = '1.3.dev1'
16
- __version_tuple__ = version_tuple = (1, 3, 'dev1')
15
+ __version__ = version = '1.4.0'
16
+ __version_tuple__ = version_tuple = (1, 4, 0)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: t2d2-sdk
3
- Version: 1.3.dev1
3
+ Version: 1.4.0
4
4
  Summary: T2D2 SDK
5
5
  Author-email: Badri Hiriyur <badri@t2d2.ai>
6
6
  Project-URL: Homepage, https://t2d2.ai
@@ -54,6 +54,7 @@ With this client, you can interface with the app and get access to most of the f
54
54
 
55
55
  ```python
56
56
  t2d2.set_project(PROJECT_ID)
57
+ project = t2d2.get_project()
57
58
  data = t2d2.get_images()
58
59
  ...
59
60
  ```
@@ -210,7 +210,7 @@ class T2D2(object):
210
210
  def get_images(self, image_ids=None, params=None):
211
211
  """Return image list based on specified ids"""
212
212
  if not self.project:
213
- raise ValueError("Project not set")
213
+ raise ValueError("Project not set yet")
214
214
 
215
215
  # all images in project
216
216
  if image_ids is None:
File without changes
File without changes
File without changes
File without changes
File without changes