wds-client 0.13.0__tar.gz → 0.14.0__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
Files changed (101) hide show
  1. {wds_client-0.13.0 → wds_client-0.14.0}/PKG-INFO +1 -1
  2. {wds_client-0.13.0 → wds_client-0.14.0}/README.md +10 -4
  3. {wds_client-0.13.0 → wds_client-0.14.0}/pyproject.toml +1 -1
  4. {wds_client-0.13.0 → wds_client-0.14.0}/setup.py +1 -1
  5. wds_client-0.14.0/test/test_collection.py +55 -0
  6. wds_client-0.14.0/test/test_collection_api.py +66 -0
  7. {wds_client-0.13.0 → wds_client-0.14.0}/test/test_instances_api.py +3 -3
  8. {wds_client-0.13.0 → wds_client-0.14.0}/wds_client/__init__.py +3 -1
  9. {wds_client-0.13.0 → wds_client-0.14.0}/wds_client/api/__init__.py +1 -0
  10. wds_client-0.14.0/wds_client/api/collection_api.py +1419 -0
  11. {wds_client-0.13.0 → wds_client-0.14.0}/wds_client/api/instances_api.py +28 -18
  12. {wds_client-0.13.0 → wds_client-0.14.0}/wds_client/api/records_api.py +3 -0
  13. {wds_client-0.13.0 → wds_client-0.14.0}/wds_client/api/schema_api.py +2 -0
  14. {wds_client-0.13.0 → wds_client-0.14.0}/wds_client/api_client.py +1 -1
  15. {wds_client-0.13.0 → wds_client-0.14.0}/wds_client/configuration.py +1 -1
  16. {wds_client-0.13.0 → wds_client-0.14.0}/wds_client/models/__init__.py +1 -0
  17. wds_client-0.14.0/wds_client/models/collection.py +99 -0
  18. {wds_client-0.13.0 → wds_client-0.14.0}/wds_client.egg-info/PKG-INFO +1 -1
  19. {wds_client-0.13.0 → wds_client-0.14.0}/wds_client.egg-info/SOURCES.txt +4 -0
  20. {wds_client-0.13.0 → wds_client-0.14.0}/setup.cfg +0 -0
  21. {wds_client-0.13.0 → wds_client-0.14.0}/test/test_app.py +0 -0
  22. {wds_client-0.13.0 → wds_client-0.14.0}/test/test_attribute_data_type.py +0 -0
  23. {wds_client-0.13.0 → wds_client-0.14.0}/test/test_attribute_schema.py +0 -0
  24. {wds_client-0.13.0 → wds_client-0.14.0}/test/test_attribute_schema_update.py +0 -0
  25. {wds_client-0.13.0 → wds_client-0.14.0}/test/test_backup_job.py +0 -0
  26. {wds_client-0.13.0 → wds_client-0.14.0}/test/test_backup_response.py +0 -0
  27. {wds_client-0.13.0 → wds_client-0.14.0}/test/test_backup_restore_request.py +0 -0
  28. {wds_client-0.13.0 → wds_client-0.14.0}/test/test_batch_operation.py +0 -0
  29. {wds_client-0.13.0 → wds_client-0.14.0}/test/test_batch_record_request.py +0 -0
  30. {wds_client-0.13.0 → wds_client-0.14.0}/test/test_batch_response.py +0 -0
  31. {wds_client-0.13.0 → wds_client-0.14.0}/test/test_build.py +0 -0
  32. {wds_client-0.13.0 → wds_client-0.14.0}/test/test_capabilities.py +0 -0
  33. {wds_client-0.13.0 → wds_client-0.14.0}/test/test_capabilities_api.py +0 -0
  34. {wds_client-0.13.0 → wds_client-0.14.0}/test/test_clone_job.py +0 -0
  35. {wds_client-0.13.0 → wds_client-0.14.0}/test/test_clone_response.py +0 -0
  36. {wds_client-0.13.0 → wds_client-0.14.0}/test/test_cloning_api.py +0 -0
  37. {wds_client-0.13.0 → wds_client-0.14.0}/test/test_commit.py +0 -0
  38. {wds_client-0.13.0 → wds_client-0.14.0}/test/test_error_response.py +0 -0
  39. {wds_client-0.13.0 → wds_client-0.14.0}/test/test_general_wds_information_api.py +0 -0
  40. {wds_client-0.13.0 → wds_client-0.14.0}/test/test_generic_job.py +0 -0
  41. {wds_client-0.13.0 → wds_client-0.14.0}/test/test_git.py +0 -0
  42. {wds_client-0.13.0 → wds_client-0.14.0}/test/test_import_api.py +0 -0
  43. {wds_client-0.13.0 → wds_client-0.14.0}/test/test_import_request.py +0 -0
  44. {wds_client-0.13.0 → wds_client-0.14.0}/test/test_job.py +0 -0
  45. {wds_client-0.13.0 → wds_client-0.14.0}/test/test_job_api.py +0 -0
  46. {wds_client-0.13.0 → wds_client-0.14.0}/test/test_job_v1.py +0 -0
  47. {wds_client-0.13.0 → wds_client-0.14.0}/test/test_record_query_response.py +0 -0
  48. {wds_client-0.13.0 → wds_client-0.14.0}/test/test_record_request.py +0 -0
  49. {wds_client-0.13.0 → wds_client-0.14.0}/test/test_record_response.py +0 -0
  50. {wds_client-0.13.0 → wds_client-0.14.0}/test/test_record_type_schema.py +0 -0
  51. {wds_client-0.13.0 → wds_client-0.14.0}/test/test_records_api.py +0 -0
  52. {wds_client-0.13.0 → wds_client-0.14.0}/test/test_schema_api.py +0 -0
  53. {wds_client-0.13.0 → wds_client-0.14.0}/test/test_search_filter.py +0 -0
  54. {wds_client-0.13.0 → wds_client-0.14.0}/test/test_search_request.py +0 -0
  55. {wds_client-0.13.0 → wds_client-0.14.0}/test/test_search_sort_direction.py +0 -0
  56. {wds_client-0.13.0 → wds_client-0.14.0}/test/test_status_response.py +0 -0
  57. {wds_client-0.13.0 → wds_client-0.14.0}/test/test_tsv_upload_response.py +0 -0
  58. {wds_client-0.13.0 → wds_client-0.14.0}/test/test_version_response.py +0 -0
  59. {wds_client-0.13.0 → wds_client-0.14.0}/wds_client/api/capabilities_api.py +0 -0
  60. {wds_client-0.13.0 → wds_client-0.14.0}/wds_client/api/cloning_api.py +0 -0
  61. {wds_client-0.13.0 → wds_client-0.14.0}/wds_client/api/general_wds_information_api.py +0 -0
  62. {wds_client-0.13.0 → wds_client-0.14.0}/wds_client/api/import_api.py +0 -0
  63. {wds_client-0.13.0 → wds_client-0.14.0}/wds_client/api/job_api.py +0 -0
  64. {wds_client-0.13.0 → wds_client-0.14.0}/wds_client/api_response.py +0 -0
  65. {wds_client-0.13.0 → wds_client-0.14.0}/wds_client/exceptions.py +0 -0
  66. {wds_client-0.13.0 → wds_client-0.14.0}/wds_client/models/app.py +0 -0
  67. {wds_client-0.13.0 → wds_client-0.14.0}/wds_client/models/attribute_data_type.py +0 -0
  68. {wds_client-0.13.0 → wds_client-0.14.0}/wds_client/models/attribute_schema.py +0 -0
  69. {wds_client-0.13.0 → wds_client-0.14.0}/wds_client/models/attribute_schema_update.py +0 -0
  70. {wds_client-0.13.0 → wds_client-0.14.0}/wds_client/models/backup_job.py +0 -0
  71. {wds_client-0.13.0 → wds_client-0.14.0}/wds_client/models/backup_response.py +0 -0
  72. {wds_client-0.13.0 → wds_client-0.14.0}/wds_client/models/backup_restore_request.py +0 -0
  73. {wds_client-0.13.0 → wds_client-0.14.0}/wds_client/models/batch_operation.py +0 -0
  74. {wds_client-0.13.0 → wds_client-0.14.0}/wds_client/models/batch_record_request.py +0 -0
  75. {wds_client-0.13.0 → wds_client-0.14.0}/wds_client/models/batch_response.py +0 -0
  76. {wds_client-0.13.0 → wds_client-0.14.0}/wds_client/models/build.py +0 -0
  77. {wds_client-0.13.0 → wds_client-0.14.0}/wds_client/models/capabilities.py +0 -0
  78. {wds_client-0.13.0 → wds_client-0.14.0}/wds_client/models/clone_job.py +0 -0
  79. {wds_client-0.13.0 → wds_client-0.14.0}/wds_client/models/clone_response.py +0 -0
  80. {wds_client-0.13.0 → wds_client-0.14.0}/wds_client/models/commit.py +0 -0
  81. {wds_client-0.13.0 → wds_client-0.14.0}/wds_client/models/error_response.py +0 -0
  82. {wds_client-0.13.0 → wds_client-0.14.0}/wds_client/models/generic_job.py +0 -0
  83. {wds_client-0.13.0 → wds_client-0.14.0}/wds_client/models/git.py +0 -0
  84. {wds_client-0.13.0 → wds_client-0.14.0}/wds_client/models/import_request.py +0 -0
  85. {wds_client-0.13.0 → wds_client-0.14.0}/wds_client/models/job.py +0 -0
  86. {wds_client-0.13.0 → wds_client-0.14.0}/wds_client/models/job_v1.py +0 -0
  87. {wds_client-0.13.0 → wds_client-0.14.0}/wds_client/models/record_query_response.py +0 -0
  88. {wds_client-0.13.0 → wds_client-0.14.0}/wds_client/models/record_request.py +0 -0
  89. {wds_client-0.13.0 → wds_client-0.14.0}/wds_client/models/record_response.py +0 -0
  90. {wds_client-0.13.0 → wds_client-0.14.0}/wds_client/models/record_type_schema.py +0 -0
  91. {wds_client-0.13.0 → wds_client-0.14.0}/wds_client/models/search_filter.py +0 -0
  92. {wds_client-0.13.0 → wds_client-0.14.0}/wds_client/models/search_request.py +0 -0
  93. {wds_client-0.13.0 → wds_client-0.14.0}/wds_client/models/search_sort_direction.py +0 -0
  94. {wds_client-0.13.0 → wds_client-0.14.0}/wds_client/models/status_response.py +0 -0
  95. {wds_client-0.13.0 → wds_client-0.14.0}/wds_client/models/tsv_upload_response.py +0 -0
  96. {wds_client-0.13.0 → wds_client-0.14.0}/wds_client/models/version_response.py +0 -0
  97. {wds_client-0.13.0 → wds_client-0.14.0}/wds_client/py.typed +0 -0
  98. {wds_client-0.13.0 → wds_client-0.14.0}/wds_client/rest.py +0 -0
  99. {wds_client-0.13.0 → wds_client-0.14.0}/wds_client.egg-info/dependency_links.txt +0 -0
  100. {wds_client-0.13.0 → wds_client-0.14.0}/wds_client.egg-info/requires.txt +0 -0
  101. {wds_client-0.13.0 → wds_client-0.14.0}/wds_client.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: wds-client
3
- Version: 0.13.0
3
+ Version: 0.14.0
4
4
  Summary: Workspace Data Service
5
5
  Home-page:
6
6
  Author: OpenAPI Generator community
@@ -9,7 +9,7 @@ Changelog at [https://github.com/DataBiosphere/terra-workspace-data-service/rele
9
9
  This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
10
10
 
11
11
  - API version: v0.2
12
- - Package version: 0.13.0
12
+ - Package version: 0.14.0
13
13
  - Generator version: 7.7.0
14
14
  - Build package: org.openapitools.codegen.languages.PythonClientCodegen
15
15
 
@@ -93,12 +93,17 @@ Class | Method | HTTP request | Description
93
93
  *CloningApi* | [**create_backup**](docs/CloningApi.md#create_backup) | **POST** /backup/{v} | Create a backup of all WDS data
94
94
  *CloningApi* | [**get_backup_status**](docs/CloningApi.md#get_backup_status) | **GET** /backup/{v}/{trackingId} | Check status of a WDS data backup
95
95
  *CloningApi* | [**get_clone_status**](docs/CloningApi.md#get_clone_status) | **GET** /clone/{v} | Check status of a WDS data clone
96
+ *CollectionApi* | [**create_collection_v1**](docs/CollectionApi.md#create_collection_v1) | **POST** /collections/v1/{workspaceId} | Create a collection in this workspace.
97
+ *CollectionApi* | [**delete_collection_v1**](docs/CollectionApi.md#delete_collection_v1) | **DELETE** /collections/v1/{workspaceId}/{collectionId} | Delete the specified collection.
98
+ *CollectionApi* | [**get_collection_v1**](docs/CollectionApi.md#get_collection_v1) | **GET** /collections/v1/{workspaceId}/{collectionId} | Retrieve a single collection.
99
+ *CollectionApi* | [**list_collections_v1**](docs/CollectionApi.md#list_collections_v1) | **GET** /collections/v1/{workspaceId} | List all collections in this workspace.
100
+ *CollectionApi* | [**update_collection_v1**](docs/CollectionApi.md#update_collection_v1) | **PUT** /collections/v1/{workspaceId}/{collectionId} | Update the specified collection.
96
101
  *GeneralWDSInformationApi* | [**status_get**](docs/GeneralWDSInformationApi.md#status_get) | **GET** /status | Gets health status for WDS -- generated via Spring Boot Actuator (see https://docs.spring.io/spring-boot/docs/current/actuator-api/htmlsingle/#health for details)
97
102
  *GeneralWDSInformationApi* | [**version_get**](docs/GeneralWDSInformationApi.md#version_get) | **GET** /version | Gets related git and build version info for WDS -- generated via Spring Boot Actuator (see https://docs.spring.io/spring-boot/docs/current/actuator-api/htmlsingle/#info for details)
98
103
  *ImportApi* | [**import_v1**](docs/ImportApi.md#import_v1) | **POST** /{instanceUuid}/import/v1 | Import from a file
99
- *InstancesApi* | [**create_wds_instance**](docs/InstancesApi.md#create_wds_instance) | **POST** /instances/{v}/{instanceid} | Create an instance
100
- *InstancesApi* | [**delete_wds_instance**](docs/InstancesApi.md#delete_wds_instance) | **DELETE** /instances/{v}/{instanceid} | Delete an instance
101
- *InstancesApi* | [**list_wds_instances**](docs/InstancesApi.md#list_wds_instances) | **GET** /instances/{v} | List instances
104
+ *InstancesApi* | [**create_wds_instance**](docs/InstancesApi.md#create_wds_instance) | **POST** /instances/{v}/{instanceid} | This API will be deleted on or after August 25, 2024.
105
+ *InstancesApi* | [**delete_wds_instance**](docs/InstancesApi.md#delete_wds_instance) | **DELETE** /instances/{v}/{instanceid} | This API will be deleted on or after August 25, 2024.
106
+ *InstancesApi* | [**list_wds_instances**](docs/InstancesApi.md#list_wds_instances) | **GET** /instances/{v} | This API will be deleted on or after August 25, 2024.
102
107
  *JobApi* | [**job_status_v1**](docs/JobApi.md#job_status_v1) | **GET** /job/v1/{jobId} | Get status of a long-running job.
103
108
  *JobApi* | [**jobs_in_instance_v1**](docs/JobApi.md#jobs_in_instance_v1) | **GET** /job/v1/instance/{instanceUuid} | Get all jobs with a certain status under a particular instance.
104
109
  *RecordsApi* | [**batch_write_records**](docs/RecordsApi.md#batch_write_records) | **POST** /{instanceid}/batch/{v}/{type} | Batch write records
@@ -132,6 +137,7 @@ Class | Method | HTTP request | Description
132
137
  - [Capabilities](docs/Capabilities.md)
133
138
  - [CloneJob](docs/CloneJob.md)
134
139
  - [CloneResponse](docs/CloneResponse.md)
140
+ - [Collection](docs/Collection.md)
135
141
  - [Commit](docs/Commit.md)
136
142
  - [ErrorResponse](docs/ErrorResponse.md)
137
143
  - [GenericJob](docs/GenericJob.md)
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "wds_client"
3
- version = "0.13.0"
3
+ version = "0.14.0"
4
4
  description = "Workspace Data Service"
5
5
  authors = ["OpenAPI Generator Community <team@openapitools.org>"]
6
6
  license = "BSD"
@@ -21,7 +21,7 @@ from setuptools import setup, find_packages # noqa: H301
21
21
  # prerequisite: setuptools
22
22
  # http://pypi.python.org/pypi/setuptools
23
23
  NAME = "wds-client"
24
- VERSION = "0.13.0"
24
+ VERSION = "0.14.0"
25
25
  PYTHON_REQUIRES = ">=3.7"
26
26
  REQUIRES = [
27
27
  "urllib3 >= 1.25.3, < 2.1.0",
@@ -0,0 +1,55 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Workspace Data Service
5
+
6
+ This page lists current APIs. All v0.2 APIs are subject to change without notice. Changelog at [https://github.com/DataBiosphere/terra-workspace-data-service/releases](https://github.com/DataBiosphere/terra-workspace-data-service/releases)
7
+
8
+ The version of the OpenAPI document: v0.2
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+
15
+ import unittest
16
+
17
+ from wds_client.models.collection import Collection
18
+
19
+ class TestCollection(unittest.TestCase):
20
+ """Collection unit test stubs"""
21
+
22
+ def setUp(self):
23
+ pass
24
+
25
+ def tearDown(self):
26
+ pass
27
+
28
+ def make_instance(self, include_optional) -> Collection:
29
+ """Test Collection
30
+ include_optional is a boolean, when False only required
31
+ params are included, when True both required and
32
+ optional params are included """
33
+ # uncomment below to create an instance of `Collection`
34
+ """
35
+ model = Collection()
36
+ if include_optional:
37
+ return Collection(
38
+ id = '',
39
+ name = 'zBAMDTMv2D2ylmgd10Z3UB6UkJSISSB512iz2DiJykO4IVP7YNsKQHh9BsaMPOiOuo3_QLOpkBmKIPOf2Flbsh1TpRS00P',
40
+ description = ''
41
+ )
42
+ else:
43
+ return Collection(
44
+ name = 'zBAMDTMv2D2ylmgd10Z3UB6UkJSISSB512iz2DiJykO4IVP7YNsKQHh9BsaMPOiOuo3_QLOpkBmKIPOf2Flbsh1TpRS00P',
45
+ description = '',
46
+ )
47
+ """
48
+
49
+ def testCollection(self):
50
+ """Test Collection"""
51
+ # inst_req_only = self.make_instance(include_optional=False)
52
+ # inst_req_and_optional = self.make_instance(include_optional=True)
53
+
54
+ if __name__ == '__main__':
55
+ unittest.main()
@@ -0,0 +1,66 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Workspace Data Service
5
+
6
+ This page lists current APIs. All v0.2 APIs are subject to change without notice. Changelog at [https://github.com/DataBiosphere/terra-workspace-data-service/releases](https://github.com/DataBiosphere/terra-workspace-data-service/releases)
7
+
8
+ The version of the OpenAPI document: v0.2
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+
15
+ import unittest
16
+
17
+ from wds_client.api.collection_api import CollectionApi
18
+
19
+
20
+ class TestCollectionApi(unittest.TestCase):
21
+ """CollectionApi unit test stubs"""
22
+
23
+ def setUp(self) -> None:
24
+ self.api = CollectionApi()
25
+
26
+ def tearDown(self) -> None:
27
+ pass
28
+
29
+ def test_create_collection_v1(self) -> None:
30
+ """Test case for create_collection_v1
31
+
32
+ Create a collection in this workspace.
33
+ """
34
+ pass
35
+
36
+ def test_delete_collection_v1(self) -> None:
37
+ """Test case for delete_collection_v1
38
+
39
+ Delete the specified collection.
40
+ """
41
+ pass
42
+
43
+ def test_get_collection_v1(self) -> None:
44
+ """Test case for get_collection_v1
45
+
46
+ Retrieve a single collection.
47
+ """
48
+ pass
49
+
50
+ def test_list_collections_v1(self) -> None:
51
+ """Test case for list_collections_v1
52
+
53
+ List all collections in this workspace.
54
+ """
55
+ pass
56
+
57
+ def test_update_collection_v1(self) -> None:
58
+ """Test case for update_collection_v1
59
+
60
+ Update the specified collection.
61
+ """
62
+ pass
63
+
64
+
65
+ if __name__ == '__main__':
66
+ unittest.main()
@@ -29,21 +29,21 @@ class TestInstancesApi(unittest.TestCase):
29
29
  def test_create_wds_instance(self) -> None:
30
30
  """Test case for create_wds_instance
31
31
 
32
- Create an instance
32
+ This API will be deleted on or after August 25, 2024.
33
33
  """
34
34
  pass
35
35
 
36
36
  def test_delete_wds_instance(self) -> None:
37
37
  """Test case for delete_wds_instance
38
38
 
39
- Delete an instance
39
+ This API will be deleted on or after August 25, 2024.
40
40
  """
41
41
  pass
42
42
 
43
43
  def test_list_wds_instances(self) -> None:
44
44
  """Test case for list_wds_instances
45
45
 
46
- List instances
46
+ This API will be deleted on or after August 25, 2024.
47
47
  """
48
48
  pass
49
49
 
@@ -14,11 +14,12 @@
14
14
  """ # noqa: E501
15
15
 
16
16
 
17
- __version__ = "0.13.0"
17
+ __version__ = "0.14.0"
18
18
 
19
19
  # import apis into sdk package
20
20
  from wds_client.api.capabilities_api import CapabilitiesApi
21
21
  from wds_client.api.cloning_api import CloningApi
22
+ from wds_client.api.collection_api import CollectionApi
22
23
  from wds_client.api.general_wds_information_api import GeneralWDSInformationApi
23
24
  from wds_client.api.import_api import ImportApi
24
25
  from wds_client.api.instances_api import InstancesApi
@@ -52,6 +53,7 @@ from wds_client.models.build import Build
52
53
  from wds_client.models.capabilities import Capabilities
53
54
  from wds_client.models.clone_job import CloneJob
54
55
  from wds_client.models.clone_response import CloneResponse
56
+ from wds_client.models.collection import Collection
55
57
  from wds_client.models.commit import Commit
56
58
  from wds_client.models.error_response import ErrorResponse
57
59
  from wds_client.models.generic_job import GenericJob
@@ -3,6 +3,7 @@
3
3
  # import apis into api package
4
4
  from wds_client.api.capabilities_api import CapabilitiesApi
5
5
  from wds_client.api.cloning_api import CloningApi
6
+ from wds_client.api.collection_api import CollectionApi
6
7
  from wds_client.api.general_wds_information_api import GeneralWDSInformationApi
7
8
  from wds_client.api.import_api import ImportApi
8
9
  from wds_client.api.instances_api import InstancesApi