terra-scientific-pipelines-service-api-client 0.0.134__tar.gz → 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of terra-scientific-pipelines-service-api-client might be problematic. Click here for more details.
- {terra_scientific_pipelines_service_api_client-0.0.134 → terra_scientific_pipelines_service_api_client-0.1.0}/PKG-INFO +3 -3
- {terra_scientific_pipelines_service_api_client-0.0.134 → terra_scientific_pipelines_service_api_client-0.1.0}/README.md +2 -2
- {terra_scientific_pipelines_service_api_client-0.0.134 → terra_scientific_pipelines_service_api_client-0.1.0}/pyproject.toml +12 -11
- {terra_scientific_pipelines_service_api_client-0.0.134 → terra_scientific_pipelines_service_api_client-0.1.0}/setup.py +4 -4
- {terra_scientific_pipelines_service_api_client-0.0.134 → terra_scientific_pipelines_service_api_client-0.1.0}/teaspoons_client/__init__.py +1 -1
- {terra_scientific_pipelines_service_api_client-0.0.134 → terra_scientific_pipelines_service_api_client-0.1.0}/teaspoons_client/api/admin_api.py +6 -2
- {terra_scientific_pipelines_service_api_client-0.0.134 → terra_scientific_pipelines_service_api_client-0.1.0}/teaspoons_client/api/jobs_api.py +6 -2
- {terra_scientific_pipelines_service_api_client-0.0.134 → terra_scientific_pipelines_service_api_client-0.1.0}/teaspoons_client/api/pipeline_runs_api.py +12 -4
- {terra_scientific_pipelines_service_api_client-0.0.134 → terra_scientific_pipelines_service_api_client-0.1.0}/teaspoons_client/api/pipelines_api.py +6 -2
- {terra_scientific_pipelines_service_api_client-0.0.134 → terra_scientific_pipelines_service_api_client-0.1.0}/teaspoons_client/api/public_api.py +6 -2
- {terra_scientific_pipelines_service_api_client-0.0.134 → terra_scientific_pipelines_service_api_client-0.1.0}/teaspoons_client/api_client.py +13 -4
- {terra_scientific_pipelines_service_api_client-0.0.134 → terra_scientific_pipelines_service_api_client-0.1.0}/teaspoons_client/configuration.py +1 -1
- {terra_scientific_pipelines_service_api_client-0.0.134 → terra_scientific_pipelines_service_api_client-0.1.0}/teaspoons_client/rest.py +1 -1
- {terra_scientific_pipelines_service_api_client-0.0.134 → terra_scientific_pipelines_service_api_client-0.1.0}/terra_scientific_pipelines_service_api_client.egg-info/PKG-INFO +3 -3
- terra_scientific_pipelines_service_api_client-0.1.0/terra_scientific_pipelines_service_api_client.egg-info/requires.txt +4 -0
- terra_scientific_pipelines_service_api_client-0.0.134/terra_scientific_pipelines_service_api_client.egg-info/requires.txt +0 -4
- {terra_scientific_pipelines_service_api_client-0.0.134 → terra_scientific_pipelines_service_api_client-0.1.0}/setup.cfg +0 -0
- {terra_scientific_pipelines_service_api_client-0.0.134 → terra_scientific_pipelines_service_api_client-0.1.0}/teaspoons_client/api/__init__.py +0 -0
- {terra_scientific_pipelines_service_api_client-0.0.134 → terra_scientific_pipelines_service_api_client-0.1.0}/teaspoons_client/api_response.py +0 -0
- {terra_scientific_pipelines_service_api_client-0.0.134 → terra_scientific_pipelines_service_api_client-0.1.0}/teaspoons_client/exceptions.py +0 -0
- {terra_scientific_pipelines_service_api_client-0.0.134 → terra_scientific_pipelines_service_api_client-0.1.0}/teaspoons_client/models/__init__.py +0 -0
- {terra_scientific_pipelines_service_api_client-0.0.134 → terra_scientific_pipelines_service_api_client-0.1.0}/teaspoons_client/models/admin_pipeline.py +0 -0
- {terra_scientific_pipelines_service_api_client-0.0.134 → terra_scientific_pipelines_service_api_client-0.1.0}/teaspoons_client/models/async_pipeline_run_response.py +0 -0
- {terra_scientific_pipelines_service_api_client-0.0.134 → terra_scientific_pipelines_service_api_client-0.1.0}/teaspoons_client/models/error_report.py +0 -0
- {terra_scientific_pipelines_service_api_client-0.0.134 → terra_scientific_pipelines_service_api_client-0.1.0}/teaspoons_client/models/get_jobs_response.py +0 -0
- {terra_scientific_pipelines_service_api_client-0.0.134 → terra_scientific_pipelines_service_api_client-0.1.0}/teaspoons_client/models/get_pipeline_runs_response.py +0 -0
- {terra_scientific_pipelines_service_api_client-0.0.134 → terra_scientific_pipelines_service_api_client-0.1.0}/teaspoons_client/models/get_pipelines_result.py +0 -0
- {terra_scientific_pipelines_service_api_client-0.0.134 → terra_scientific_pipelines_service_api_client-0.1.0}/teaspoons_client/models/job_control.py +0 -0
- {terra_scientific_pipelines_service_api_client-0.0.134 → terra_scientific_pipelines_service_api_client-0.1.0}/teaspoons_client/models/job_report.py +0 -0
- {terra_scientific_pipelines_service_api_client-0.0.134 → terra_scientific_pipelines_service_api_client-0.1.0}/teaspoons_client/models/job_result.py +0 -0
- {terra_scientific_pipelines_service_api_client-0.0.134 → terra_scientific_pipelines_service_api_client-0.1.0}/teaspoons_client/models/pipeline.py +0 -0
- {terra_scientific_pipelines_service_api_client-0.0.134 → terra_scientific_pipelines_service_api_client-0.1.0}/teaspoons_client/models/pipeline_run.py +0 -0
- {terra_scientific_pipelines_service_api_client-0.0.134 → terra_scientific_pipelines_service_api_client-0.1.0}/teaspoons_client/models/pipeline_run_report.py +0 -0
- {terra_scientific_pipelines_service_api_client-0.0.134 → terra_scientific_pipelines_service_api_client-0.1.0}/teaspoons_client/models/pipeline_user_provided_input_definition.py +0 -0
- {terra_scientific_pipelines_service_api_client-0.0.134 → terra_scientific_pipelines_service_api_client-0.1.0}/teaspoons_client/models/pipeline_with_details.py +0 -0
- {terra_scientific_pipelines_service_api_client-0.0.134 → terra_scientific_pipelines_service_api_client-0.1.0}/teaspoons_client/models/prepare_pipeline_run_request_body.py +0 -0
- {terra_scientific_pipelines_service_api_client-0.0.134 → terra_scientific_pipelines_service_api_client-0.1.0}/teaspoons_client/models/prepare_pipeline_run_response.py +0 -0
- {terra_scientific_pipelines_service_api_client-0.0.134 → terra_scientific_pipelines_service_api_client-0.1.0}/teaspoons_client/models/start_pipeline_run_request_body.py +0 -0
- {terra_scientific_pipelines_service_api_client-0.0.134 → terra_scientific_pipelines_service_api_client-0.1.0}/teaspoons_client/models/system_status.py +0 -0
- {terra_scientific_pipelines_service_api_client-0.0.134 → terra_scientific_pipelines_service_api_client-0.1.0}/teaspoons_client/models/system_status_systems_value.py +0 -0
- {terra_scientific_pipelines_service_api_client-0.0.134 → terra_scientific_pipelines_service_api_client-0.1.0}/teaspoons_client/models/update_pipeline_request_body.py +0 -0
- {terra_scientific_pipelines_service_api_client-0.0.134 → terra_scientific_pipelines_service_api_client-0.1.0}/teaspoons_client/models/version_properties.py +0 -0
- {terra_scientific_pipelines_service_api_client-0.0.134 → terra_scientific_pipelines_service_api_client-0.1.0}/teaspoons_client/py.typed +0 -0
- {terra_scientific_pipelines_service_api_client-0.0.134 → terra_scientific_pipelines_service_api_client-0.1.0}/terra_scientific_pipelines_service_api_client.egg-info/SOURCES.txt +0 -0
- {terra_scientific_pipelines_service_api_client-0.0.134 → terra_scientific_pipelines_service_api_client-0.1.0}/terra_scientific_pipelines_service_api_client.egg-info/dependency_links.txt +0 -0
- {terra_scientific_pipelines_service_api_client-0.0.134 → terra_scientific_pipelines_service_api_client-0.1.0}/terra_scientific_pipelines_service_api_client.egg-info/top_level.txt +0 -0
- {terra_scientific_pipelines_service_api_client-0.0.134 → terra_scientific_pipelines_service_api_client-0.1.0}/test/test_admin_api.py +0 -0
- {terra_scientific_pipelines_service_api_client-0.0.134 → terra_scientific_pipelines_service_api_client-0.1.0}/test/test_admin_pipeline.py +0 -0
- {terra_scientific_pipelines_service_api_client-0.0.134 → terra_scientific_pipelines_service_api_client-0.1.0}/test/test_async_pipeline_run_response.py +0 -0
- {terra_scientific_pipelines_service_api_client-0.0.134 → terra_scientific_pipelines_service_api_client-0.1.0}/test/test_error_report.py +0 -0
- {terra_scientific_pipelines_service_api_client-0.0.134 → terra_scientific_pipelines_service_api_client-0.1.0}/test/test_get_jobs_response.py +0 -0
- {terra_scientific_pipelines_service_api_client-0.0.134 → terra_scientific_pipelines_service_api_client-0.1.0}/test/test_get_pipeline_runs_response.py +0 -0
- {terra_scientific_pipelines_service_api_client-0.0.134 → terra_scientific_pipelines_service_api_client-0.1.0}/test/test_get_pipelines_result.py +0 -0
- {terra_scientific_pipelines_service_api_client-0.0.134 → terra_scientific_pipelines_service_api_client-0.1.0}/test/test_job_control.py +0 -0
- {terra_scientific_pipelines_service_api_client-0.0.134 → terra_scientific_pipelines_service_api_client-0.1.0}/test/test_job_report.py +0 -0
- {terra_scientific_pipelines_service_api_client-0.0.134 → terra_scientific_pipelines_service_api_client-0.1.0}/test/test_job_result.py +0 -0
- {terra_scientific_pipelines_service_api_client-0.0.134 → terra_scientific_pipelines_service_api_client-0.1.0}/test/test_jobs_api.py +0 -0
- {terra_scientific_pipelines_service_api_client-0.0.134 → terra_scientific_pipelines_service_api_client-0.1.0}/test/test_pipeline.py +0 -0
- {terra_scientific_pipelines_service_api_client-0.0.134 → terra_scientific_pipelines_service_api_client-0.1.0}/test/test_pipeline_run.py +0 -0
- {terra_scientific_pipelines_service_api_client-0.0.134 → terra_scientific_pipelines_service_api_client-0.1.0}/test/test_pipeline_run_report.py +0 -0
- {terra_scientific_pipelines_service_api_client-0.0.134 → terra_scientific_pipelines_service_api_client-0.1.0}/test/test_pipeline_runs_api.py +0 -0
- {terra_scientific_pipelines_service_api_client-0.0.134 → terra_scientific_pipelines_service_api_client-0.1.0}/test/test_pipeline_user_provided_input_definition.py +0 -0
- {terra_scientific_pipelines_service_api_client-0.0.134 → terra_scientific_pipelines_service_api_client-0.1.0}/test/test_pipeline_with_details.py +0 -0
- {terra_scientific_pipelines_service_api_client-0.0.134 → terra_scientific_pipelines_service_api_client-0.1.0}/test/test_pipelines_api.py +0 -0
- {terra_scientific_pipelines_service_api_client-0.0.134 → terra_scientific_pipelines_service_api_client-0.1.0}/test/test_prepare_pipeline_run_request_body.py +0 -0
- {terra_scientific_pipelines_service_api_client-0.0.134 → terra_scientific_pipelines_service_api_client-0.1.0}/test/test_prepare_pipeline_run_response.py +0 -0
- {terra_scientific_pipelines_service_api_client-0.0.134 → terra_scientific_pipelines_service_api_client-0.1.0}/test/test_public_api.py +0 -0
- {terra_scientific_pipelines_service_api_client-0.0.134 → terra_scientific_pipelines_service_api_client-0.1.0}/test/test_start_pipeline_run_request_body.py +0 -0
- {terra_scientific_pipelines_service_api_client-0.0.134 → terra_scientific_pipelines_service_api_client-0.1.0}/test/test_system_status.py +0 -0
- {terra_scientific_pipelines_service_api_client-0.0.134 → terra_scientific_pipelines_service_api_client-0.1.0}/test/test_system_status_systems_value.py +0 -0
- {terra_scientific_pipelines_service_api_client-0.0.134 → terra_scientific_pipelines_service_api_client-0.1.0}/test/test_update_pipeline_request_body.py +0 -0
- {terra_scientific_pipelines_service_api_client-0.0.134 → terra_scientific_pipelines_service_api_client-0.1.0}/test/test_version_properties.py +0 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: terra-scientific-pipelines-service-api-client
|
|
3
|
-
Version: 0.0
|
|
3
|
+
Version: 0.1.0
|
|
4
4
|
Summary: Terra Scientific Pipelines Service
|
|
5
5
|
Home-page:
|
|
6
6
|
Author: OpenAPI Generator community
|
|
7
7
|
Author-email: team@openapitools.org
|
|
8
8
|
Keywords: OpenAPI,OpenAPI-Generator,Terra Scientific Pipelines Service
|
|
9
9
|
Description-Content-Type: text/markdown
|
|
10
|
-
Requires-Dist: urllib3<
|
|
11
|
-
Requires-Dist: python-dateutil
|
|
10
|
+
Requires-Dist: urllib3<3.0.0,>=1.25.3
|
|
11
|
+
Requires-Dist: python-dateutil>=2.8.2
|
|
12
12
|
Requires-Dist: pydantic>=2
|
|
13
13
|
Requires-Dist: typing-extensions>=4.7.1
|
|
14
14
|
|
|
@@ -4,8 +4,8 @@ No description provided (generated by Openapi Generator https://github.com/opena
|
|
|
4
4
|
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
5
5
|
|
|
6
6
|
- API version: 1.0.0
|
|
7
|
-
- Package version: 0.0
|
|
8
|
-
- Generator version: 7.
|
|
7
|
+
- Package version: 0.1.0
|
|
8
|
+
- Generator version: 7.9.0
|
|
9
9
|
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
|
|
10
10
|
|
|
11
11
|
## Requirements.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "teaspoons_client"
|
|
3
|
-
version = "0.0
|
|
3
|
+
version = "0.1.0"
|
|
4
4
|
description = "Terra Scientific Pipelines Service"
|
|
5
5
|
authors = ["OpenAPI Generator Community <team@openapitools.org>"]
|
|
6
6
|
license = "NoLicense"
|
|
@@ -10,19 +10,20 @@ keywords = ["OpenAPI", "OpenAPI-Generator", "Terra Scientific Pipelines Service"
|
|
|
10
10
|
include = ["teaspoons_client/py.typed"]
|
|
11
11
|
|
|
12
12
|
[tool.poetry.dependencies]
|
|
13
|
-
python = "^3.
|
|
13
|
+
python = "^3.8"
|
|
14
14
|
|
|
15
|
-
urllib3 = ">= 1.25.3"
|
|
16
|
-
python-dateutil = ">=2.8.2"
|
|
17
|
-
pydantic = ">=2"
|
|
18
|
-
typing-extensions = ">=4.7.1"
|
|
15
|
+
urllib3 = ">= 1.25.3 < 3.0.0"
|
|
16
|
+
python-dateutil = ">= 2.8.2"
|
|
17
|
+
pydantic = ">= 2"
|
|
18
|
+
typing-extensions = ">= 4.7.1"
|
|
19
19
|
|
|
20
20
|
[tool.poetry.dev-dependencies]
|
|
21
|
-
pytest = ">=7.2.1"
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
21
|
+
pytest = ">= 7.2.1"
|
|
22
|
+
pytest-cov = ">= 2.8.1"
|
|
23
|
+
tox = ">= 3.9.0"
|
|
24
|
+
flake8 = ">= 4.0.0"
|
|
25
|
+
types-python-dateutil = ">= 2.8.19.14"
|
|
26
|
+
mypy = ">= 1.5"
|
|
26
27
|
|
|
27
28
|
|
|
28
29
|
[build-system]
|
|
@@ -21,11 +21,11 @@ from setuptools import setup, find_packages # noqa: H301
|
|
|
21
21
|
# prerequisite: setuptools
|
|
22
22
|
# http://pypi.python.org/pypi/setuptools
|
|
23
23
|
NAME = "terra-scientific-pipelines-service-api-client"
|
|
24
|
-
VERSION = "0.0
|
|
25
|
-
PYTHON_REQUIRES = ">=3.
|
|
24
|
+
VERSION = "0.1.0"
|
|
25
|
+
PYTHON_REQUIRES = ">= 3.8"
|
|
26
26
|
REQUIRES = [
|
|
27
|
-
"urllib3 >= 1.25.3, <
|
|
28
|
-
"python-dateutil",
|
|
27
|
+
"urllib3 >= 1.25.3, < 3.0.0",
|
|
28
|
+
"python-dateutil >= 2.8.2",
|
|
29
29
|
"pydantic >= 2",
|
|
30
30
|
"typing-extensions >= 4.7.1",
|
|
31
31
|
]
|
|
@@ -260,7 +260,9 @@ class AdminApi:
|
|
|
260
260
|
_query_params: List[Tuple[str, str]] = []
|
|
261
261
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
262
262
|
_form_params: List[Tuple[str, str]] = []
|
|
263
|
-
_files: Dict[
|
|
263
|
+
_files: Dict[
|
|
264
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
265
|
+
] = {}
|
|
264
266
|
_body_params: Optional[bytes] = None
|
|
265
267
|
|
|
266
268
|
# process the path parameters
|
|
@@ -539,7 +541,9 @@ class AdminApi:
|
|
|
539
541
|
_query_params: List[Tuple[str, str]] = []
|
|
540
542
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
541
543
|
_form_params: List[Tuple[str, str]] = []
|
|
542
|
-
_files: Dict[
|
|
544
|
+
_files: Dict[
|
|
545
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
546
|
+
] = {}
|
|
543
547
|
_body_params: Optional[bytes] = None
|
|
544
548
|
|
|
545
549
|
# process the path parameters
|
|
@@ -268,7 +268,9 @@ class JobsApi:
|
|
|
268
268
|
_query_params: List[Tuple[str, str]] = []
|
|
269
269
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
270
270
|
_form_params: List[Tuple[str, str]] = []
|
|
271
|
-
_files: Dict[
|
|
271
|
+
_files: Dict[
|
|
272
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
273
|
+
] = {}
|
|
272
274
|
_body_params: Optional[bytes] = None
|
|
273
275
|
|
|
274
276
|
# process the path parameters
|
|
@@ -543,7 +545,9 @@ class JobsApi:
|
|
|
543
545
|
_query_params: List[Tuple[str, str]] = []
|
|
544
546
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
545
547
|
_form_params: List[Tuple[str, str]] = []
|
|
546
|
-
_files: Dict[
|
|
548
|
+
_files: Dict[
|
|
549
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
550
|
+
] = {}
|
|
547
551
|
_body_params: Optional[bytes] = None
|
|
548
552
|
|
|
549
553
|
# process the path parameters
|
|
@@ -271,7 +271,9 @@ class PipelineRunsApi:
|
|
|
271
271
|
_query_params: List[Tuple[str, str]] = []
|
|
272
272
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
273
273
|
_form_params: List[Tuple[str, str]] = []
|
|
274
|
-
_files: Dict[
|
|
274
|
+
_files: Dict[
|
|
275
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
276
|
+
] = {}
|
|
275
277
|
_body_params: Optional[bytes] = None
|
|
276
278
|
|
|
277
279
|
# process the path parameters
|
|
@@ -562,7 +564,9 @@ class PipelineRunsApi:
|
|
|
562
564
|
_query_params: List[Tuple[str, str]] = []
|
|
563
565
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
564
566
|
_form_params: List[Tuple[str, str]] = []
|
|
565
|
-
_files: Dict[
|
|
567
|
+
_files: Dict[
|
|
568
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
569
|
+
] = {}
|
|
566
570
|
_body_params: Optional[bytes] = None
|
|
567
571
|
|
|
568
572
|
# process the path parameters
|
|
@@ -843,7 +847,9 @@ class PipelineRunsApi:
|
|
|
843
847
|
_query_params: List[Tuple[str, str]] = []
|
|
844
848
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
845
849
|
_form_params: List[Tuple[str, str]] = []
|
|
846
|
-
_files: Dict[
|
|
850
|
+
_files: Dict[
|
|
851
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
852
|
+
] = {}
|
|
847
853
|
_body_params: Optional[bytes] = None
|
|
848
854
|
|
|
849
855
|
# process the path parameters
|
|
@@ -1143,7 +1149,9 @@ class PipelineRunsApi:
|
|
|
1143
1149
|
_query_params: List[Tuple[str, str]] = []
|
|
1144
1150
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1145
1151
|
_form_params: List[Tuple[str, str]] = []
|
|
1146
|
-
_files: Dict[
|
|
1152
|
+
_files: Dict[
|
|
1153
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1154
|
+
] = {}
|
|
1147
1155
|
_body_params: Optional[bytes] = None
|
|
1148
1156
|
|
|
1149
1157
|
# process the path parameters
|
|
@@ -257,7 +257,9 @@ class PipelinesApi:
|
|
|
257
257
|
_query_params: List[Tuple[str, str]] = []
|
|
258
258
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
259
259
|
_form_params: List[Tuple[str, str]] = []
|
|
260
|
-
_files: Dict[
|
|
260
|
+
_files: Dict[
|
|
261
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
262
|
+
] = {}
|
|
261
263
|
_body_params: Optional[bytes] = None
|
|
262
264
|
|
|
263
265
|
# process the path parameters
|
|
@@ -504,7 +506,9 @@ class PipelinesApi:
|
|
|
504
506
|
_query_params: List[Tuple[str, str]] = []
|
|
505
507
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
506
508
|
_form_params: List[Tuple[str, str]] = []
|
|
507
|
-
_files: Dict[
|
|
509
|
+
_files: Dict[
|
|
510
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
511
|
+
] = {}
|
|
508
512
|
_body_params: Optional[bytes] = None
|
|
509
513
|
|
|
510
514
|
# process the path parameters
|
|
@@ -241,7 +241,9 @@ class PublicApi:
|
|
|
241
241
|
_query_params: List[Tuple[str, str]] = []
|
|
242
242
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
243
243
|
_form_params: List[Tuple[str, str]] = []
|
|
244
|
-
_files: Dict[
|
|
244
|
+
_files: Dict[
|
|
245
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
246
|
+
] = {}
|
|
245
247
|
_body_params: Optional[bytes] = None
|
|
246
248
|
|
|
247
249
|
# process the path parameters
|
|
@@ -487,7 +489,9 @@ class PublicApi:
|
|
|
487
489
|
_query_params: List[Tuple[str, str]] = []
|
|
488
490
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
489
491
|
_form_params: List[Tuple[str, str]] = []
|
|
490
|
-
_files: Dict[
|
|
492
|
+
_files: Dict[
|
|
493
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
494
|
+
] = {}
|
|
491
495
|
_body_params: Optional[bytes] = None
|
|
492
496
|
|
|
493
497
|
# process the path parameters
|
|
@@ -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 = 'terra-scientific-pipelines-service-api-client/0.0
|
|
93
|
+
self.user_agent = 'terra-scientific-pipelines-service-api-client/0.1.0/python'
|
|
94
94
|
self.client_side_validation = configuration.client_side_validation
|
|
95
95
|
|
|
96
96
|
def __enter__(self):
|
|
@@ -404,12 +404,12 @@ class ApiClient:
|
|
|
404
404
|
data = json.loads(response_text)
|
|
405
405
|
except ValueError:
|
|
406
406
|
data = response_text
|
|
407
|
-
elif
|
|
407
|
+
elif re.match(r'^application/(json|[\w!#$&.+-^_]+\+json)\s*(;|$)', content_type, re.IGNORECASE):
|
|
408
408
|
if response_text == "":
|
|
409
409
|
data = ""
|
|
410
410
|
else:
|
|
411
411
|
data = json.loads(response_text)
|
|
412
|
-
elif
|
|
412
|
+
elif re.match(r'^text\/[a-z.+-]+\s*(;|$)', content_type, re.IGNORECASE):
|
|
413
413
|
data = response_text
|
|
414
414
|
else:
|
|
415
415
|
raise ApiException(
|
|
@@ -535,7 +535,10 @@ class ApiClient:
|
|
|
535
535
|
|
|
536
536
|
return "&".join(["=".join(map(str, item)) for item in new_params])
|
|
537
537
|
|
|
538
|
-
def files_parameters(
|
|
538
|
+
def files_parameters(
|
|
539
|
+
self,
|
|
540
|
+
files: Dict[str, Union[str, bytes, List[str], List[bytes], Tuple[str, bytes]]],
|
|
541
|
+
):
|
|
539
542
|
"""Builds form parameters.
|
|
540
543
|
|
|
541
544
|
:param files: File parameters.
|
|
@@ -550,6 +553,12 @@ class ApiClient:
|
|
|
550
553
|
elif isinstance(v, bytes):
|
|
551
554
|
filename = k
|
|
552
555
|
filedata = v
|
|
556
|
+
elif isinstance(v, tuple):
|
|
557
|
+
filename, filedata = v
|
|
558
|
+
elif isinstance(v, list):
|
|
559
|
+
for file_param in v:
|
|
560
|
+
params.extend(self.files_parameters({k: file_param}))
|
|
561
|
+
continue
|
|
553
562
|
else:
|
|
554
563
|
raise ValueError("Unsupported file value")
|
|
555
564
|
mimetype = (
|
|
@@ -399,7 +399,7 @@ class Configuration:
|
|
|
399
399
|
"OS: {env}\n"\
|
|
400
400
|
"Python Version: {pyversion}\n"\
|
|
401
401
|
"Version of the API: 1.0.0\n"\
|
|
402
|
-
"SDK Package Version: 0.0
|
|
402
|
+
"SDK Package Version: 0.1.0".\
|
|
403
403
|
format(env=sys.platform, pyversion=sys.version)
|
|
404
404
|
|
|
405
405
|
def get_host_settings(self):
|
|
@@ -225,7 +225,7 @@ class RESTClientObject:
|
|
|
225
225
|
headers=headers,
|
|
226
226
|
preload_content=False
|
|
227
227
|
)
|
|
228
|
-
elif headers['Content-Type']
|
|
228
|
+
elif headers['Content-Type'].startswith('text/') and isinstance(body, bool):
|
|
229
229
|
request_body = "true" if body else "false"
|
|
230
230
|
r = self.pool_manager.request(
|
|
231
231
|
method,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: terra-scientific-pipelines-service-api-client
|
|
3
|
-
Version: 0.0
|
|
3
|
+
Version: 0.1.0
|
|
4
4
|
Summary: Terra Scientific Pipelines Service
|
|
5
5
|
Home-page:
|
|
6
6
|
Author: OpenAPI Generator community
|
|
7
7
|
Author-email: team@openapitools.org
|
|
8
8
|
Keywords: OpenAPI,OpenAPI-Generator,Terra Scientific Pipelines Service
|
|
9
9
|
Description-Content-Type: text/markdown
|
|
10
|
-
Requires-Dist: urllib3<
|
|
11
|
-
Requires-Dist: python-dateutil
|
|
10
|
+
Requires-Dist: urllib3<3.0.0,>=1.25.3
|
|
11
|
+
Requires-Dist: python-dateutil>=2.8.2
|
|
12
12
|
Requires-Dist: pydantic>=2
|
|
13
13
|
Requires-Dist: typing-extensions>=4.7.1
|
|
14
14
|
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|