wds-client 0.7.0__tar.gz → 0.9.0__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- wds_client-0.9.0/PKG-INFO +17 -0
- {wds_client-0.7.0 → wds_client-0.9.0}/README.md +18 -12
- wds_client-0.9.0/pyproject.toml +71 -0
- wds_client-0.9.0/setup.py +50 -0
- wds_client-0.9.0/test/test_app.py +52 -0
- wds_client-0.9.0/test/test_attribute_data_type.py +33 -0
- wds_client-0.9.0/test/test_attribute_schema.py +55 -0
- {wds_client-0.7.0 → wds_client-0.9.0}/test/test_attribute_schema_update.py +15 -16
- wds_client-0.9.0/test/test_backup_job.py +65 -0
- wds_client-0.9.0/test/test_backup_response.py +53 -0
- wds_client-0.9.0/test/test_backup_restore_request.py +52 -0
- {wds_client-0.7.0 → wds_client-0.9.0}/test/test_batch_operation.py +19 -20
- {wds_client-0.7.0 → wds_client-0.9.0}/test/test_batch_record_request.py +18 -19
- wds_client-0.9.0/test/test_batch_response.py +54 -0
- wds_client-0.9.0/test/test_build.py +55 -0
- wds_client-0.9.0/test/test_capabilities.py +51 -0
- wds_client-0.9.0/test/test_capabilities_api.py +38 -0
- wds_client-0.9.0/test/test_clone_job.py +64 -0
- wds_client-0.9.0/test/test_clone_response.py +52 -0
- wds_client-0.9.0/test/test_cloning_api.py +52 -0
- wds_client-0.9.0/test/test_commit.py +52 -0
- wds_client-0.9.0/test/test_error_response.py +60 -0
- {wds_client-0.7.0 → wds_client-0.9.0}/test/test_general_wds_information_api.py +12 -14
- wds_client-0.9.0/test/test_generic_job.py +65 -0
- wds_client-0.9.0/test/test_git.py +54 -0
- wds_client-0.9.0/test/test_import_api.py +38 -0
- wds_client-0.9.0/test/test_import_request.py +55 -0
- wds_client-0.9.0/test/test_instances_api.py +52 -0
- wds_client-0.9.0/test/test_job.py +60 -0
- wds_client-0.9.0/test/test_job_api.py +45 -0
- wds_client-0.9.0/test/test_job_v1.py +63 -0
- {wds_client-0.7.0 → wds_client-0.9.0}/test/test_record_query_response.py +24 -25
- {wds_client-0.7.0 → wds_client-0.9.0}/test/test_record_request.py +14 -15
- {wds_client-0.7.0 → wds_client-0.9.0}/test/test_record_response.py +18 -19
- {wds_client-0.7.0 → wds_client-0.9.0}/test/test_record_type_schema.py +24 -25
- wds_client-0.9.0/test/test_records_api.py +87 -0
- wds_client-0.9.0/test/test_schema_api.py +66 -0
- wds_client-0.9.0/test/test_search_filter.py +53 -0
- wds_client-0.9.0/test/test_search_request.py +58 -0
- wds_client-0.9.0/test/test_search_sort_direction.py +33 -0
- wds_client-0.9.0/test/test_status_response.py +52 -0
- {wds_client-0.7.0 → wds_client-0.9.0}/test/test_tsv_upload_response.py +16 -17
- wds_client-0.9.0/test/test_version_response.py +64 -0
- {wds_client-0.7.0 → wds_client-0.9.0}/wds_client/__init__.py +8 -10
- {wds_client-0.7.0 → wds_client-0.9.0}/wds_client/api/__init__.py +1 -2
- wds_client-0.9.0/wds_client/api/capabilities_api.py +275 -0
- wds_client-0.9.0/wds_client/api/cloning_api.py +848 -0
- wds_client-0.9.0/wds_client/api/general_wds_information_api.py +515 -0
- wds_client-0.9.0/wds_client/api/import_api.py +325 -0
- wds_client-0.9.0/wds_client/api/instances_api.py +847 -0
- wds_client-0.9.0/wds_client/api/job_api.py +570 -0
- wds_client-0.9.0/wds_client/api/records_api.py +2632 -0
- wds_client-0.9.0/wds_client/api/schema_api.py +1539 -0
- wds_client-0.9.0/wds_client/api_client.py +770 -0
- wds_client-0.9.0/wds_client/api_response.py +21 -0
- {wds_client-0.7.0 → wds_client-0.9.0}/wds_client/configuration.py +110 -53
- {wds_client-0.7.0 → wds_client-0.9.0}/wds_client/exceptions.py +99 -20
- {wds_client-0.7.0 → wds_client-0.9.0}/wds_client/models/__init__.py +4 -8
- wds_client-0.9.0/wds_client/models/app.py +89 -0
- wds_client-0.9.0/wds_client/models/attribute_data_type.py +50 -0
- wds_client-0.9.0/wds_client/models/attribute_schema.py +92 -0
- wds_client-0.9.0/wds_client/models/attribute_schema_update.py +90 -0
- wds_client-0.9.0/wds_client/models/backup_job.py +112 -0
- wds_client-0.9.0/wds_client/models/backup_response.py +91 -0
- wds_client-0.9.0/wds_client/models/backup_restore_request.py +89 -0
- wds_client-0.9.0/wds_client/models/batch_operation.py +100 -0
- wds_client-0.9.0/wds_client/models/batch_record_request.py +91 -0
- wds_client-0.9.0/wds_client/models/batch_response.py +89 -0
- wds_client-0.9.0/wds_client/models/build.py +96 -0
- wds_client-0.9.0/wds_client/models/capabilities.py +100 -0
- wds_client-0.9.0/wds_client/models/clone_job.py +112 -0
- wds_client-0.9.0/wds_client/models/clone_response.py +89 -0
- wds_client-0.9.0/wds_client/models/commit.py +90 -0
- wds_client-0.9.0/wds_client/models/error_response.py +95 -0
- wds_client-0.9.0/wds_client/models/generic_job.py +118 -0
- wds_client-0.9.0/wds_client/models/git.py +93 -0
- wds_client-0.9.0/wds_client/models/import_request.py +98 -0
- wds_client-0.9.0/wds_client/models/job.py +104 -0
- wds_client-0.9.0/wds_client/models/job_v1.py +114 -0
- wds_client-0.9.0/wds_client/models/record_query_response.py +103 -0
- wds_client-0.9.0/wds_client/models/record_request.py +87 -0
- wds_client-0.9.0/wds_client/models/record_response.py +91 -0
- wds_client-0.9.0/wds_client/models/record_type_schema.py +101 -0
- wds_client-0.9.0/wds_client/models/search_filter.py +87 -0
- wds_client-0.9.0/wds_client/models/search_request.py +101 -0
- wds_client-0.9.0/wds_client/models/search_sort_direction.py +37 -0
- wds_client-0.9.0/wds_client/models/status_response.py +89 -0
- wds_client-0.9.0/wds_client/models/tsv_upload_response.py +89 -0
- wds_client-0.9.0/wds_client/models/version_response.py +103 -0
- wds_client-0.9.0/wds_client/py.typed +0 -0
- wds_client-0.9.0/wds_client/rest.py +257 -0
- wds_client-0.9.0/wds_client.egg-info/PKG-INFO +17 -0
- {wds_client-0.7.0 → wds_client-0.9.0}/wds_client.egg-info/SOURCES.txt +3 -8
- wds_client-0.9.0/wds_client.egg-info/requires.txt +4 -0
- wds_client-0.7.0/PKG-INFO +0 -16
- wds_client-0.7.0/setup.py +0 -41
- wds_client-0.7.0/test/test_app.py +0 -53
- wds_client-0.7.0/test/test_attribute_data_type.py +0 -51
- wds_client-0.7.0/test/test_attribute_schema.py +0 -56
- wds_client-0.7.0/test/test_backup_job.py +0 -66
- wds_client-0.7.0/test/test_backup_job_all_of.py +0 -56
- wds_client-0.7.0/test/test_backup_response.py +0 -54
- wds_client-0.7.0/test/test_backup_restore_request.py +0 -53
- wds_client-0.7.0/test/test_batch_response.py +0 -55
- wds_client-0.7.0/test/test_build.py +0 -56
- wds_client-0.7.0/test/test_capabilities.py +0 -52
- wds_client-0.7.0/test/test_capabilities_api.py +0 -40
- wds_client-0.7.0/test/test_clone_job.py +0 -65
- wds_client-0.7.0/test/test_clone_job_all_of.py +0 -55
- wds_client-0.7.0/test/test_clone_response.py +0 -53
- wds_client-0.7.0/test/test_cloning_api.py +0 -54
- wds_client-0.7.0/test/test_commit.py +0 -53
- wds_client-0.7.0/test/test_error_response.py +0 -61
- wds_client-0.7.0/test/test_generic_job.py +0 -66
- wds_client-0.7.0/test/test_generic_job_all_of.py +0 -53
- wds_client-0.7.0/test/test_git.py +0 -55
- wds_client-0.7.0/test/test_import_api.py +0 -40
- wds_client-0.7.0/test/test_import_request.py +0 -56
- wds_client-0.7.0/test/test_inline_object.py +0 -53
- wds_client-0.7.0/test/test_instances_api.py +0 -54
- wds_client-0.7.0/test/test_job.py +0 -61
- wds_client-0.7.0/test/test_job_api.py +0 -47
- wds_client-0.7.0/test/test_job_v1.py +0 -64
- wds_client-0.7.0/test/test_records_api.py +0 -89
- wds_client-0.7.0/test/test_schema_api.py +0 -68
- wds_client-0.7.0/test/test_search_filter.py +0 -54
- wds_client-0.7.0/test/test_search_request.py +0 -59
- wds_client-0.7.0/test/test_search_sort_direction.py +0 -51
- wds_client-0.7.0/test/test_status_response.py +0 -53
- wds_client-0.7.0/test/test_version_response.py +0 -65
- wds_client-0.7.0/wds_client/api/capabilities_api.py +0 -140
- wds_client-0.7.0/wds_client/api/cloning_api.py +0 -395
- wds_client-0.7.0/wds_client/api/general_wds_information_api.py +0 -243
- wds_client-0.7.0/wds_client/api/import_api.py +0 -164
- wds_client-0.7.0/wds_client/api/instances_api.py +0 -397
- wds_client-0.7.0/wds_client/api/job_api.py +0 -267
- wds_client-0.7.0/wds_client/api/records_api.py +0 -1209
- wds_client-0.7.0/wds_client/api/schema_api.py +0 -715
- wds_client-0.7.0/wds_client/api_client.py +0 -666
- wds_client-0.7.0/wds_client/models/app.py +0 -146
- wds_client-0.7.0/wds_client/models/attribute_data_type.py +0 -113
- wds_client-0.7.0/wds_client/models/attribute_schema.py +0 -178
- wds_client-0.7.0/wds_client/models/attribute_schema_update.py +0 -148
- wds_client-0.7.0/wds_client/models/backup_job.py +0 -314
- wds_client-0.7.0/wds_client/models/backup_job_all_of.py +0 -148
- wds_client-0.7.0/wds_client/models/backup_response.py +0 -178
- wds_client-0.7.0/wds_client/models/backup_restore_request.py +0 -150
- wds_client-0.7.0/wds_client/models/batch_operation.py +0 -154
- wds_client-0.7.0/wds_client/models/batch_record_request.py +0 -181
- wds_client-0.7.0/wds_client/models/batch_response.py +0 -148
- wds_client-0.7.0/wds_client/models/build.py +0 -224
- wds_client-0.7.0/wds_client/models/capabilities.py +0 -120
- wds_client-0.7.0/wds_client/models/clone_job.py +0 -314
- wds_client-0.7.0/wds_client/models/clone_job_all_of.py +0 -148
- wds_client-0.7.0/wds_client/models/clone_response.py +0 -150
- wds_client-0.7.0/wds_client/models/commit.py +0 -146
- wds_client-0.7.0/wds_client/models/error_response.py +0 -239
- wds_client-0.7.0/wds_client/models/generic_job.py +0 -350
- wds_client-0.7.0/wds_client/models/generic_job_all_of.py +0 -150
- wds_client-0.7.0/wds_client/models/git.py +0 -146
- wds_client-0.7.0/wds_client/models/import_request.py +0 -186
- wds_client-0.7.0/wds_client/models/inline_object.py +0 -123
- wds_client-0.7.0/wds_client/models/job.py +0 -260
- wds_client-0.7.0/wds_client/models/job_v1.py +0 -294
- wds_client-0.7.0/wds_client/models/record_query_response.py +0 -179
- wds_client-0.7.0/wds_client/models/record_request.py +0 -123
- wds_client-0.7.0/wds_client/models/record_response.py +0 -181
- wds_client-0.7.0/wds_client/models/record_type_schema.py +0 -208
- wds_client-0.7.0/wds_client/models/search_filter.py +0 -122
- wds_client-0.7.0/wds_client/models/search_request.py +0 -237
- wds_client-0.7.0/wds_client/models/search_sort_direction.py +0 -100
- wds_client-0.7.0/wds_client/models/status_response.py +0 -146
- wds_client-0.7.0/wds_client/models/tsv_upload_response.py +0 -148
- wds_client-0.7.0/wds_client/models/version_response.py +0 -172
- wds_client-0.7.0/wds_client/rest.py +0 -291
- wds_client-0.7.0/wds_client.egg-info/PKG-INFO +0 -16
- wds_client-0.7.0/wds_client.egg-info/requires.txt +0 -4
- {wds_client-0.7.0 → wds_client-0.9.0}/setup.cfg +0 -0
- {wds_client-0.7.0 → wds_client-0.9.0}/wds_client.egg-info/dependency_links.txt +0 -0
- {wds_client-0.7.0 → wds_client-0.9.0}/wds_client.egg-info/top_level.txt +0 -0
@@ -0,0 +1,17 @@
|
|
1
|
+
Metadata-Version: 2.1
|
2
|
+
Name: wds-client
|
3
|
+
Version: 0.9.0
|
4
|
+
Summary: Workspace Data Service
|
5
|
+
Home-page:
|
6
|
+
Author: OpenAPI Generator community
|
7
|
+
Author-email: team@openapitools.org
|
8
|
+
License: BSD
|
9
|
+
Keywords: OpenAPI,OpenAPI-Generator,Workspace Data Service
|
10
|
+
Description-Content-Type: text/markdown
|
11
|
+
Requires-Dist: urllib3<2.1.0,>=1.25.3
|
12
|
+
Requires-Dist: python-dateutil
|
13
|
+
Requires-Dist: pydantic>=2
|
14
|
+
Requires-Dist: typing-extensions>=4.7.1
|
15
|
+
|
16
|
+
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)
|
17
|
+
|
@@ -1,17 +1,21 @@
|
|
1
1
|
# wds-client
|
2
2
|
This page lists current APIs.
|
3
|
-
|
3
|
+
|
4
|
+
All v0.2 APIs are subject to change without notice.
|
5
|
+
|
6
|
+
Changelog at [https://github.com/DataBiosphere/terra-workspace-data-service/releases](https://github.com/DataBiosphere/terra-workspace-data-service/releases)
|
4
7
|
|
5
8
|
|
6
9
|
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
7
10
|
|
8
11
|
- API version: v0.2
|
9
|
-
- Package version: 0.
|
12
|
+
- Package version: 0.9.0
|
13
|
+
- Generator version: 7.6.0
|
10
14
|
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
|
11
15
|
|
12
16
|
## Requirements.
|
13
17
|
|
14
|
-
Python
|
18
|
+
Python 3.7+
|
15
19
|
|
16
20
|
## Installation & Usage
|
17
21
|
### pip install
|
@@ -42,14 +46,16 @@ Then import the package:
|
|
42
46
|
import wds_client
|
43
47
|
```
|
44
48
|
|
49
|
+
### Tests
|
50
|
+
|
51
|
+
Execute `pytest` to run the tests.
|
52
|
+
|
45
53
|
## Getting Started
|
46
54
|
|
47
55
|
Please follow the [installation procedure](#installation--usage) and then run the following:
|
48
56
|
|
49
57
|
```python
|
50
|
-
from __future__ import print_function
|
51
58
|
|
52
|
-
import time
|
53
59
|
import wds_client
|
54
60
|
from wds_client.rest import ApiException
|
55
61
|
from pprint import pprint
|
@@ -66,14 +72,15 @@ configuration = wds_client.Configuration(
|
|
66
72
|
with wds_client.ApiClient(configuration) as api_client:
|
67
73
|
# Create an instance of the API class
|
68
74
|
api_instance = wds_client.CapabilitiesApi(api_client)
|
69
|
-
|
75
|
+
|
70
76
|
try:
|
71
77
|
# Describes the capabilities of this WDS version.
|
72
78
|
api_response = api_instance.capabilities()
|
79
|
+
print("The response of CapabilitiesApi->capabilities:\n")
|
73
80
|
pprint(api_response)
|
74
81
|
except ApiException as e:
|
75
82
|
print("Exception when calling CapabilitiesApi->capabilities: %s\n" % e)
|
76
|
-
|
83
|
+
|
77
84
|
```
|
78
85
|
|
79
86
|
## Documentation for API Endpoints
|
@@ -116,7 +123,6 @@ Class | Method | HTTP request | Description
|
|
116
123
|
- [AttributeSchema](docs/AttributeSchema.md)
|
117
124
|
- [AttributeSchemaUpdate](docs/AttributeSchemaUpdate.md)
|
118
125
|
- [BackupJob](docs/BackupJob.md)
|
119
|
-
- [BackupJobAllOf](docs/BackupJobAllOf.md)
|
120
126
|
- [BackupResponse](docs/BackupResponse.md)
|
121
127
|
- [BackupRestoreRequest](docs/BackupRestoreRequest.md)
|
122
128
|
- [BatchOperation](docs/BatchOperation.md)
|
@@ -125,15 +131,12 @@ Class | Method | HTTP request | Description
|
|
125
131
|
- [Build](docs/Build.md)
|
126
132
|
- [Capabilities](docs/Capabilities.md)
|
127
133
|
- [CloneJob](docs/CloneJob.md)
|
128
|
-
- [CloneJobAllOf](docs/CloneJobAllOf.md)
|
129
134
|
- [CloneResponse](docs/CloneResponse.md)
|
130
135
|
- [Commit](docs/Commit.md)
|
131
136
|
- [ErrorResponse](docs/ErrorResponse.md)
|
132
137
|
- [GenericJob](docs/GenericJob.md)
|
133
|
-
- [GenericJobAllOf](docs/GenericJobAllOf.md)
|
134
138
|
- [Git](docs/Git.md)
|
135
139
|
- [ImportRequest](docs/ImportRequest.md)
|
136
|
-
- [InlineObject](docs/InlineObject.md)
|
137
140
|
- [Job](docs/Job.md)
|
138
141
|
- [JobV1](docs/JobV1.md)
|
139
142
|
- [RecordQueryResponse](docs/RecordQueryResponse.md)
|
@@ -148,10 +151,13 @@ Class | Method | HTTP request | Description
|
|
148
151
|
- [VersionResponse](docs/VersionResponse.md)
|
149
152
|
|
150
153
|
|
154
|
+
<a id="documentation-for-authorization"></a>
|
151
155
|
## Documentation For Authorization
|
152
156
|
|
153
157
|
|
154
|
-
|
158
|
+
Authentication schemes defined for the API:
|
159
|
+
<a id="bearerAuth"></a>
|
160
|
+
### bearerAuth
|
155
161
|
|
156
162
|
- **Type**: Bearer authentication
|
157
163
|
|
@@ -0,0 +1,71 @@
|
|
1
|
+
[tool.poetry]
|
2
|
+
name = "wds_client"
|
3
|
+
version = "0.9.0"
|
4
|
+
description = "Workspace Data Service"
|
5
|
+
authors = ["OpenAPI Generator Community <team@openapitools.org>"]
|
6
|
+
license = "BSD"
|
7
|
+
readme = "README.md"
|
8
|
+
repository = "https://github.com/GIT_USER_ID/GIT_REPO_ID"
|
9
|
+
keywords = ["OpenAPI", "OpenAPI-Generator", "Workspace Data Service"]
|
10
|
+
include = ["wds_client/py.typed"]
|
11
|
+
|
12
|
+
[tool.poetry.dependencies]
|
13
|
+
python = "^3.7"
|
14
|
+
|
15
|
+
urllib3 = ">= 1.25.3"
|
16
|
+
python-dateutil = ">=2.8.2"
|
17
|
+
pydantic = ">=2"
|
18
|
+
typing-extensions = ">=4.7.1"
|
19
|
+
|
20
|
+
[tool.poetry.dev-dependencies]
|
21
|
+
pytest = ">=7.2.1"
|
22
|
+
tox = ">=3.9.0"
|
23
|
+
flake8 = ">=4.0.0"
|
24
|
+
types-python-dateutil = ">=2.8.19.14"
|
25
|
+
mypy = "1.4.1"
|
26
|
+
|
27
|
+
|
28
|
+
[build-system]
|
29
|
+
requires = ["setuptools"]
|
30
|
+
build-backend = "setuptools.build_meta"
|
31
|
+
|
32
|
+
[tool.pylint.'MESSAGES CONTROL']
|
33
|
+
extension-pkg-whitelist = "pydantic"
|
34
|
+
|
35
|
+
[tool.mypy]
|
36
|
+
files = [
|
37
|
+
"wds_client",
|
38
|
+
#"test", # auto-generated tests
|
39
|
+
"tests", # hand-written tests
|
40
|
+
]
|
41
|
+
# TODO: enable "strict" once all these individual checks are passing
|
42
|
+
# strict = true
|
43
|
+
|
44
|
+
# List from: https://mypy.readthedocs.io/en/stable/existing_code.html#introduce-stricter-options
|
45
|
+
warn_unused_configs = true
|
46
|
+
warn_redundant_casts = true
|
47
|
+
warn_unused_ignores = true
|
48
|
+
|
49
|
+
## Getting these passing should be easy
|
50
|
+
strict_equality = true
|
51
|
+
strict_concatenate = true
|
52
|
+
|
53
|
+
## Strongly recommend enabling this one as soon as you can
|
54
|
+
check_untyped_defs = true
|
55
|
+
|
56
|
+
## These shouldn't be too much additional work, but may be tricky to
|
57
|
+
## get passing if you use a lot of untyped libraries
|
58
|
+
disallow_subclassing_any = true
|
59
|
+
disallow_untyped_decorators = true
|
60
|
+
disallow_any_generics = true
|
61
|
+
|
62
|
+
### These next few are various gradations of forcing use of type annotations
|
63
|
+
#disallow_untyped_calls = true
|
64
|
+
#disallow_incomplete_defs = true
|
65
|
+
#disallow_untyped_defs = true
|
66
|
+
#
|
67
|
+
### This one isn't too hard to get passing, but return on investment is lower
|
68
|
+
#no_implicit_reexport = true
|
69
|
+
#
|
70
|
+
### This one can be tricky to get passing if you use a lot of untyped libraries
|
71
|
+
#warn_return_any = true
|
@@ -0,0 +1,50 @@
|
|
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
|
+
from setuptools import setup, find_packages # noqa: H301
|
16
|
+
|
17
|
+
# To install the library, run the following
|
18
|
+
#
|
19
|
+
# python setup.py install
|
20
|
+
#
|
21
|
+
# prerequisite: setuptools
|
22
|
+
# http://pypi.python.org/pypi/setuptools
|
23
|
+
NAME = "wds-client"
|
24
|
+
VERSION = "0.9.0"
|
25
|
+
PYTHON_REQUIRES = ">=3.7"
|
26
|
+
REQUIRES = [
|
27
|
+
"urllib3 >= 1.25.3, < 2.1.0",
|
28
|
+
"python-dateutil",
|
29
|
+
"pydantic >= 2",
|
30
|
+
"typing-extensions >= 4.7.1",
|
31
|
+
]
|
32
|
+
|
33
|
+
setup(
|
34
|
+
name=NAME,
|
35
|
+
version=VERSION,
|
36
|
+
description="Workspace Data Service",
|
37
|
+
author="OpenAPI Generator community",
|
38
|
+
author_email="team@openapitools.org",
|
39
|
+
url="",
|
40
|
+
keywords=["OpenAPI", "OpenAPI-Generator", "Workspace Data Service"],
|
41
|
+
install_requires=REQUIRES,
|
42
|
+
packages=find_packages(exclude=["test", "tests"]),
|
43
|
+
include_package_data=True,
|
44
|
+
license="BSD",
|
45
|
+
long_description_content_type='text/markdown',
|
46
|
+
long_description="""\
|
47
|
+
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)
|
48
|
+
""", # noqa: E501
|
49
|
+
package_data={"wds_client": ["py.typed"]},
|
50
|
+
)
|
@@ -0,0 +1,52 @@
|
|
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.app import App
|
18
|
+
|
19
|
+
class TestApp(unittest.TestCase):
|
20
|
+
"""App 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) -> App:
|
29
|
+
"""Test App
|
30
|
+
include_option 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 `App`
|
34
|
+
"""
|
35
|
+
model = App()
|
36
|
+
if include_optional:
|
37
|
+
return App(
|
38
|
+
chart_version = '',
|
39
|
+
image = ''
|
40
|
+
)
|
41
|
+
else:
|
42
|
+
return App(
|
43
|
+
)
|
44
|
+
"""
|
45
|
+
|
46
|
+
def testApp(self):
|
47
|
+
"""Test App"""
|
48
|
+
# inst_req_only = self.make_instance(include_optional=False)
|
49
|
+
# inst_req_and_optional = self.make_instance(include_optional=True)
|
50
|
+
|
51
|
+
if __name__ == '__main__':
|
52
|
+
unittest.main()
|
@@ -0,0 +1,33 @@
|
|
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.attribute_data_type import AttributeDataType
|
18
|
+
|
19
|
+
class TestAttributeDataType(unittest.TestCase):
|
20
|
+
"""AttributeDataType unit test stubs"""
|
21
|
+
|
22
|
+
def setUp(self):
|
23
|
+
pass
|
24
|
+
|
25
|
+
def tearDown(self):
|
26
|
+
pass
|
27
|
+
|
28
|
+
def testAttributeDataType(self):
|
29
|
+
"""Test AttributeDataType"""
|
30
|
+
# inst = AttributeDataType()
|
31
|
+
|
32
|
+
if __name__ == '__main__':
|
33
|
+
unittest.main()
|
@@ -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.attribute_schema import AttributeSchema
|
18
|
+
|
19
|
+
class TestAttributeSchema(unittest.TestCase):
|
20
|
+
"""AttributeSchema 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) -> AttributeSchema:
|
29
|
+
"""Test AttributeSchema
|
30
|
+
include_option 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 `AttributeSchema`
|
34
|
+
"""
|
35
|
+
model = AttributeSchema()
|
36
|
+
if include_optional:
|
37
|
+
return AttributeSchema(
|
38
|
+
name = '',
|
39
|
+
datatype = 'BOOLEAN',
|
40
|
+
relates_to = ''
|
41
|
+
)
|
42
|
+
else:
|
43
|
+
return AttributeSchema(
|
44
|
+
name = '',
|
45
|
+
datatype = 'BOOLEAN',
|
46
|
+
)
|
47
|
+
"""
|
48
|
+
|
49
|
+
def testAttributeSchema(self):
|
50
|
+
"""Test AttributeSchema"""
|
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()
|
@@ -3,21 +3,18 @@
|
|
3
3
|
"""
|
4
4
|
Workspace Data Service
|
5
5
|
|
6
|
-
This page lists current APIs.
|
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
7
|
|
8
8
|
The version of the OpenAPI document: v0.2
|
9
|
-
Generated by
|
10
|
-
"""
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
10
|
|
11
|
+
Do not edit the class manually.
|
12
|
+
""" # noqa: E501
|
12
13
|
|
13
|
-
from __future__ import absolute_import
|
14
14
|
|
15
15
|
import unittest
|
16
|
-
import datetime
|
17
16
|
|
18
|
-
import
|
19
|
-
from wds_client.models.attribute_schema_update import AttributeSchemaUpdate # noqa: E501
|
20
|
-
from wds_client.rest import ApiException
|
17
|
+
from wds_client.models.attribute_schema_update import AttributeSchemaUpdate
|
21
18
|
|
22
19
|
class TestAttributeSchemaUpdate(unittest.TestCase):
|
23
20
|
"""AttributeSchemaUpdate unit test stubs"""
|
@@ -28,26 +25,28 @@ class TestAttributeSchemaUpdate(unittest.TestCase):
|
|
28
25
|
def tearDown(self):
|
29
26
|
pass
|
30
27
|
|
31
|
-
def make_instance(self, include_optional):
|
28
|
+
def make_instance(self, include_optional) -> AttributeSchemaUpdate:
|
32
29
|
"""Test AttributeSchemaUpdate
|
33
30
|
include_option is a boolean, when False only required
|
34
31
|
params are included, when True both required and
|
35
32
|
optional params are included """
|
36
|
-
#
|
37
|
-
|
33
|
+
# uncomment below to create an instance of `AttributeSchemaUpdate`
|
34
|
+
"""
|
35
|
+
model = AttributeSchemaUpdate()
|
36
|
+
if include_optional:
|
38
37
|
return AttributeSchemaUpdate(
|
39
|
-
name = '
|
38
|
+
name = '',
|
40
39
|
datatype = 'BOOLEAN'
|
41
40
|
)
|
42
|
-
else
|
41
|
+
else:
|
43
42
|
return AttributeSchemaUpdate(
|
44
43
|
)
|
44
|
+
"""
|
45
45
|
|
46
46
|
def testAttributeSchemaUpdate(self):
|
47
47
|
"""Test AttributeSchemaUpdate"""
|
48
|
-
inst_req_only = self.make_instance(include_optional=False)
|
49
|
-
inst_req_and_optional = self.make_instance(include_optional=True)
|
50
|
-
|
48
|
+
# inst_req_only = self.make_instance(include_optional=False)
|
49
|
+
# inst_req_and_optional = self.make_instance(include_optional=True)
|
51
50
|
|
52
51
|
if __name__ == '__main__':
|
53
52
|
unittest.main()
|
@@ -0,0 +1,65 @@
|
|
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.backup_job import BackupJob
|
18
|
+
|
19
|
+
class TestBackupJob(unittest.TestCase):
|
20
|
+
"""BackupJob 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) -> BackupJob:
|
29
|
+
"""Test BackupJob
|
30
|
+
include_option 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 `BackupJob`
|
34
|
+
"""
|
35
|
+
model = BackupJob()
|
36
|
+
if include_optional:
|
37
|
+
return BackupJob(
|
38
|
+
job_id = '',
|
39
|
+
job_type = '',
|
40
|
+
status = 'QUEUED',
|
41
|
+
created = '',
|
42
|
+
updated = '',
|
43
|
+
error_message = '',
|
44
|
+
input = None,
|
45
|
+
result = wds_client.models.backup_response.BackupResponse(
|
46
|
+
filename = '',
|
47
|
+
requester = '',
|
48
|
+
description = '', )
|
49
|
+
)
|
50
|
+
else:
|
51
|
+
return BackupJob(
|
52
|
+
job_id = '',
|
53
|
+
status = 'QUEUED',
|
54
|
+
created = '',
|
55
|
+
updated = '',
|
56
|
+
)
|
57
|
+
"""
|
58
|
+
|
59
|
+
def testBackupJob(self):
|
60
|
+
"""Test BackupJob"""
|
61
|
+
# inst_req_only = self.make_instance(include_optional=False)
|
62
|
+
# inst_req_and_optional = self.make_instance(include_optional=True)
|
63
|
+
|
64
|
+
if __name__ == '__main__':
|
65
|
+
unittest.main()
|
@@ -0,0 +1,53 @@
|
|
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.backup_response import BackupResponse
|
18
|
+
|
19
|
+
class TestBackupResponse(unittest.TestCase):
|
20
|
+
"""BackupResponse 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) -> BackupResponse:
|
29
|
+
"""Test BackupResponse
|
30
|
+
include_option 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 `BackupResponse`
|
34
|
+
"""
|
35
|
+
model = BackupResponse()
|
36
|
+
if include_optional:
|
37
|
+
return BackupResponse(
|
38
|
+
filename = '',
|
39
|
+
requester = '',
|
40
|
+
description = ''
|
41
|
+
)
|
42
|
+
else:
|
43
|
+
return BackupResponse(
|
44
|
+
)
|
45
|
+
"""
|
46
|
+
|
47
|
+
def testBackupResponse(self):
|
48
|
+
"""Test BackupResponse"""
|
49
|
+
# inst_req_only = self.make_instance(include_optional=False)
|
50
|
+
# inst_req_and_optional = self.make_instance(include_optional=True)
|
51
|
+
|
52
|
+
if __name__ == '__main__':
|
53
|
+
unittest.main()
|
@@ -0,0 +1,52 @@
|
|
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.backup_restore_request import BackupRestoreRequest
|
18
|
+
|
19
|
+
class TestBackupRestoreRequest(unittest.TestCase):
|
20
|
+
"""BackupRestoreRequest 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) -> BackupRestoreRequest:
|
29
|
+
"""Test BackupRestoreRequest
|
30
|
+
include_option 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 `BackupRestoreRequest`
|
34
|
+
"""
|
35
|
+
model = BackupRestoreRequest()
|
36
|
+
if include_optional:
|
37
|
+
return BackupRestoreRequest(
|
38
|
+
requesting_workspace_id = '',
|
39
|
+
description = ''
|
40
|
+
)
|
41
|
+
else:
|
42
|
+
return BackupRestoreRequest(
|
43
|
+
)
|
44
|
+
"""
|
45
|
+
|
46
|
+
def testBackupRestoreRequest(self):
|
47
|
+
"""Test BackupRestoreRequest"""
|
48
|
+
# inst_req_only = self.make_instance(include_optional=False)
|
49
|
+
# inst_req_and_optional = self.make_instance(include_optional=True)
|
50
|
+
|
51
|
+
if __name__ == '__main__':
|
52
|
+
unittest.main()
|