wds-client 0.30.0__tar.gz → 0.31.0__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {wds_client-0.30.0 → wds_client-0.31.0}/PKG-INFO +1 -1
- {wds_client-0.30.0 → wds_client-0.31.0}/README.md +1 -10
- {wds_client-0.30.0 → wds_client-0.31.0}/pyproject.toml +1 -1
- {wds_client-0.30.0 → wds_client-0.31.0}/setup.py +1 -1
- {wds_client-0.30.0 → wds_client-0.31.0}/wds_client/__init__.py +1 -8
- {wds_client-0.30.0 → wds_client-0.31.0}/wds_client/api/__init__.py +0 -1
- {wds_client-0.30.0 → wds_client-0.31.0}/wds_client/api_client.py +1 -1
- {wds_client-0.30.0 → wds_client-0.31.0}/wds_client/configuration.py +1 -1
- {wds_client-0.30.0 → wds_client-0.31.0}/wds_client/models/__init__.py +0 -6
- {wds_client-0.30.0 → wds_client-0.31.0}/wds_client.egg-info/PKG-INFO +1 -1
- {wds_client-0.30.0 → wds_client-0.31.0}/wds_client.egg-info/SOURCES.txt +0 -14
- wds_client-0.30.0/test/test_backup_job.py +0 -65
- wds_client-0.30.0/test/test_backup_response.py +0 -53
- wds_client-0.30.0/test/test_backup_restore_request.py +0 -52
- wds_client-0.30.0/test/test_clone_job.py +0 -64
- wds_client-0.30.0/test/test_clone_response.py +0 -52
- wds_client-0.30.0/test/test_cloning_api.py +0 -52
- wds_client-0.30.0/test/test_job.py +0 -60
- wds_client-0.30.0/wds_client/api/cloning_api.py +0 -851
- wds_client-0.30.0/wds_client/models/backup_job.py +0 -112
- wds_client-0.30.0/wds_client/models/backup_response.py +0 -91
- wds_client-0.30.0/wds_client/models/backup_restore_request.py +0 -89
- wds_client-0.30.0/wds_client/models/clone_job.py +0 -112
- wds_client-0.30.0/wds_client/models/clone_response.py +0 -89
- wds_client-0.30.0/wds_client/models/job.py +0 -104
- {wds_client-0.30.0 → wds_client-0.31.0}/setup.cfg +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/test/test_app.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/test/test_attribute_data_type.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/test/test_attribute_schema.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/test/test_attribute_schema_update.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/test/test_batch_operation.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/test/test_batch_record_request.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/test/test_batch_response.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/test/test_build.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/test/test_capabilities.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/test/test_capabilities_api.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/test/test_collection.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/test/test_collection_api.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/test/test_collection_request.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/test/test_commit.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/test/test_delete_records_request.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/test/test_delete_records_response.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/test/test_error_response.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/test/test_general_wds_information_api.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/test/test_generic_job.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/test/test_git.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/test/test_import_api.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/test/test_import_request.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/test/test_job_api.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/test/test_job_v1.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/test/test_record_api.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/test/test_record_query_response.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/test/test_record_request.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/test/test_record_response.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/test/test_record_type_schema.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/test/test_records_api.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/test/test_schema_api.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/test/test_search_filter.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/test/test_search_request.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/test/test_search_sort_direction.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/test/test_status_response.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/test/test_tsv_upload_response.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/test/test_version_response.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/test/test_workspace_api.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/test/test_workspace_init.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/test/test_workspace_init_clone.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/wds_client/api/capabilities_api.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/wds_client/api/collection_api.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/wds_client/api/general_wds_information_api.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/wds_client/api/import_api.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/wds_client/api/job_api.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/wds_client/api/record_api.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/wds_client/api/records_api.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/wds_client/api/schema_api.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/wds_client/api/workspace_api.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/wds_client/api_response.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/wds_client/exceptions.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/wds_client/models/app.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/wds_client/models/attribute_data_type.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/wds_client/models/attribute_schema.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/wds_client/models/attribute_schema_update.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/wds_client/models/batch_operation.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/wds_client/models/batch_record_request.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/wds_client/models/batch_response.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/wds_client/models/build.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/wds_client/models/capabilities.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/wds_client/models/collection.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/wds_client/models/collection_request.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/wds_client/models/commit.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/wds_client/models/delete_records_request.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/wds_client/models/delete_records_response.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/wds_client/models/error_response.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/wds_client/models/generic_job.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/wds_client/models/git.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/wds_client/models/import_request.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/wds_client/models/job_v1.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/wds_client/models/record_query_response.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/wds_client/models/record_request.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/wds_client/models/record_response.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/wds_client/models/record_type_schema.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/wds_client/models/search_filter.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/wds_client/models/search_request.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/wds_client/models/search_sort_direction.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/wds_client/models/status_response.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/wds_client/models/tsv_upload_response.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/wds_client/models/version_response.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/wds_client/models/workspace_init.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/wds_client/models/workspace_init_clone.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/wds_client/py.typed +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/wds_client/rest.py +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/wds_client.egg-info/dependency_links.txt +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/wds_client.egg-info/requires.txt +0 -0
- {wds_client-0.30.0 → wds_client-0.31.0}/wds_client.egg-info/top_level.txt +0 -0
@@ -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.
|
12
|
+
- Package version: 0.31.0
|
13
13
|
- Generator version: 7.8.0
|
14
14
|
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
|
15
15
|
|
@@ -90,9 +90,6 @@ All URIs are relative to *http://localhost*
|
|
90
90
|
Class | Method | HTTP request | Description
|
91
91
|
------------ | ------------- | ------------- | -------------
|
92
92
|
*CapabilitiesApi* | [**capabilities**](docs/CapabilitiesApi.md#capabilities) | **GET** /capabilities/v1 | Describes the capabilities of this WDS version.
|
93
|
-
*CloningApi* | [**create_backup**](docs/CloningApi.md#create_backup) | **POST** /backup/{v} | Create a backup of all WDS data
|
94
|
-
*CloningApi* | [**get_backup_status**](docs/CloningApi.md#get_backup_status) | **GET** /backup/{v}/{trackingId} | Check status of a WDS data backup
|
95
|
-
*CloningApi* | [**get_clone_status**](docs/CloningApi.md#get_clone_status) | **GET** /clone/{v} | Check status of a WDS data clone
|
96
93
|
*CollectionApi* | [**create_collection_v1**](docs/CollectionApi.md#create_collection_v1) | **POST** /collections/v1/{workspaceId} | Create a collection in this workspace.
|
97
94
|
*CollectionApi* | [**delete_collection_v1**](docs/CollectionApi.md#delete_collection_v1) | **DELETE** /collections/v1/{workspaceId}/{collectionId} | Delete the specified collection.
|
98
95
|
*CollectionApi* | [**get_collection_v1**](docs/CollectionApi.md#get_collection_v1) | **GET** /collections/v1/{workspaceId}/{collectionId} | Retrieve a single collection.
|
@@ -126,16 +123,11 @@ Class | Method | HTTP request | Description
|
|
126
123
|
- [AttributeDataType](docs/AttributeDataType.md)
|
127
124
|
- [AttributeSchema](docs/AttributeSchema.md)
|
128
125
|
- [AttributeSchemaUpdate](docs/AttributeSchemaUpdate.md)
|
129
|
-
- [BackupJob](docs/BackupJob.md)
|
130
|
-
- [BackupResponse](docs/BackupResponse.md)
|
131
|
-
- [BackupRestoreRequest](docs/BackupRestoreRequest.md)
|
132
126
|
- [BatchOperation](docs/BatchOperation.md)
|
133
127
|
- [BatchRecordRequest](docs/BatchRecordRequest.md)
|
134
128
|
- [BatchResponse](docs/BatchResponse.md)
|
135
129
|
- [Build](docs/Build.md)
|
136
130
|
- [Capabilities](docs/Capabilities.md)
|
137
|
-
- [CloneJob](docs/CloneJob.md)
|
138
|
-
- [CloneResponse](docs/CloneResponse.md)
|
139
131
|
- [Collection](docs/Collection.md)
|
140
132
|
- [CollectionRequest](docs/CollectionRequest.md)
|
141
133
|
- [Commit](docs/Commit.md)
|
@@ -145,7 +137,6 @@ Class | Method | HTTP request | Description
|
|
145
137
|
- [GenericJob](docs/GenericJob.md)
|
146
138
|
- [Git](docs/Git.md)
|
147
139
|
- [ImportRequest](docs/ImportRequest.md)
|
148
|
-
- [Job](docs/Job.md)
|
149
140
|
- [JobV1](docs/JobV1.md)
|
150
141
|
- [RecordQueryResponse](docs/RecordQueryResponse.md)
|
151
142
|
- [RecordRequest](docs/RecordRequest.md)
|
@@ -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.
|
24
|
+
VERSION = "0.31.0"
|
25
25
|
PYTHON_REQUIRES = ">=3.7"
|
26
26
|
REQUIRES = [
|
27
27
|
"urllib3 >= 1.25.3, < 2.1.0",
|
@@ -14,11 +14,10 @@
|
|
14
14
|
""" # noqa: E501
|
15
15
|
|
16
16
|
|
17
|
-
__version__ = "0.
|
17
|
+
__version__ = "0.31.0"
|
18
18
|
|
19
19
|
# import apis into sdk package
|
20
20
|
from wds_client.api.capabilities_api import CapabilitiesApi
|
21
|
-
from wds_client.api.cloning_api import CloningApi
|
22
21
|
from wds_client.api.collection_api import CollectionApi
|
23
22
|
from wds_client.api.general_wds_information_api import GeneralWDSInformationApi
|
24
23
|
from wds_client.api.import_api import ImportApi
|
@@ -44,16 +43,11 @@ from wds_client.models.app import App
|
|
44
43
|
from wds_client.models.attribute_data_type import AttributeDataType
|
45
44
|
from wds_client.models.attribute_schema import AttributeSchema
|
46
45
|
from wds_client.models.attribute_schema_update import AttributeSchemaUpdate
|
47
|
-
from wds_client.models.backup_job import BackupJob
|
48
|
-
from wds_client.models.backup_response import BackupResponse
|
49
|
-
from wds_client.models.backup_restore_request import BackupRestoreRequest
|
50
46
|
from wds_client.models.batch_operation import BatchOperation
|
51
47
|
from wds_client.models.batch_record_request import BatchRecordRequest
|
52
48
|
from wds_client.models.batch_response import BatchResponse
|
53
49
|
from wds_client.models.build import Build
|
54
50
|
from wds_client.models.capabilities import Capabilities
|
55
|
-
from wds_client.models.clone_job import CloneJob
|
56
|
-
from wds_client.models.clone_response import CloneResponse
|
57
51
|
from wds_client.models.collection import Collection
|
58
52
|
from wds_client.models.collection_request import CollectionRequest
|
59
53
|
from wds_client.models.commit import Commit
|
@@ -63,7 +57,6 @@ from wds_client.models.error_response import ErrorResponse
|
|
63
57
|
from wds_client.models.generic_job import GenericJob
|
64
58
|
from wds_client.models.git import Git
|
65
59
|
from wds_client.models.import_request import ImportRequest
|
66
|
-
from wds_client.models.job import Job
|
67
60
|
from wds_client.models.job_v1 import JobV1
|
68
61
|
from wds_client.models.record_query_response import RecordQueryResponse
|
69
62
|
from wds_client.models.record_request import RecordRequest
|
@@ -2,7 +2,6 @@
|
|
2
2
|
|
3
3
|
# import apis into api package
|
4
4
|
from wds_client.api.capabilities_api import CapabilitiesApi
|
5
|
-
from wds_client.api.cloning_api import CloningApi
|
6
5
|
from wds_client.api.collection_api import CollectionApi
|
7
6
|
from wds_client.api.general_wds_information_api import GeneralWDSInformationApi
|
8
7
|
from wds_client.api.import_api import ImportApi
|
@@ -90,7 +90,7 @@ class ApiClient:
|
|
90
90
|
self.default_headers[header_name] = header_value
|
91
91
|
self.cookie = cookie
|
92
92
|
# Set default User-Agent.
|
93
|
-
self.user_agent = 'wds-client/0.
|
93
|
+
self.user_agent = 'wds-client/0.31.0/python'
|
94
94
|
self.client_side_validation = configuration.client_side_validation
|
95
95
|
|
96
96
|
def __enter__(self):
|
@@ -392,7 +392,7 @@ class Configuration:
|
|
392
392
|
"OS: {env}\n"\
|
393
393
|
"Python Version: {pyversion}\n"\
|
394
394
|
"Version of the API: v0.2\n"\
|
395
|
-
"SDK Package Version: 0.
|
395
|
+
"SDK Package Version: 0.31.0".\
|
396
396
|
format(env=sys.platform, pyversion=sys.version)
|
397
397
|
|
398
398
|
def get_host_settings(self):
|
@@ -18,16 +18,11 @@ from wds_client.models.app import App
|
|
18
18
|
from wds_client.models.attribute_data_type import AttributeDataType
|
19
19
|
from wds_client.models.attribute_schema import AttributeSchema
|
20
20
|
from wds_client.models.attribute_schema_update import AttributeSchemaUpdate
|
21
|
-
from wds_client.models.backup_job import BackupJob
|
22
|
-
from wds_client.models.backup_response import BackupResponse
|
23
|
-
from wds_client.models.backup_restore_request import BackupRestoreRequest
|
24
21
|
from wds_client.models.batch_operation import BatchOperation
|
25
22
|
from wds_client.models.batch_record_request import BatchRecordRequest
|
26
23
|
from wds_client.models.batch_response import BatchResponse
|
27
24
|
from wds_client.models.build import Build
|
28
25
|
from wds_client.models.capabilities import Capabilities
|
29
|
-
from wds_client.models.clone_job import CloneJob
|
30
|
-
from wds_client.models.clone_response import CloneResponse
|
31
26
|
from wds_client.models.collection import Collection
|
32
27
|
from wds_client.models.collection_request import CollectionRequest
|
33
28
|
from wds_client.models.commit import Commit
|
@@ -37,7 +32,6 @@ from wds_client.models.error_response import ErrorResponse
|
|
37
32
|
from wds_client.models.generic_job import GenericJob
|
38
33
|
from wds_client.models.git import Git
|
39
34
|
from wds_client.models.import_request import ImportRequest
|
40
|
-
from wds_client.models.job import Job
|
41
35
|
from wds_client.models.job_v1 import JobV1
|
42
36
|
from wds_client.models.record_query_response import RecordQueryResponse
|
43
37
|
from wds_client.models.record_request import RecordRequest
|
@@ -6,18 +6,12 @@ test/test_app.py
|
|
6
6
|
test/test_attribute_data_type.py
|
7
7
|
test/test_attribute_schema.py
|
8
8
|
test/test_attribute_schema_update.py
|
9
|
-
test/test_backup_job.py
|
10
|
-
test/test_backup_response.py
|
11
|
-
test/test_backup_restore_request.py
|
12
9
|
test/test_batch_operation.py
|
13
10
|
test/test_batch_record_request.py
|
14
11
|
test/test_batch_response.py
|
15
12
|
test/test_build.py
|
16
13
|
test/test_capabilities.py
|
17
14
|
test/test_capabilities_api.py
|
18
|
-
test/test_clone_job.py
|
19
|
-
test/test_clone_response.py
|
20
|
-
test/test_cloning_api.py
|
21
15
|
test/test_collection.py
|
22
16
|
test/test_collection_api.py
|
23
17
|
test/test_collection_request.py
|
@@ -30,7 +24,6 @@ test/test_generic_job.py
|
|
30
24
|
test/test_git.py
|
31
25
|
test/test_import_api.py
|
32
26
|
test/test_import_request.py
|
33
|
-
test/test_job.py
|
34
27
|
test/test_job_api.py
|
35
28
|
test/test_job_v1.py
|
36
29
|
test/test_record_api.py
|
@@ -63,7 +56,6 @@ wds_client.egg-info/requires.txt
|
|
63
56
|
wds_client.egg-info/top_level.txt
|
64
57
|
wds_client/api/__init__.py
|
65
58
|
wds_client/api/capabilities_api.py
|
66
|
-
wds_client/api/cloning_api.py
|
67
59
|
wds_client/api/collection_api.py
|
68
60
|
wds_client/api/general_wds_information_api.py
|
69
61
|
wds_client/api/import_api.py
|
@@ -77,16 +69,11 @@ wds_client/models/app.py
|
|
77
69
|
wds_client/models/attribute_data_type.py
|
78
70
|
wds_client/models/attribute_schema.py
|
79
71
|
wds_client/models/attribute_schema_update.py
|
80
|
-
wds_client/models/backup_job.py
|
81
|
-
wds_client/models/backup_response.py
|
82
|
-
wds_client/models/backup_restore_request.py
|
83
72
|
wds_client/models/batch_operation.py
|
84
73
|
wds_client/models/batch_record_request.py
|
85
74
|
wds_client/models/batch_response.py
|
86
75
|
wds_client/models/build.py
|
87
76
|
wds_client/models/capabilities.py
|
88
|
-
wds_client/models/clone_job.py
|
89
|
-
wds_client/models/clone_response.py
|
90
77
|
wds_client/models/collection.py
|
91
78
|
wds_client/models/collection_request.py
|
92
79
|
wds_client/models/commit.py
|
@@ -96,7 +83,6 @@ wds_client/models/error_response.py
|
|
96
83
|
wds_client/models/generic_job.py
|
97
84
|
wds_client/models/git.py
|
98
85
|
wds_client/models/import_request.py
|
99
|
-
wds_client/models/job.py
|
100
86
|
wds_client/models/job_v1.py
|
101
87
|
wds_client/models/record_query_response.py
|
102
88
|
wds_client/models/record_request.py
|
@@ -1,65 +0,0 @@
|
|
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_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 `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()
|
@@ -1,53 +0,0 @@
|
|
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_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 `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()
|
@@ -1,52 +0,0 @@
|
|
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_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 `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()
|
@@ -1,64 +0,0 @@
|
|
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.clone_job import CloneJob
|
18
|
-
|
19
|
-
class TestCloneJob(unittest.TestCase):
|
20
|
-
"""CloneJob 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) -> CloneJob:
|
29
|
-
"""Test CloneJob
|
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 `CloneJob`
|
34
|
-
"""
|
35
|
-
model = CloneJob()
|
36
|
-
if include_optional:
|
37
|
-
return CloneJob(
|
38
|
-
job_id = '',
|
39
|
-
job_type = '',
|
40
|
-
status = 'QUEUED',
|
41
|
-
created = '',
|
42
|
-
updated = '',
|
43
|
-
error_message = '',
|
44
|
-
input = None,
|
45
|
-
result = wds_client.models.clone_response.CloneResponse(
|
46
|
-
sourceworkspaceid = '',
|
47
|
-
clonestatus = '', )
|
48
|
-
)
|
49
|
-
else:
|
50
|
-
return CloneJob(
|
51
|
-
job_id = '',
|
52
|
-
status = 'QUEUED',
|
53
|
-
created = '',
|
54
|
-
updated = '',
|
55
|
-
)
|
56
|
-
"""
|
57
|
-
|
58
|
-
def testCloneJob(self):
|
59
|
-
"""Test CloneJob"""
|
60
|
-
# inst_req_only = self.make_instance(include_optional=False)
|
61
|
-
# inst_req_and_optional = self.make_instance(include_optional=True)
|
62
|
-
|
63
|
-
if __name__ == '__main__':
|
64
|
-
unittest.main()
|
@@ -1,52 +0,0 @@
|
|
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.clone_response import CloneResponse
|
18
|
-
|
19
|
-
class TestCloneResponse(unittest.TestCase):
|
20
|
-
"""CloneResponse 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) -> CloneResponse:
|
29
|
-
"""Test CloneResponse
|
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 `CloneResponse`
|
34
|
-
"""
|
35
|
-
model = CloneResponse()
|
36
|
-
if include_optional:
|
37
|
-
return CloneResponse(
|
38
|
-
sourceworkspaceid = '',
|
39
|
-
clonestatus = ''
|
40
|
-
)
|
41
|
-
else:
|
42
|
-
return CloneResponse(
|
43
|
-
)
|
44
|
-
"""
|
45
|
-
|
46
|
-
def testCloneResponse(self):
|
47
|
-
"""Test CloneResponse"""
|
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()
|
@@ -1,52 +0,0 @@
|
|
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.cloning_api import CloningApi
|
18
|
-
|
19
|
-
|
20
|
-
class TestCloningApi(unittest.TestCase):
|
21
|
-
"""CloningApi unit test stubs"""
|
22
|
-
|
23
|
-
def setUp(self) -> None:
|
24
|
-
self.api = CloningApi()
|
25
|
-
|
26
|
-
def tearDown(self) -> None:
|
27
|
-
pass
|
28
|
-
|
29
|
-
def test_create_backup(self) -> None:
|
30
|
-
"""Test case for create_backup
|
31
|
-
|
32
|
-
Create a backup of all WDS data
|
33
|
-
"""
|
34
|
-
pass
|
35
|
-
|
36
|
-
def test_get_backup_status(self) -> None:
|
37
|
-
"""Test case for get_backup_status
|
38
|
-
|
39
|
-
Check status of a WDS data backup
|
40
|
-
"""
|
41
|
-
pass
|
42
|
-
|
43
|
-
def test_get_clone_status(self) -> None:
|
44
|
-
"""Test case for get_clone_status
|
45
|
-
|
46
|
-
Check status of a WDS data clone
|
47
|
-
"""
|
48
|
-
pass
|
49
|
-
|
50
|
-
|
51
|
-
if __name__ == '__main__':
|
52
|
-
unittest.main()
|
@@ -1,60 +0,0 @@
|
|
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.job import Job
|
18
|
-
|
19
|
-
class TestJob(unittest.TestCase):
|
20
|
-
"""Job 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) -> Job:
|
29
|
-
"""Test Job
|
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 `Job`
|
34
|
-
"""
|
35
|
-
model = Job()
|
36
|
-
if include_optional:
|
37
|
-
return Job(
|
38
|
-
job_id = '',
|
39
|
-
job_type = '',
|
40
|
-
status = 'QUEUED',
|
41
|
-
created = '',
|
42
|
-
updated = '',
|
43
|
-
error_message = ''
|
44
|
-
)
|
45
|
-
else:
|
46
|
-
return Job(
|
47
|
-
job_id = '',
|
48
|
-
status = 'QUEUED',
|
49
|
-
created = '',
|
50
|
-
updated = '',
|
51
|
-
)
|
52
|
-
"""
|
53
|
-
|
54
|
-
def testJob(self):
|
55
|
-
"""Test Job"""
|
56
|
-
# inst_req_only = self.make_instance(include_optional=False)
|
57
|
-
# inst_req_and_optional = self.make_instance(include_optional=True)
|
58
|
-
|
59
|
-
if __name__ == '__main__':
|
60
|
-
unittest.main()
|