wds-client 0.10.0__tar.gz → 0.12.0__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {wds_client-0.10.0 → wds_client-0.12.0}/PKG-INFO +1 -1
- {wds_client-0.10.0 → wds_client-0.12.0}/README.md +2 -2
- {wds_client-0.10.0 → wds_client-0.12.0}/pyproject.toml +1 -1
- {wds_client-0.10.0 → wds_client-0.12.0}/setup.py +1 -1
- {wds_client-0.10.0 → wds_client-0.12.0}/test/test_app.py +1 -1
- {wds_client-0.10.0 → wds_client-0.12.0}/test/test_attribute_schema.py +1 -1
- {wds_client-0.10.0 → wds_client-0.12.0}/test/test_attribute_schema_update.py +1 -1
- {wds_client-0.10.0 → wds_client-0.12.0}/test/test_backup_job.py +1 -1
- {wds_client-0.10.0 → wds_client-0.12.0}/test/test_backup_response.py +1 -1
- {wds_client-0.10.0 → wds_client-0.12.0}/test/test_backup_restore_request.py +1 -1
- {wds_client-0.10.0 → wds_client-0.12.0}/test/test_batch_operation.py +1 -1
- {wds_client-0.10.0 → wds_client-0.12.0}/test/test_batch_record_request.py +1 -1
- {wds_client-0.10.0 → wds_client-0.12.0}/test/test_batch_response.py +1 -1
- {wds_client-0.10.0 → wds_client-0.12.0}/test/test_build.py +1 -1
- {wds_client-0.10.0 → wds_client-0.12.0}/test/test_capabilities.py +1 -1
- {wds_client-0.10.0 → wds_client-0.12.0}/test/test_clone_job.py +1 -1
- {wds_client-0.10.0 → wds_client-0.12.0}/test/test_clone_response.py +1 -1
- {wds_client-0.10.0 → wds_client-0.12.0}/test/test_commit.py +1 -1
- {wds_client-0.10.0 → wds_client-0.12.0}/test/test_error_response.py +1 -1
- {wds_client-0.10.0 → wds_client-0.12.0}/test/test_generic_job.py +1 -1
- {wds_client-0.10.0 → wds_client-0.12.0}/test/test_git.py +1 -1
- {wds_client-0.10.0 → wds_client-0.12.0}/test/test_import_request.py +1 -1
- {wds_client-0.10.0 → wds_client-0.12.0}/test/test_job.py +1 -1
- {wds_client-0.10.0 → wds_client-0.12.0}/test/test_job_v1.py +1 -1
- {wds_client-0.10.0 → wds_client-0.12.0}/test/test_record_query_response.py +1 -1
- {wds_client-0.10.0 → wds_client-0.12.0}/test/test_record_request.py +1 -1
- {wds_client-0.10.0 → wds_client-0.12.0}/test/test_record_response.py +1 -1
- {wds_client-0.10.0 → wds_client-0.12.0}/test/test_record_type_schema.py +1 -1
- {wds_client-0.10.0 → wds_client-0.12.0}/test/test_search_filter.py +1 -1
- {wds_client-0.10.0 → wds_client-0.12.0}/test/test_search_request.py +1 -1
- {wds_client-0.10.0 → wds_client-0.12.0}/test/test_status_response.py +1 -1
- {wds_client-0.10.0 → wds_client-0.12.0}/test/test_tsv_upload_response.py +1 -1
- {wds_client-0.10.0 → wds_client-0.12.0}/test/test_version_response.py +1 -1
- {wds_client-0.10.0 → wds_client-0.12.0}/wds_client/__init__.py +1 -1
- {wds_client-0.10.0 → wds_client-0.12.0}/wds_client/api/capabilities_api.py +6 -5
- {wds_client-0.10.0 → wds_client-0.12.0}/wds_client/api/cloning_api.py +18 -15
- {wds_client-0.10.0 → wds_client-0.12.0}/wds_client/api/general_wds_information_api.py +12 -10
- {wds_client-0.10.0 → wds_client-0.12.0}/wds_client/api/import_api.py +6 -5
- {wds_client-0.10.0 → wds_client-0.12.0}/wds_client/api/instances_api.py +18 -15
- {wds_client-0.10.0 → wds_client-0.12.0}/wds_client/api/job_api.py +12 -10
- {wds_client-0.10.0 → wds_client-0.12.0}/wds_client/api/records_api.py +49 -41
- {wds_client-0.10.0 → wds_client-0.12.0}/wds_client/api/schema_api.py +24 -20
- {wds_client-0.10.0 → wds_client-0.12.0}/wds_client/api_client.py +21 -10
- {wds_client-0.10.0 → wds_client-0.12.0}/wds_client/configuration.py +17 -3
- {wds_client-0.10.0 → wds_client-0.12.0}/wds_client/models/search_request.py +2 -2
- {wds_client-0.10.0 → wds_client-0.12.0}/wds_client.egg-info/PKG-INFO +1 -1
- {wds_client-0.10.0 → wds_client-0.12.0}/setup.cfg +0 -0
- {wds_client-0.10.0 → wds_client-0.12.0}/test/test_attribute_data_type.py +0 -0
- {wds_client-0.10.0 → wds_client-0.12.0}/test/test_capabilities_api.py +0 -0
- {wds_client-0.10.0 → wds_client-0.12.0}/test/test_cloning_api.py +0 -0
- {wds_client-0.10.0 → wds_client-0.12.0}/test/test_general_wds_information_api.py +0 -0
- {wds_client-0.10.0 → wds_client-0.12.0}/test/test_import_api.py +0 -0
- {wds_client-0.10.0 → wds_client-0.12.0}/test/test_instances_api.py +0 -0
- {wds_client-0.10.0 → wds_client-0.12.0}/test/test_job_api.py +0 -0
- {wds_client-0.10.0 → wds_client-0.12.0}/test/test_records_api.py +0 -0
- {wds_client-0.10.0 → wds_client-0.12.0}/test/test_schema_api.py +0 -0
- {wds_client-0.10.0 → wds_client-0.12.0}/test/test_search_sort_direction.py +0 -0
- {wds_client-0.10.0 → wds_client-0.12.0}/wds_client/api/__init__.py +0 -0
- {wds_client-0.10.0 → wds_client-0.12.0}/wds_client/api_response.py +0 -0
- {wds_client-0.10.0 → wds_client-0.12.0}/wds_client/exceptions.py +0 -0
- {wds_client-0.10.0 → wds_client-0.12.0}/wds_client/models/__init__.py +0 -0
- {wds_client-0.10.0 → wds_client-0.12.0}/wds_client/models/app.py +0 -0
- {wds_client-0.10.0 → wds_client-0.12.0}/wds_client/models/attribute_data_type.py +0 -0
- {wds_client-0.10.0 → wds_client-0.12.0}/wds_client/models/attribute_schema.py +0 -0
- {wds_client-0.10.0 → wds_client-0.12.0}/wds_client/models/attribute_schema_update.py +0 -0
- {wds_client-0.10.0 → wds_client-0.12.0}/wds_client/models/backup_job.py +0 -0
- {wds_client-0.10.0 → wds_client-0.12.0}/wds_client/models/backup_response.py +0 -0
- {wds_client-0.10.0 → wds_client-0.12.0}/wds_client/models/backup_restore_request.py +0 -0
- {wds_client-0.10.0 → wds_client-0.12.0}/wds_client/models/batch_operation.py +0 -0
- {wds_client-0.10.0 → wds_client-0.12.0}/wds_client/models/batch_record_request.py +0 -0
- {wds_client-0.10.0 → wds_client-0.12.0}/wds_client/models/batch_response.py +0 -0
- {wds_client-0.10.0 → wds_client-0.12.0}/wds_client/models/build.py +0 -0
- {wds_client-0.10.0 → wds_client-0.12.0}/wds_client/models/capabilities.py +0 -0
- {wds_client-0.10.0 → wds_client-0.12.0}/wds_client/models/clone_job.py +0 -0
- {wds_client-0.10.0 → wds_client-0.12.0}/wds_client/models/clone_response.py +0 -0
- {wds_client-0.10.0 → wds_client-0.12.0}/wds_client/models/commit.py +0 -0
- {wds_client-0.10.0 → wds_client-0.12.0}/wds_client/models/error_response.py +0 -0
- {wds_client-0.10.0 → wds_client-0.12.0}/wds_client/models/generic_job.py +0 -0
- {wds_client-0.10.0 → wds_client-0.12.0}/wds_client/models/git.py +0 -0
- {wds_client-0.10.0 → wds_client-0.12.0}/wds_client/models/import_request.py +0 -0
- {wds_client-0.10.0 → wds_client-0.12.0}/wds_client/models/job.py +0 -0
- {wds_client-0.10.0 → wds_client-0.12.0}/wds_client/models/job_v1.py +0 -0
- {wds_client-0.10.0 → wds_client-0.12.0}/wds_client/models/record_query_response.py +0 -0
- {wds_client-0.10.0 → wds_client-0.12.0}/wds_client/models/record_request.py +0 -0
- {wds_client-0.10.0 → wds_client-0.12.0}/wds_client/models/record_response.py +0 -0
- {wds_client-0.10.0 → wds_client-0.12.0}/wds_client/models/record_type_schema.py +0 -0
- {wds_client-0.10.0 → wds_client-0.12.0}/wds_client/models/search_filter.py +0 -0
- {wds_client-0.10.0 → wds_client-0.12.0}/wds_client/models/search_sort_direction.py +0 -0
- {wds_client-0.10.0 → wds_client-0.12.0}/wds_client/models/status_response.py +0 -0
- {wds_client-0.10.0 → wds_client-0.12.0}/wds_client/models/tsv_upload_response.py +0 -0
- {wds_client-0.10.0 → wds_client-0.12.0}/wds_client/models/version_response.py +0 -0
- {wds_client-0.10.0 → wds_client-0.12.0}/wds_client/py.typed +0 -0
- {wds_client-0.10.0 → wds_client-0.12.0}/wds_client/rest.py +0 -0
- {wds_client-0.10.0 → wds_client-0.12.0}/wds_client.egg-info/SOURCES.txt +0 -0
- {wds_client-0.10.0 → wds_client-0.12.0}/wds_client.egg-info/dependency_links.txt +0 -0
- {wds_client-0.10.0 → wds_client-0.12.0}/wds_client.egg-info/requires.txt +0 -0
- {wds_client-0.10.0 → wds_client-0.12.0}/wds_client.egg-info/top_level.txt +0 -0
@@ -9,8 +9,8 @@ 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
|
-
- Generator version: 7.
|
12
|
+
- Package version: 0.12.0
|
13
|
+
- Generator version: 7.7.0
|
14
14
|
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
|
15
15
|
|
16
16
|
## Requirements.
|
@@ -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.12.0"
|
25
25
|
PYTHON_REQUIRES = ">=3.7"
|
26
26
|
REQUIRES = [
|
27
27
|
"urllib3 >= 1.25.3, < 2.1.0",
|
@@ -27,7 +27,7 @@ class TestApp(unittest.TestCase):
|
|
27
27
|
|
28
28
|
def make_instance(self, include_optional) -> App:
|
29
29
|
"""Test App
|
30
|
-
|
30
|
+
include_optional is a boolean, when False only required
|
31
31
|
params are included, when True both required and
|
32
32
|
optional params are included """
|
33
33
|
# uncomment below to create an instance of `App`
|
@@ -27,7 +27,7 @@ class TestAttributeSchema(unittest.TestCase):
|
|
27
27
|
|
28
28
|
def make_instance(self, include_optional) -> AttributeSchema:
|
29
29
|
"""Test AttributeSchema
|
30
|
-
|
30
|
+
include_optional is a boolean, when False only required
|
31
31
|
params are included, when True both required and
|
32
32
|
optional params are included """
|
33
33
|
# uncomment below to create an instance of `AttributeSchema`
|
@@ -27,7 +27,7 @@ class TestAttributeSchemaUpdate(unittest.TestCase):
|
|
27
27
|
|
28
28
|
def make_instance(self, include_optional) -> AttributeSchemaUpdate:
|
29
29
|
"""Test AttributeSchemaUpdate
|
30
|
-
|
30
|
+
include_optional is a boolean, when False only required
|
31
31
|
params are included, when True both required and
|
32
32
|
optional params are included """
|
33
33
|
# uncomment below to create an instance of `AttributeSchemaUpdate`
|
@@ -27,7 +27,7 @@ class TestBackupJob(unittest.TestCase):
|
|
27
27
|
|
28
28
|
def make_instance(self, include_optional) -> BackupJob:
|
29
29
|
"""Test BackupJob
|
30
|
-
|
30
|
+
include_optional is a boolean, when False only required
|
31
31
|
params are included, when True both required and
|
32
32
|
optional params are included """
|
33
33
|
# uncomment below to create an instance of `BackupJob`
|
@@ -27,7 +27,7 @@ class TestBackupResponse(unittest.TestCase):
|
|
27
27
|
|
28
28
|
def make_instance(self, include_optional) -> BackupResponse:
|
29
29
|
"""Test BackupResponse
|
30
|
-
|
30
|
+
include_optional is a boolean, when False only required
|
31
31
|
params are included, when True both required and
|
32
32
|
optional params are included """
|
33
33
|
# uncomment below to create an instance of `BackupResponse`
|
@@ -27,7 +27,7 @@ class TestBackupRestoreRequest(unittest.TestCase):
|
|
27
27
|
|
28
28
|
def make_instance(self, include_optional) -> BackupRestoreRequest:
|
29
29
|
"""Test BackupRestoreRequest
|
30
|
-
|
30
|
+
include_optional is a boolean, when False only required
|
31
31
|
params are included, when True both required and
|
32
32
|
optional params are included """
|
33
33
|
# uncomment below to create an instance of `BackupRestoreRequest`
|
@@ -27,7 +27,7 @@ class TestBatchOperation(unittest.TestCase):
|
|
27
27
|
|
28
28
|
def make_instance(self, include_optional) -> BatchOperation:
|
29
29
|
"""Test BatchOperation
|
30
|
-
|
30
|
+
include_optional is a boolean, when False only required
|
31
31
|
params are included, when True both required and
|
32
32
|
optional params are included """
|
33
33
|
# uncomment below to create an instance of `BatchOperation`
|
@@ -27,7 +27,7 @@ class TestBatchRecordRequest(unittest.TestCase):
|
|
27
27
|
|
28
28
|
def make_instance(self, include_optional) -> BatchRecordRequest:
|
29
29
|
"""Test BatchRecordRequest
|
30
|
-
|
30
|
+
include_optional is a boolean, when False only required
|
31
31
|
params are included, when True both required and
|
32
32
|
optional params are included """
|
33
33
|
# uncomment below to create an instance of `BatchRecordRequest`
|
@@ -27,7 +27,7 @@ class TestBatchResponse(unittest.TestCase):
|
|
27
27
|
|
28
28
|
def make_instance(self, include_optional) -> BatchResponse:
|
29
29
|
"""Test BatchResponse
|
30
|
-
|
30
|
+
include_optional is a boolean, when False only required
|
31
31
|
params are included, when True both required and
|
32
32
|
optional params are included """
|
33
33
|
# uncomment below to create an instance of `BatchResponse`
|
@@ -27,7 +27,7 @@ class TestBuild(unittest.TestCase):
|
|
27
27
|
|
28
28
|
def make_instance(self, include_optional) -> Build:
|
29
29
|
"""Test Build
|
30
|
-
|
30
|
+
include_optional is a boolean, when False only required
|
31
31
|
params are included, when True both required and
|
32
32
|
optional params are included """
|
33
33
|
# uncomment below to create an instance of `Build`
|
@@ -27,7 +27,7 @@ class TestCapabilities(unittest.TestCase):
|
|
27
27
|
|
28
28
|
def make_instance(self, include_optional) -> Capabilities:
|
29
29
|
"""Test Capabilities
|
30
|
-
|
30
|
+
include_optional is a boolean, when False only required
|
31
31
|
params are included, when True both required and
|
32
32
|
optional params are included """
|
33
33
|
# uncomment below to create an instance of `Capabilities`
|
@@ -27,7 +27,7 @@ class TestCloneJob(unittest.TestCase):
|
|
27
27
|
|
28
28
|
def make_instance(self, include_optional) -> CloneJob:
|
29
29
|
"""Test CloneJob
|
30
|
-
|
30
|
+
include_optional is a boolean, when False only required
|
31
31
|
params are included, when True both required and
|
32
32
|
optional params are included """
|
33
33
|
# uncomment below to create an instance of `CloneJob`
|
@@ -27,7 +27,7 @@ class TestCloneResponse(unittest.TestCase):
|
|
27
27
|
|
28
28
|
def make_instance(self, include_optional) -> CloneResponse:
|
29
29
|
"""Test CloneResponse
|
30
|
-
|
30
|
+
include_optional is a boolean, when False only required
|
31
31
|
params are included, when True both required and
|
32
32
|
optional params are included """
|
33
33
|
# uncomment below to create an instance of `CloneResponse`
|
@@ -27,7 +27,7 @@ class TestCommit(unittest.TestCase):
|
|
27
27
|
|
28
28
|
def make_instance(self, include_optional) -> Commit:
|
29
29
|
"""Test Commit
|
30
|
-
|
30
|
+
include_optional is a boolean, when False only required
|
31
31
|
params are included, when True both required and
|
32
32
|
optional params are included """
|
33
33
|
# uncomment below to create an instance of `Commit`
|
@@ -27,7 +27,7 @@ class TestErrorResponse(unittest.TestCase):
|
|
27
27
|
|
28
28
|
def make_instance(self, include_optional) -> ErrorResponse:
|
29
29
|
"""Test ErrorResponse
|
30
|
-
|
30
|
+
include_optional is a boolean, when False only required
|
31
31
|
params are included, when True both required and
|
32
32
|
optional params are included """
|
33
33
|
# uncomment below to create an instance of `ErrorResponse`
|
@@ -27,7 +27,7 @@ class TestGenericJob(unittest.TestCase):
|
|
27
27
|
|
28
28
|
def make_instance(self, include_optional) -> GenericJob:
|
29
29
|
"""Test GenericJob
|
30
|
-
|
30
|
+
include_optional is a boolean, when False only required
|
31
31
|
params are included, when True both required and
|
32
32
|
optional params are included """
|
33
33
|
# uncomment below to create an instance of `GenericJob`
|
@@ -27,7 +27,7 @@ class TestGit(unittest.TestCase):
|
|
27
27
|
|
28
28
|
def make_instance(self, include_optional) -> Git:
|
29
29
|
"""Test Git
|
30
|
-
|
30
|
+
include_optional is a boolean, when False only required
|
31
31
|
params are included, when True both required and
|
32
32
|
optional params are included """
|
33
33
|
# uncomment below to create an instance of `Git`
|
@@ -27,7 +27,7 @@ class TestImportRequest(unittest.TestCase):
|
|
27
27
|
|
28
28
|
def make_instance(self, include_optional) -> ImportRequest:
|
29
29
|
"""Test ImportRequest
|
30
|
-
|
30
|
+
include_optional is a boolean, when False only required
|
31
31
|
params are included, when True both required and
|
32
32
|
optional params are included """
|
33
33
|
# uncomment below to create an instance of `ImportRequest`
|
@@ -27,7 +27,7 @@ class TestJob(unittest.TestCase):
|
|
27
27
|
|
28
28
|
def make_instance(self, include_optional) -> Job:
|
29
29
|
"""Test Job
|
30
|
-
|
30
|
+
include_optional is a boolean, when False only required
|
31
31
|
params are included, when True both required and
|
32
32
|
optional params are included """
|
33
33
|
# uncomment below to create an instance of `Job`
|
@@ -27,7 +27,7 @@ class TestJobV1(unittest.TestCase):
|
|
27
27
|
|
28
28
|
def make_instance(self, include_optional) -> JobV1:
|
29
29
|
"""Test JobV1
|
30
|
-
|
30
|
+
include_optional is a boolean, when False only required
|
31
31
|
params are included, when True both required and
|
32
32
|
optional params are included """
|
33
33
|
# uncomment below to create an instance of `JobV1`
|
@@ -27,7 +27,7 @@ class TestRecordQueryResponse(unittest.TestCase):
|
|
27
27
|
|
28
28
|
def make_instance(self, include_optional) -> RecordQueryResponse:
|
29
29
|
"""Test RecordQueryResponse
|
30
|
-
|
30
|
+
include_optional is a boolean, when False only required
|
31
31
|
params are included, when True both required and
|
32
32
|
optional params are included """
|
33
33
|
# uncomment below to create an instance of `RecordQueryResponse`
|
@@ -27,7 +27,7 @@ class TestRecordRequest(unittest.TestCase):
|
|
27
27
|
|
28
28
|
def make_instance(self, include_optional) -> RecordRequest:
|
29
29
|
"""Test RecordRequest
|
30
|
-
|
30
|
+
include_optional is a boolean, when False only required
|
31
31
|
params are included, when True both required and
|
32
32
|
optional params are included """
|
33
33
|
# uncomment below to create an instance of `RecordRequest`
|
@@ -27,7 +27,7 @@ class TestRecordResponse(unittest.TestCase):
|
|
27
27
|
|
28
28
|
def make_instance(self, include_optional) -> RecordResponse:
|
29
29
|
"""Test RecordResponse
|
30
|
-
|
30
|
+
include_optional is a boolean, when False only required
|
31
31
|
params are included, when True both required and
|
32
32
|
optional params are included """
|
33
33
|
# uncomment below to create an instance of `RecordResponse`
|
@@ -27,7 +27,7 @@ class TestRecordTypeSchema(unittest.TestCase):
|
|
27
27
|
|
28
28
|
def make_instance(self, include_optional) -> RecordTypeSchema:
|
29
29
|
"""Test RecordTypeSchema
|
30
|
-
|
30
|
+
include_optional is a boolean, when False only required
|
31
31
|
params are included, when True both required and
|
32
32
|
optional params are included """
|
33
33
|
# uncomment below to create an instance of `RecordTypeSchema`
|
@@ -27,7 +27,7 @@ class TestSearchFilter(unittest.TestCase):
|
|
27
27
|
|
28
28
|
def make_instance(self, include_optional) -> SearchFilter:
|
29
29
|
"""Test SearchFilter
|
30
|
-
|
30
|
+
include_optional is a boolean, when False only required
|
31
31
|
params are included, when True both required and
|
32
32
|
optional params are included """
|
33
33
|
# uncomment below to create an instance of `SearchFilter`
|
@@ -27,7 +27,7 @@ class TestSearchRequest(unittest.TestCase):
|
|
27
27
|
|
28
28
|
def make_instance(self, include_optional) -> SearchRequest:
|
29
29
|
"""Test SearchRequest
|
30
|
-
|
30
|
+
include_optional is a boolean, when False only required
|
31
31
|
params are included, when True both required and
|
32
32
|
optional params are included """
|
33
33
|
# uncomment below to create an instance of `SearchRequest`
|
@@ -27,7 +27,7 @@ class TestStatusResponse(unittest.TestCase):
|
|
27
27
|
|
28
28
|
def make_instance(self, include_optional) -> StatusResponse:
|
29
29
|
"""Test StatusResponse
|
30
|
-
|
30
|
+
include_optional is a boolean, when False only required
|
31
31
|
params are included, when True both required and
|
32
32
|
optional params are included """
|
33
33
|
# uncomment below to create an instance of `StatusResponse`
|
@@ -27,7 +27,7 @@ class TestTsvUploadResponse(unittest.TestCase):
|
|
27
27
|
|
28
28
|
def make_instance(self, include_optional) -> TsvUploadResponse:
|
29
29
|
"""Test TsvUploadResponse
|
30
|
-
|
30
|
+
include_optional is a boolean, when False only required
|
31
31
|
params are included, when True both required and
|
32
32
|
optional params are included """
|
33
33
|
# uncomment below to create an instance of `TsvUploadResponse`
|
@@ -27,7 +27,7 @@ class TestVersionResponse(unittest.TestCase):
|
|
27
27
|
|
28
28
|
def make_instance(self, include_optional) -> VersionResponse:
|
29
29
|
"""Test VersionResponse
|
30
|
-
|
30
|
+
include_optional is a boolean, when False only required
|
31
31
|
params are included, when True both required and
|
32
32
|
optional params are included """
|
33
33
|
# uncomment below to create an instance of `VersionResponse`
|
@@ -246,11 +246,12 @@ class CapabilitiesApi:
|
|
246
246
|
|
247
247
|
|
248
248
|
# set the HTTP header `Accept`
|
249
|
-
|
250
|
-
[
|
251
|
-
|
252
|
-
|
253
|
-
|
249
|
+
if 'Accept' not in _header_params:
|
250
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
251
|
+
[
|
252
|
+
'application/json'
|
253
|
+
]
|
254
|
+
)
|
254
255
|
|
255
256
|
|
256
257
|
# authentication setting
|
@@ -280,11 +280,12 @@ class CloningApi:
|
|
280
280
|
|
281
281
|
|
282
282
|
# set the HTTP header `Accept`
|
283
|
-
|
284
|
-
[
|
285
|
-
|
286
|
-
|
287
|
-
|
283
|
+
if 'Accept' not in _header_params:
|
284
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
285
|
+
[
|
286
|
+
'application/json'
|
287
|
+
]
|
288
|
+
)
|
288
289
|
|
289
290
|
# set the HTTP header `Content-Type`
|
290
291
|
if _content_type:
|
@@ -563,11 +564,12 @@ class CloningApi:
|
|
563
564
|
|
564
565
|
|
565
566
|
# set the HTTP header `Accept`
|
566
|
-
|
567
|
-
[
|
568
|
-
|
569
|
-
|
570
|
-
|
567
|
+
if 'Accept' not in _header_params:
|
568
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
569
|
+
[
|
570
|
+
'application/json'
|
571
|
+
]
|
572
|
+
)
|
571
573
|
|
572
574
|
|
573
575
|
# authentication setting
|
@@ -818,11 +820,12 @@ class CloningApi:
|
|
818
820
|
|
819
821
|
|
820
822
|
# set the HTTP header `Accept`
|
821
|
-
|
822
|
-
[
|
823
|
-
|
824
|
-
|
825
|
-
|
823
|
+
if 'Accept' not in _header_params:
|
824
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
825
|
+
[
|
826
|
+
'application/json'
|
827
|
+
]
|
828
|
+
)
|
826
829
|
|
827
830
|
|
828
831
|
# authentication setting
|
@@ -247,11 +247,12 @@ class GeneralWDSInformationApi:
|
|
247
247
|
|
248
248
|
|
249
249
|
# set the HTTP header `Accept`
|
250
|
-
|
251
|
-
[
|
252
|
-
|
253
|
-
|
254
|
-
|
250
|
+
if 'Accept' not in _header_params:
|
251
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
252
|
+
[
|
253
|
+
'application/json'
|
254
|
+
]
|
255
|
+
)
|
255
256
|
|
256
257
|
|
257
258
|
# authentication setting
|
@@ -486,11 +487,12 @@ class GeneralWDSInformationApi:
|
|
486
487
|
|
487
488
|
|
488
489
|
# set the HTTP header `Accept`
|
489
|
-
|
490
|
-
[
|
491
|
-
|
492
|
-
|
493
|
-
|
490
|
+
if 'Accept' not in _header_params:
|
491
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
492
|
+
[
|
493
|
+
'application/json'
|
494
|
+
]
|
495
|
+
)
|
494
496
|
|
495
497
|
|
496
498
|
# authentication setting
|
@@ -282,11 +282,12 @@ class ImportApi:
|
|
282
282
|
|
283
283
|
|
284
284
|
# set the HTTP header `Accept`
|
285
|
-
|
286
|
-
[
|
287
|
-
|
288
|
-
|
289
|
-
|
285
|
+
if 'Accept' not in _header_params:
|
286
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
287
|
+
[
|
288
|
+
'application/json'
|
289
|
+
]
|
290
|
+
)
|
290
291
|
|
291
292
|
# set the HTTP header `Content-Type`
|
292
293
|
if _content_type:
|
@@ -284,11 +284,12 @@ class InstancesApi:
|
|
284
284
|
|
285
285
|
|
286
286
|
# set the HTTP header `Accept`
|
287
|
-
|
288
|
-
[
|
289
|
-
|
290
|
-
|
291
|
-
|
287
|
+
if 'Accept' not in _header_params:
|
288
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
289
|
+
[
|
290
|
+
'application/json'
|
291
|
+
]
|
292
|
+
)
|
292
293
|
|
293
294
|
|
294
295
|
# authentication setting
|
@@ -560,11 +561,12 @@ class InstancesApi:
|
|
560
561
|
|
561
562
|
|
562
563
|
# set the HTTP header `Accept`
|
563
|
-
|
564
|
-
[
|
565
|
-
|
566
|
-
|
567
|
-
|
564
|
+
if 'Accept' not in _header_params:
|
565
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
566
|
+
[
|
567
|
+
'application/json'
|
568
|
+
]
|
569
|
+
)
|
568
570
|
|
569
571
|
|
570
572
|
# authentication setting
|
@@ -818,11 +820,12 @@ class InstancesApi:
|
|
818
820
|
|
819
821
|
|
820
822
|
# set the HTTP header `Accept`
|
821
|
-
|
822
|
-
[
|
823
|
-
|
824
|
-
|
825
|
-
|
823
|
+
if 'Accept' not in _header_params:
|
824
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
825
|
+
[
|
826
|
+
'application/json'
|
827
|
+
]
|
828
|
+
)
|
826
829
|
|
827
830
|
|
828
831
|
# authentication setting
|
@@ -267,11 +267,12 @@ class JobApi:
|
|
267
267
|
|
268
268
|
|
269
269
|
# set the HTTP header `Accept`
|
270
|
-
|
271
|
-
[
|
272
|
-
|
273
|
-
|
274
|
-
|
270
|
+
if 'Accept' not in _header_params:
|
271
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
272
|
+
[
|
273
|
+
'application/json'
|
274
|
+
]
|
275
|
+
)
|
275
276
|
|
276
277
|
|
277
278
|
# authentication setting
|
@@ -540,11 +541,12 @@ class JobApi:
|
|
540
541
|
|
541
542
|
|
542
543
|
# set the HTTP header `Accept`
|
543
|
-
|
544
|
-
[
|
545
|
-
|
546
|
-
|
547
|
-
|
544
|
+
if 'Accept' not in _header_params:
|
545
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
546
|
+
[
|
547
|
+
'application/json'
|
548
|
+
]
|
549
|
+
)
|
548
550
|
|
549
551
|
|
550
552
|
# authentication setting
|
@@ -336,11 +336,12 @@ class RecordsApi:
|
|
336
336
|
|
337
337
|
|
338
338
|
# set the HTTP header `Accept`
|
339
|
-
|
340
|
-
[
|
341
|
-
|
342
|
-
|
343
|
-
|
339
|
+
if 'Accept' not in _header_params:
|
340
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
341
|
+
[
|
342
|
+
'application/json'
|
343
|
+
]
|
344
|
+
)
|
344
345
|
|
345
346
|
# set the HTTP header `Content-Type`
|
346
347
|
if _content_type:
|
@@ -690,11 +691,12 @@ class RecordsApi:
|
|
690
691
|
|
691
692
|
|
692
693
|
# set the HTTP header `Accept`
|
693
|
-
|
694
|
-
[
|
695
|
-
|
696
|
-
|
697
|
-
|
694
|
+
if 'Accept' not in _header_params:
|
695
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
696
|
+
[
|
697
|
+
'application/json'
|
698
|
+
]
|
699
|
+
)
|
698
700
|
|
699
701
|
# set the HTTP header `Content-Type`
|
700
702
|
if _content_type:
|
@@ -1012,11 +1014,12 @@ class RecordsApi:
|
|
1012
1014
|
|
1013
1015
|
|
1014
1016
|
# set the HTTP header `Accept`
|
1015
|
-
|
1016
|
-
[
|
1017
|
-
|
1018
|
-
|
1019
|
-
|
1017
|
+
if 'Accept' not in _header_params:
|
1018
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
1019
|
+
[
|
1020
|
+
'application/json'
|
1021
|
+
]
|
1022
|
+
)
|
1020
1023
|
|
1021
1024
|
|
1022
1025
|
# authentication setting
|
@@ -1318,11 +1321,12 @@ class RecordsApi:
|
|
1318
1321
|
|
1319
1322
|
|
1320
1323
|
# set the HTTP header `Accept`
|
1321
|
-
|
1322
|
-
[
|
1323
|
-
|
1324
|
-
|
1325
|
-
|
1324
|
+
if 'Accept' not in _header_params:
|
1325
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
1326
|
+
[
|
1327
|
+
'application/json'
|
1328
|
+
]
|
1329
|
+
)
|
1326
1330
|
|
1327
1331
|
|
1328
1332
|
# authentication setting
|
@@ -1608,12 +1612,13 @@ class RecordsApi:
|
|
1608
1612
|
|
1609
1613
|
|
1610
1614
|
# set the HTTP header `Accept`
|
1611
|
-
|
1612
|
-
[
|
1613
|
-
|
1614
|
-
|
1615
|
-
|
1616
|
-
|
1615
|
+
if 'Accept' not in _header_params:
|
1616
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
1617
|
+
[
|
1618
|
+
'text/tab-separated-values',
|
1619
|
+
'application/json'
|
1620
|
+
]
|
1621
|
+
)
|
1617
1622
|
|
1618
1623
|
|
1619
1624
|
# authentication setting
|
@@ -1914,11 +1919,12 @@ class RecordsApi:
|
|
1914
1919
|
|
1915
1920
|
|
1916
1921
|
# set the HTTP header `Accept`
|
1917
|
-
|
1918
|
-
[
|
1919
|
-
|
1920
|
-
|
1921
|
-
|
1922
|
+
if 'Accept' not in _header_params:
|
1923
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
1924
|
+
[
|
1925
|
+
'application/json'
|
1926
|
+
]
|
1927
|
+
)
|
1922
1928
|
|
1923
1929
|
# set the HTTP header `Content-Type`
|
1924
1930
|
if _content_type:
|
@@ -2250,11 +2256,12 @@ class RecordsApi:
|
|
2250
2256
|
|
2251
2257
|
|
2252
2258
|
# set the HTTP header `Accept`
|
2253
|
-
|
2254
|
-
[
|
2255
|
-
|
2256
|
-
|
2257
|
-
|
2259
|
+
if 'Accept' not in _header_params:
|
2260
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
2261
|
+
[
|
2262
|
+
'application/json'
|
2263
|
+
]
|
2264
|
+
)
|
2258
2265
|
|
2259
2266
|
# set the HTTP header `Content-Type`
|
2260
2267
|
if _content_type:
|
@@ -2589,11 +2596,12 @@ class RecordsApi:
|
|
2589
2596
|
|
2590
2597
|
|
2591
2598
|
# set the HTTP header `Accept`
|
2592
|
-
|
2593
|
-
[
|
2594
|
-
|
2595
|
-
|
2596
|
-
|
2599
|
+
if 'Accept' not in _header_params:
|
2600
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
2601
|
+
[
|
2602
|
+
'application/json'
|
2603
|
+
]
|
2604
|
+
)
|
2597
2605
|
|
2598
2606
|
# set the HTTP header `Content-Type`
|
2599
2607
|
if _content_type:
|
@@ -319,11 +319,12 @@ class SchemaApi:
|
|
319
319
|
|
320
320
|
|
321
321
|
# set the HTTP header `Accept`
|
322
|
-
|
323
|
-
[
|
324
|
-
|
325
|
-
|
326
|
-
|
322
|
+
if 'Accept' not in _header_params:
|
323
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
324
|
+
[
|
325
|
+
'application/json'
|
326
|
+
]
|
327
|
+
)
|
327
328
|
|
328
329
|
|
329
330
|
# authentication setting
|
@@ -880,11 +881,12 @@ class SchemaApi:
|
|
880
881
|
|
881
882
|
|
882
883
|
# set the HTTP header `Accept`
|
883
|
-
|
884
|
-
[
|
885
|
-
|
886
|
-
|
887
|
-
|
884
|
+
if 'Accept' not in _header_params:
|
885
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
886
|
+
[
|
887
|
+
'application/json'
|
888
|
+
]
|
889
|
+
)
|
888
890
|
|
889
891
|
|
890
892
|
# authentication setting
|
@@ -1170,11 +1172,12 @@ class SchemaApi:
|
|
1170
1172
|
|
1171
1173
|
|
1172
1174
|
# set the HTTP header `Accept`
|
1173
|
-
|
1174
|
-
[
|
1175
|
-
|
1176
|
-
|
1177
|
-
|
1175
|
+
if 'Accept' not in _header_params:
|
1176
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
1177
|
+
[
|
1178
|
+
'application/json'
|
1179
|
+
]
|
1180
|
+
)
|
1178
1181
|
|
1179
1182
|
|
1180
1183
|
# authentication setting
|
@@ -1496,11 +1499,12 @@ class SchemaApi:
|
|
1496
1499
|
|
1497
1500
|
|
1498
1501
|
# set the HTTP header `Accept`
|
1499
|
-
|
1500
|
-
[
|
1501
|
-
|
1502
|
-
|
1503
|
-
|
1502
|
+
if 'Accept' not in _header_params:
|
1503
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
1504
|
+
[
|
1505
|
+
'application/json'
|
1506
|
+
]
|
1507
|
+
)
|
1504
1508
|
|
1505
1509
|
# set the HTTP header `Content-Type`
|
1506
1510
|
if _content_type:
|
@@ -88,7 +88,7 @@ class ApiClient:
|
|
88
88
|
self.default_headers[header_name] = header_value
|
89
89
|
self.cookie = cookie
|
90
90
|
# Set default User-Agent.
|
91
|
-
self.user_agent = 'wds-client/0.
|
91
|
+
self.user_agent = 'wds-client/0.12.0/python'
|
92
92
|
self.client_side_validation = configuration.client_side_validation
|
93
93
|
|
94
94
|
def __enter__(self):
|
@@ -227,7 +227,7 @@ class ApiClient:
|
|
227
227
|
body = self.sanitize_for_serialization(body)
|
228
228
|
|
229
229
|
# request url
|
230
|
-
if _host is None:
|
230
|
+
if _host is None or self.configuration.ignore_operation_servers:
|
231
231
|
url = self.configuration.host + resource_path
|
232
232
|
else:
|
233
233
|
# use server/host defined in path or operation instead
|
@@ -314,10 +314,7 @@ class ApiClient:
|
|
314
314
|
match = re.search(r"charset=([a-zA-Z\-\d]+)[\s;]?", content_type)
|
315
315
|
encoding = match.group(1) if match else "utf-8"
|
316
316
|
response_text = response_data.data.decode(encoding)
|
317
|
-
|
318
|
-
return_data = self.__deserialize_primitive(response_text, response_type)
|
319
|
-
else:
|
320
|
-
return_data = self.deserialize(response_text, response_type)
|
317
|
+
return_data = self.deserialize(response_text, response_type, content_type)
|
321
318
|
finally:
|
322
319
|
if not 200 <= response_data.status <= 299:
|
323
320
|
raise ApiException.from_response(
|
@@ -385,21 +382,35 @@ class ApiClient:
|
|
385
382
|
for key, val in obj_dict.items()
|
386
383
|
}
|
387
384
|
|
388
|
-
def deserialize(self, response_text, response_type):
|
385
|
+
def deserialize(self, response_text: str, response_type: str, content_type: Optional[str]):
|
389
386
|
"""Deserializes response into an object.
|
390
387
|
|
391
388
|
:param response: RESTResponse object to be deserialized.
|
392
389
|
:param response_type: class literal for
|
393
390
|
deserialized object, or string of class name.
|
391
|
+
:param content_type: content type of response.
|
394
392
|
|
395
393
|
:return: deserialized object.
|
396
394
|
"""
|
397
395
|
|
398
396
|
# fetch data from response object
|
399
|
-
|
400
|
-
|
401
|
-
|
397
|
+
if content_type is None:
|
398
|
+
try:
|
399
|
+
data = json.loads(response_text)
|
400
|
+
except ValueError:
|
401
|
+
data = response_text
|
402
|
+
elif content_type.startswith("application/json"):
|
403
|
+
if response_text == "":
|
404
|
+
data = ""
|
405
|
+
else:
|
406
|
+
data = json.loads(response_text)
|
407
|
+
elif content_type.startswith("text/plain"):
|
402
408
|
data = response_text
|
409
|
+
else:
|
410
|
+
raise ApiException(
|
411
|
+
status=0,
|
412
|
+
reason="Unsupported content type: {0}".format(content_type)
|
413
|
+
)
|
403
414
|
|
404
415
|
return self.__deserialize(data, response_type)
|
405
416
|
|
@@ -32,6 +32,9 @@ class Configuration:
|
|
32
32
|
"""This class contains various settings of the API client.
|
33
33
|
|
34
34
|
:param host: Base url.
|
35
|
+
:param ignore_operation_servers
|
36
|
+
Boolean to ignore operation servers for the API client.
|
37
|
+
Config will use `host` as the base url regardless of the operation servers.
|
35
38
|
:param api_key: Dict to store API key(s).
|
36
39
|
Each entry in the dict specifies an API key.
|
37
40
|
The dict key is the name of the security scheme in the OAS specification.
|
@@ -54,6 +57,7 @@ class Configuration:
|
|
54
57
|
values before.
|
55
58
|
:param ssl_ca_cert: str - the path to a file of concatenated CA certificates
|
56
59
|
in PEM format.
|
60
|
+
:param retries: Number of retries for API requests.
|
57
61
|
|
58
62
|
:Example:
|
59
63
|
"""
|
@@ -66,7 +70,11 @@ class Configuration:
|
|
66
70
|
access_token=None,
|
67
71
|
server_index=None, server_variables=None,
|
68
72
|
server_operation_index=None, server_operation_variables=None,
|
73
|
+
ignore_operation_servers=False,
|
69
74
|
ssl_ca_cert=None,
|
75
|
+
retries=None,
|
76
|
+
*,
|
77
|
+
debug: Optional[bool] = None
|
70
78
|
) -> None:
|
71
79
|
"""Constructor
|
72
80
|
"""
|
@@ -81,6 +89,9 @@ class Configuration:
|
|
81
89
|
self.server_operation_variables = server_operation_variables or {}
|
82
90
|
"""Default server variables
|
83
91
|
"""
|
92
|
+
self.ignore_operation_servers = ignore_operation_servers
|
93
|
+
"""Ignore operation servers
|
94
|
+
"""
|
84
95
|
self.temp_folder_path = None
|
85
96
|
"""Temp file folder for downloading files
|
86
97
|
"""
|
@@ -124,7 +135,10 @@ class Configuration:
|
|
124
135
|
self.logger_file = None
|
125
136
|
"""Debug file location
|
126
137
|
"""
|
127
|
-
|
138
|
+
if debug is not None:
|
139
|
+
self.debug = debug
|
140
|
+
else:
|
141
|
+
self.__debug = False
|
128
142
|
"""Debug switch
|
129
143
|
"""
|
130
144
|
|
@@ -167,7 +181,7 @@ class Configuration:
|
|
167
181
|
self.safe_chars_for_path_param = ''
|
168
182
|
"""Safe chars for path_param
|
169
183
|
"""
|
170
|
-
self.retries =
|
184
|
+
self.retries = retries
|
171
185
|
"""Adding retries to override urllib3 default value 3
|
172
186
|
"""
|
173
187
|
# Enable client side validation
|
@@ -378,7 +392,7 @@ class Configuration:
|
|
378
392
|
"OS: {env}\n"\
|
379
393
|
"Python Version: {pyversion}\n"\
|
380
394
|
"Version of the API: v0.2\n"\
|
381
|
-
"SDK Package Version: 0.
|
395
|
+
"SDK Package Version: 0.12.0".\
|
382
396
|
format(env=sys.platform, pyversion=sys.version)
|
383
397
|
|
384
398
|
def get_host_settings(self):
|
@@ -31,7 +31,7 @@ class SearchRequest(BaseModel):
|
|
31
31
|
""" # noqa: E501
|
32
32
|
offset: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=0, description="Pagination offset")
|
33
33
|
limit: Optional[Annotated[int, Field(le=1000, strict=True, ge=0)]] = Field(default=10, description="Pagination limit")
|
34
|
-
sort: Optional[SearchSortDirection] =
|
34
|
+
sort: Optional[SearchSortDirection] = SearchSortDirection.ASC
|
35
35
|
sort_attribute: Optional[StrictStr] = Field(default=None, alias="sortAttribute")
|
36
36
|
filter: Optional[SearchFilter] = None
|
37
37
|
__properties: ClassVar[List[str]] = ["offset", "limit", "sort", "sortAttribute", "filter"]
|
@@ -92,7 +92,7 @@ class SearchRequest(BaseModel):
|
|
92
92
|
_obj = cls.model_validate({
|
93
93
|
"offset": obj.get("offset") if obj.get("offset") is not None else 0,
|
94
94
|
"limit": obj.get("limit") if obj.get("limit") is not None else 10,
|
95
|
-
"sort": obj.get("sort"),
|
95
|
+
"sort": obj.get("sort") if obj.get("sort") is not None else SearchSortDirection.ASC,
|
96
96
|
"sortAttribute": obj.get("sortAttribute"),
|
97
97
|
"filter": SearchFilter.from_dict(obj["filter"]) if obj.get("filter") is not None else None
|
98
98
|
})
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|