terra-scientific-pipelines-service-api-client 0.1.28__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.1.28/PKG-INFO +23 -0
- terra_scientific_pipelines_service_api_client-0.1.28/README.md +169 -0
- terra_scientific_pipelines_service_api_client-0.1.28/pyproject.toml +72 -0
- terra_scientific_pipelines_service_api_client-0.1.28/setup.cfg +7 -0
- terra_scientific_pipelines_service_api_client-0.1.28/setup.py +49 -0
- terra_scientific_pipelines_service_api_client-0.1.28/teaspoons_client/__init__.py +63 -0
- terra_scientific_pipelines_service_api_client-0.1.28/teaspoons_client/api/__init__.py +10 -0
- terra_scientific_pipelines_service_api_client-0.1.28/teaspoons_client/api/admin_api.py +1229 -0
- terra_scientific_pipelines_service_api_client-0.1.28/teaspoons_client/api/jobs_api.py +592 -0
- terra_scientific_pipelines_service_api_client-0.1.28/teaspoons_client/api/pipeline_runs_api.py +1166 -0
- terra_scientific_pipelines_service_api_client-0.1.28/teaspoons_client/api/pipelines_api.py +581 -0
- terra_scientific_pipelines_service_api_client-0.1.28/teaspoons_client/api/public_api.py +532 -0
- terra_scientific_pipelines_service_api_client-0.1.28/teaspoons_client/api/quotas_api.py +303 -0
- terra_scientific_pipelines_service_api_client-0.1.28/teaspoons_client/api_client.py +797 -0
- terra_scientific_pipelines_service_api_client-0.1.28/teaspoons_client/api_response.py +21 -0
- terra_scientific_pipelines_service_api_client-0.1.28/teaspoons_client/configuration.py +465 -0
- terra_scientific_pipelines_service_api_client-0.1.28/teaspoons_client/exceptions.py +199 -0
- terra_scientific_pipelines_service_api_client-0.1.28/teaspoons_client/models/__init__.py +41 -0
- terra_scientific_pipelines_service_api_client-0.1.28/teaspoons_client/models/admin_pipeline.py +103 -0
- terra_scientific_pipelines_service_api_client-0.1.28/teaspoons_client/models/admin_quota.py +93 -0
- terra_scientific_pipelines_service_api_client-0.1.28/teaspoons_client/models/async_pipeline_run_response.py +103 -0
- terra_scientific_pipelines_service_api_client-0.1.28/teaspoons_client/models/error_report.py +91 -0
- terra_scientific_pipelines_service_api_client-0.1.28/teaspoons_client/models/get_jobs_response.py +99 -0
- terra_scientific_pipelines_service_api_client-0.1.28/teaspoons_client/models/get_pipeline_details_request_body.py +87 -0
- terra_scientific_pipelines_service_api_client-0.1.28/teaspoons_client/models/get_pipeline_runs_response.py +97 -0
- terra_scientific_pipelines_service_api_client-0.1.28/teaspoons_client/models/get_pipelines_result.py +95 -0
- terra_scientific_pipelines_service_api_client-0.1.28/teaspoons_client/models/job_control.py +87 -0
- terra_scientific_pipelines_service_api_client-0.1.28/teaspoons_client/models/job_report.py +106 -0
- terra_scientific_pipelines_service_api_client-0.1.28/teaspoons_client/models/job_result.py +97 -0
- terra_scientific_pipelines_service_api_client-0.1.28/teaspoons_client/models/pipeline.py +93 -0
- terra_scientific_pipelines_service_api_client-0.1.28/teaspoons_client/models/pipeline_run.py +97 -0
- terra_scientific_pipelines_service_api_client-0.1.28/teaspoons_client/models/pipeline_run_report.py +93 -0
- terra_scientific_pipelines_service_api_client-0.1.28/teaspoons_client/models/pipeline_user_provided_input_definition.py +91 -0
- terra_scientific_pipelines_service_api_client-0.1.28/teaspoons_client/models/pipeline_with_details.py +105 -0
- terra_scientific_pipelines_service_api_client-0.1.28/teaspoons_client/models/prepare_pipeline_run_request_body.py +95 -0
- terra_scientific_pipelines_service_api_client-0.1.28/teaspoons_client/models/prepare_pipeline_run_response.py +89 -0
- terra_scientific_pipelines_service_api_client-0.1.28/teaspoons_client/models/quota_with_details.py +91 -0
- terra_scientific_pipelines_service_api_client-0.1.28/teaspoons_client/models/start_pipeline_run_request_body.py +91 -0
- terra_scientific_pipelines_service_api_client-0.1.28/teaspoons_client/models/system_status.py +102 -0
- terra_scientific_pipelines_service_api_client-0.1.28/teaspoons_client/models/system_status_systems_value.py +89 -0
- terra_scientific_pipelines_service_api_client-0.1.28/teaspoons_client/models/update_pipeline_request_body.py +91 -0
- terra_scientific_pipelines_service_api_client-0.1.28/teaspoons_client/models/update_quota_limit_request_body.py +87 -0
- terra_scientific_pipelines_service_api_client-0.1.28/teaspoons_client/models/version_properties.py +93 -0
- terra_scientific_pipelines_service_api_client-0.1.28/teaspoons_client/py.typed +0 -0
- terra_scientific_pipelines_service_api_client-0.1.28/teaspoons_client/rest.py +257 -0
- terra_scientific_pipelines_service_api_client-0.1.28/terra_scientific_pipelines_service_api_client.egg-info/PKG-INFO +23 -0
- terra_scientific_pipelines_service_api_client-0.1.28/terra_scientific_pipelines_service_api_client.egg-info/SOURCES.txt +80 -0
- terra_scientific_pipelines_service_api_client-0.1.28/terra_scientific_pipelines_service_api_client.egg-info/dependency_links.txt +1 -0
- terra_scientific_pipelines_service_api_client-0.1.28/terra_scientific_pipelines_service_api_client.egg-info/requires.txt +4 -0
- terra_scientific_pipelines_service_api_client-0.1.28/terra_scientific_pipelines_service_api_client.egg-info/top_level.txt +1 -0
- terra_scientific_pipelines_service_api_client-0.1.28/test/test_admin_api.py +59 -0
- terra_scientific_pipelines_service_api_client-0.1.28/test/test_admin_pipeline.py +68 -0
- terra_scientific_pipelines_service_api_client-0.1.28/test/test_admin_quota.py +58 -0
- terra_scientific_pipelines_service_api_client-0.1.28/test/test_async_pipeline_run_response.py +86 -0
- terra_scientific_pipelines_service_api_client-0.1.28/test/test_error_report.py +60 -0
- terra_scientific_pipelines_service_api_client-0.1.28/test/test_get_jobs_response.py +62 -0
- terra_scientific_pipelines_service_api_client-0.1.28/test/test_get_pipeline_details_request_body.py +51 -0
- terra_scientific_pipelines_service_api_client-0.1.28/test/test_get_pipeline_runs_response.py +60 -0
- terra_scientific_pipelines_service_api_client-0.1.28/test/test_get_pipelines_result.py +57 -0
- terra_scientific_pipelines_service_api_client-0.1.28/test/test_job_control.py +52 -0
- terra_scientific_pipelines_service_api_client-0.1.28/test/test_job_report.py +61 -0
- terra_scientific_pipelines_service_api_client-0.1.28/test/test_job_result.py +72 -0
- terra_scientific_pipelines_service_api_client-0.1.28/test/test_jobs_api.py +45 -0
- terra_scientific_pipelines_service_api_client-0.1.28/test/test_pipeline.py +58 -0
- terra_scientific_pipelines_service_api_client-0.1.28/test/test_pipeline_run.py +60 -0
- terra_scientific_pipelines_service_api_client-0.1.28/test/test_pipeline_run_report.py +59 -0
- terra_scientific_pipelines_service_api_client-0.1.28/test/test_pipeline_runs_api.py +59 -0
- terra_scientific_pipelines_service_api_client-0.1.28/test/test_pipeline_user_provided_input_definition.py +53 -0
- terra_scientific_pipelines_service_api_client-0.1.28/test/test_pipeline_with_details.py +72 -0
- terra_scientific_pipelines_service_api_client-0.1.28/test/test_pipelines_api.py +45 -0
- terra_scientific_pipelines_service_api_client-0.1.28/test/test_prepare_pipeline_run_request_body.py +62 -0
- terra_scientific_pipelines_service_api_client-0.1.28/test/test_prepare_pipeline_run_response.py +56 -0
- terra_scientific_pipelines_service_api_client-0.1.28/test/test_public_api.py +45 -0
- terra_scientific_pipelines_service_api_client-0.1.28/test/test_quota_with_details.py +56 -0
- terra_scientific_pipelines_service_api_client-0.1.28/test/test_quotas_api.py +38 -0
- terra_scientific_pipelines_service_api_client-0.1.28/test/test_start_pipeline_run_request_body.py +54 -0
- terra_scientific_pipelines_service_api_client-0.1.28/test/test_system_status.py +66 -0
- terra_scientific_pipelines_service_api_client-0.1.28/test/test_system_status_systems_value.py +54 -0
- terra_scientific_pipelines_service_api_client-0.1.28/test/test_update_pipeline_request_body.py +56 -0
- terra_scientific_pipelines_service_api_client-0.1.28/test/test_update_quota_limit_request_body.py +52 -0
- terra_scientific_pipelines_service_api_client-0.1.28/test/test_version_properties.py +54 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
Metadata-Version: 2.2
|
|
2
|
+
Name: terra-scientific-pipelines-service-api-client
|
|
3
|
+
Version: 0.1.28
|
|
4
|
+
Summary: Terra Scientific Pipelines Service
|
|
5
|
+
Home-page:
|
|
6
|
+
Author: OpenAPI Generator community
|
|
7
|
+
Author-email: team@openapitools.org
|
|
8
|
+
Keywords: OpenAPI,OpenAPI-Generator,Terra Scientific Pipelines Service
|
|
9
|
+
Description-Content-Type: text/markdown
|
|
10
|
+
Requires-Dist: urllib3<3.0.0,>=1.25.3
|
|
11
|
+
Requires-Dist: python-dateutil>=2.8.2
|
|
12
|
+
Requires-Dist: pydantic>=2
|
|
13
|
+
Requires-Dist: typing-extensions>=4.7.1
|
|
14
|
+
Dynamic: author
|
|
15
|
+
Dynamic: author-email
|
|
16
|
+
Dynamic: description
|
|
17
|
+
Dynamic: description-content-type
|
|
18
|
+
Dynamic: keywords
|
|
19
|
+
Dynamic: requires-dist
|
|
20
|
+
Dynamic: summary
|
|
21
|
+
|
|
22
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
23
|
+
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
# terra-scientific-pipelines-service-api-client
|
|
2
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
3
|
+
|
|
4
|
+
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
5
|
+
|
|
6
|
+
- API version: 1.0.0
|
|
7
|
+
- Package version: 0.1.28
|
|
8
|
+
- Generator version: 7.9.0
|
|
9
|
+
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
|
|
10
|
+
|
|
11
|
+
## Requirements.
|
|
12
|
+
|
|
13
|
+
Python 3.7+
|
|
14
|
+
|
|
15
|
+
## Installation & Usage
|
|
16
|
+
### pip install
|
|
17
|
+
|
|
18
|
+
If the python package is hosted on a repository, you can install directly using:
|
|
19
|
+
|
|
20
|
+
```sh
|
|
21
|
+
pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
|
|
22
|
+
```
|
|
23
|
+
(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git`)
|
|
24
|
+
|
|
25
|
+
Then import the package:
|
|
26
|
+
```python
|
|
27
|
+
import teaspoons_client
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
### Setuptools
|
|
31
|
+
|
|
32
|
+
Install via [Setuptools](http://pypi.python.org/pypi/setuptools).
|
|
33
|
+
|
|
34
|
+
```sh
|
|
35
|
+
python setup.py install --user
|
|
36
|
+
```
|
|
37
|
+
(or `sudo python setup.py install` to install the package for all users)
|
|
38
|
+
|
|
39
|
+
Then import the package:
|
|
40
|
+
```python
|
|
41
|
+
import teaspoons_client
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
### Tests
|
|
45
|
+
|
|
46
|
+
Execute `pytest` to run the tests.
|
|
47
|
+
|
|
48
|
+
## Getting Started
|
|
49
|
+
|
|
50
|
+
Please follow the [installation procedure](#installation--usage) and then run the following:
|
|
51
|
+
|
|
52
|
+
```python
|
|
53
|
+
|
|
54
|
+
import teaspoons_client
|
|
55
|
+
from teaspoons_client.rest import ApiException
|
|
56
|
+
from pprint import pprint
|
|
57
|
+
|
|
58
|
+
# Defining the host is optional and defaults to http://localhost
|
|
59
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
60
|
+
configuration = teaspoons_client.Configuration(
|
|
61
|
+
host = "http://localhost"
|
|
62
|
+
)
|
|
63
|
+
|
|
64
|
+
# The client must configure the authentication and authorization parameters
|
|
65
|
+
# in accordance with the API server security policy.
|
|
66
|
+
# Examples for each auth method are provided below, use the example that
|
|
67
|
+
# satisfies your auth use case.
|
|
68
|
+
|
|
69
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
70
|
+
|
|
71
|
+
# Configure Bearer authorization: bearerAuth
|
|
72
|
+
configuration = teaspoons_client.Configuration(
|
|
73
|
+
access_token = os.environ["BEARER_TOKEN"]
|
|
74
|
+
)
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
# Enter a context with an instance of the API client
|
|
78
|
+
with teaspoons_client.ApiClient(configuration) as api_client:
|
|
79
|
+
# Create an instance of the API class
|
|
80
|
+
api_instance = teaspoons_client.AdminApi(api_client)
|
|
81
|
+
pipeline_name = 'pipeline_name_example' # str | A string identifier to used to identify a pipeline in the service.
|
|
82
|
+
pipeline_version = 56 # int | The integer version of the pipeline.
|
|
83
|
+
|
|
84
|
+
try:
|
|
85
|
+
# Get description for a given pipeline.
|
|
86
|
+
api_response = api_instance.get_pipeline(pipeline_name, pipeline_version)
|
|
87
|
+
print("The response of AdminApi->get_pipeline:\n")
|
|
88
|
+
pprint(api_response)
|
|
89
|
+
except ApiException as e:
|
|
90
|
+
print("Exception when calling AdminApi->get_pipeline: %s\n" % e)
|
|
91
|
+
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
## Documentation for API Endpoints
|
|
95
|
+
|
|
96
|
+
All URIs are relative to *http://localhost*
|
|
97
|
+
|
|
98
|
+
Class | Method | HTTP request | Description
|
|
99
|
+
------------ | ------------- | ------------- | -------------
|
|
100
|
+
*AdminApi* | [**get_pipeline**](docs/AdminApi.md#get_pipeline) | **GET** /api/admin/v1/pipelines/{pipelineName}/{pipelineVersion} | Get description for a given pipeline.
|
|
101
|
+
*AdminApi* | [**get_quota_for_pipeline_and_user**](docs/AdminApi.md#get_quota_for_pipeline_and_user) | **GET** /api/admin/v1/quotas/{pipelineName}/{userId} | Get quota for a given pipeline and user.
|
|
102
|
+
*AdminApi* | [**update_pipeline**](docs/AdminApi.md#update_pipeline) | **PATCH** /api/admin/v1/pipelines/{pipelineName}/{pipelineVersion} | Update attributes for a given pipeline.
|
|
103
|
+
*AdminApi* | [**update_quota_limit_for_pipeline_and_user**](docs/AdminApi.md#update_quota_limit_for_pipeline_and_user) | **PATCH** /api/admin/v1/quotas/{pipelineName}/{userId} | Update quota limit for a given pipeline and user.
|
|
104
|
+
*JobsApi* | [**get_all_jobs**](docs/JobsApi.md#get_all_jobs) | **GET** /api/job/v1/jobs | Return a list of all jobs the caller has access to
|
|
105
|
+
*JobsApi* | [**get_job**](docs/JobsApi.md#get_job) | **GET** /api/job/v1/jobs/{jobId} | Retrieve a specified job
|
|
106
|
+
*PipelineRunsApi* | [**get_all_pipeline_runs**](docs/PipelineRunsApi.md#get_all_pipeline_runs) | **GET** /api/pipelineruns/v1/pipelineruns | Return a paginated list of all pipeline runs the caller has access to
|
|
107
|
+
*PipelineRunsApi* | [**get_pipeline_run_result**](docs/PipelineRunsApi.md#get_pipeline_run_result) | **GET** /api/pipelineruns/v1/result/{jobId} | Retrieve result for a specified pipeline run
|
|
108
|
+
*PipelineRunsApi* | [**prepare_pipeline_run**](docs/PipelineRunsApi.md#prepare_pipeline_run) | **POST** /api/pipelineruns/v1/prepare | Prepare a new pipeline run
|
|
109
|
+
*PipelineRunsApi* | [**start_pipeline_run**](docs/PipelineRunsApi.md#start_pipeline_run) | **POST** /api/pipelineruns/v1/start | Start a prepared pipeline run
|
|
110
|
+
*PipelinesApi* | [**get_pipeline_details**](docs/PipelinesApi.md#get_pipeline_details) | **POST** /api/pipelines/v1/{pipelineName} | Return info about the specified pipeline
|
|
111
|
+
*PipelinesApi* | [**get_pipelines**](docs/PipelinesApi.md#get_pipelines) | **GET** /api/pipelines/v1 | Return all available Pipelines
|
|
112
|
+
*PublicApi* | [**get_status**](docs/PublicApi.md#get_status) | **GET** /status | Check status of the service.
|
|
113
|
+
*PublicApi* | [**get_version**](docs/PublicApi.md#get_version) | **GET** /version | Get version info of the deployed service.
|
|
114
|
+
*QuotasApi* | [**get_quota_for_pipeline**](docs/QuotasApi.md#get_quota_for_pipeline) | **GET** /api/quotas/v1/{pipelineName} | Return info about the user's quota usage for the specified pipeline
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
## Documentation For Models
|
|
118
|
+
|
|
119
|
+
- [AdminPipeline](docs/AdminPipeline.md)
|
|
120
|
+
- [AdminQuota](docs/AdminQuota.md)
|
|
121
|
+
- [AsyncPipelineRunResponse](docs/AsyncPipelineRunResponse.md)
|
|
122
|
+
- [ErrorReport](docs/ErrorReport.md)
|
|
123
|
+
- [GetJobsResponse](docs/GetJobsResponse.md)
|
|
124
|
+
- [GetPipelineDetailsRequestBody](docs/GetPipelineDetailsRequestBody.md)
|
|
125
|
+
- [GetPipelineRunsResponse](docs/GetPipelineRunsResponse.md)
|
|
126
|
+
- [GetPipelinesResult](docs/GetPipelinesResult.md)
|
|
127
|
+
- [JobControl](docs/JobControl.md)
|
|
128
|
+
- [JobReport](docs/JobReport.md)
|
|
129
|
+
- [JobResult](docs/JobResult.md)
|
|
130
|
+
- [Pipeline](docs/Pipeline.md)
|
|
131
|
+
- [PipelineRun](docs/PipelineRun.md)
|
|
132
|
+
- [PipelineRunReport](docs/PipelineRunReport.md)
|
|
133
|
+
- [PipelineUserProvidedInputDefinition](docs/PipelineUserProvidedInputDefinition.md)
|
|
134
|
+
- [PipelineWithDetails](docs/PipelineWithDetails.md)
|
|
135
|
+
- [PreparePipelineRunRequestBody](docs/PreparePipelineRunRequestBody.md)
|
|
136
|
+
- [PreparePipelineRunResponse](docs/PreparePipelineRunResponse.md)
|
|
137
|
+
- [QuotaWithDetails](docs/QuotaWithDetails.md)
|
|
138
|
+
- [StartPipelineRunRequestBody](docs/StartPipelineRunRequestBody.md)
|
|
139
|
+
- [SystemStatus](docs/SystemStatus.md)
|
|
140
|
+
- [SystemStatusSystemsValue](docs/SystemStatusSystemsValue.md)
|
|
141
|
+
- [UpdatePipelineRequestBody](docs/UpdatePipelineRequestBody.md)
|
|
142
|
+
- [UpdateQuotaLimitRequestBody](docs/UpdateQuotaLimitRequestBody.md)
|
|
143
|
+
- [VersionProperties](docs/VersionProperties.md)
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
<a id="documentation-for-authorization"></a>
|
|
147
|
+
## Documentation For Authorization
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
Authentication schemes defined for the API:
|
|
151
|
+
<a id="oidc"></a>
|
|
152
|
+
### oidc
|
|
153
|
+
|
|
154
|
+
- **Type**: OAuth
|
|
155
|
+
- **Flow**: accessCode
|
|
156
|
+
- **Authorization URL**: [[${authorityEndpoint}]]
|
|
157
|
+
- **Scopes**: N/A
|
|
158
|
+
|
|
159
|
+
<a id="bearerAuth"></a>
|
|
160
|
+
### bearerAuth
|
|
161
|
+
|
|
162
|
+
- **Type**: Bearer authentication
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
## Author
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
[tool.poetry]
|
|
2
|
+
name = "teaspoons_client"
|
|
3
|
+
version = "0.1.28"
|
|
4
|
+
description = "Terra Scientific Pipelines Service"
|
|
5
|
+
authors = ["OpenAPI Generator Community <team@openapitools.org>"]
|
|
6
|
+
license = "NoLicense"
|
|
7
|
+
readme = "README.md"
|
|
8
|
+
repository = "https://github.com/GIT_USER_ID/GIT_REPO_ID"
|
|
9
|
+
keywords = ["OpenAPI", "OpenAPI-Generator", "Terra Scientific Pipelines Service"]
|
|
10
|
+
include = ["teaspoons_client/py.typed"]
|
|
11
|
+
|
|
12
|
+
[tool.poetry.dependencies]
|
|
13
|
+
python = "^3.8"
|
|
14
|
+
|
|
15
|
+
urllib3 = ">= 1.25.3 < 3.0.0"
|
|
16
|
+
python-dateutil = ">= 2.8.2"
|
|
17
|
+
pydantic = ">= 2"
|
|
18
|
+
typing-extensions = ">= 4.7.1"
|
|
19
|
+
|
|
20
|
+
[tool.poetry.dev-dependencies]
|
|
21
|
+
pytest = ">= 7.2.1"
|
|
22
|
+
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"
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
[build-system]
|
|
30
|
+
requires = ["setuptools"]
|
|
31
|
+
build-backend = "setuptools.build_meta"
|
|
32
|
+
|
|
33
|
+
[tool.pylint.'MESSAGES CONTROL']
|
|
34
|
+
extension-pkg-whitelist = "pydantic"
|
|
35
|
+
|
|
36
|
+
[tool.mypy]
|
|
37
|
+
files = [
|
|
38
|
+
"teaspoons_client",
|
|
39
|
+
#"test", # auto-generated tests
|
|
40
|
+
"tests", # hand-written tests
|
|
41
|
+
]
|
|
42
|
+
# TODO: enable "strict" once all these individual checks are passing
|
|
43
|
+
# strict = true
|
|
44
|
+
|
|
45
|
+
# List from: https://mypy.readthedocs.io/en/stable/existing_code.html#introduce-stricter-options
|
|
46
|
+
warn_unused_configs = true
|
|
47
|
+
warn_redundant_casts = true
|
|
48
|
+
warn_unused_ignores = true
|
|
49
|
+
|
|
50
|
+
## Getting these passing should be easy
|
|
51
|
+
strict_equality = true
|
|
52
|
+
strict_concatenate = true
|
|
53
|
+
|
|
54
|
+
## Strongly recommend enabling this one as soon as you can
|
|
55
|
+
check_untyped_defs = true
|
|
56
|
+
|
|
57
|
+
## These shouldn't be too much additional work, but may be tricky to
|
|
58
|
+
## get passing if you use a lot of untyped libraries
|
|
59
|
+
disallow_subclassing_any = true
|
|
60
|
+
disallow_untyped_decorators = true
|
|
61
|
+
disallow_any_generics = true
|
|
62
|
+
|
|
63
|
+
### These next few are various gradations of forcing use of type annotations
|
|
64
|
+
#disallow_untyped_calls = true
|
|
65
|
+
#disallow_incomplete_defs = true
|
|
66
|
+
#disallow_untyped_defs = true
|
|
67
|
+
#
|
|
68
|
+
### This one isn't too hard to get passing, but return on investment is lower
|
|
69
|
+
#no_implicit_reexport = true
|
|
70
|
+
#
|
|
71
|
+
### This one can be tricky to get passing if you use a lot of untyped libraries
|
|
72
|
+
#warn_return_any = true
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Terra Scientific Pipelines Service
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
from setuptools import setup, find_packages # noqa: H301
|
|
16
|
+
|
|
17
|
+
# To install the library, run the following
|
|
18
|
+
#
|
|
19
|
+
# python setup.py install
|
|
20
|
+
#
|
|
21
|
+
# prerequisite: setuptools
|
|
22
|
+
# http://pypi.python.org/pypi/setuptools
|
|
23
|
+
NAME = "terra-scientific-pipelines-service-api-client"
|
|
24
|
+
VERSION = "0.1.28"
|
|
25
|
+
PYTHON_REQUIRES = ">= 3.8"
|
|
26
|
+
REQUIRES = [
|
|
27
|
+
"urllib3 >= 1.25.3, < 3.0.0",
|
|
28
|
+
"python-dateutil >= 2.8.2",
|
|
29
|
+
"pydantic >= 2",
|
|
30
|
+
"typing-extensions >= 4.7.1",
|
|
31
|
+
]
|
|
32
|
+
|
|
33
|
+
setup(
|
|
34
|
+
name=NAME,
|
|
35
|
+
version=VERSION,
|
|
36
|
+
description="Terra Scientific Pipelines Service",
|
|
37
|
+
author="OpenAPI Generator community",
|
|
38
|
+
author_email="team@openapitools.org",
|
|
39
|
+
url="",
|
|
40
|
+
keywords=["OpenAPI", "OpenAPI-Generator", "Terra Scientific Pipelines Service"],
|
|
41
|
+
install_requires=REQUIRES,
|
|
42
|
+
packages=find_packages(exclude=["test", "tests"]),
|
|
43
|
+
include_package_data=True,
|
|
44
|
+
long_description_content_type='text/markdown',
|
|
45
|
+
long_description="""\
|
|
46
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
47
|
+
""", # noqa: E501
|
|
48
|
+
package_data={"teaspoons_client": ["py.typed"]},
|
|
49
|
+
)
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
# flake8: noqa
|
|
4
|
+
|
|
5
|
+
"""
|
|
6
|
+
Terra Scientific Pipelines Service
|
|
7
|
+
|
|
8
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
9
|
+
|
|
10
|
+
The version of the OpenAPI document: 1.0.0
|
|
11
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
12
|
+
|
|
13
|
+
Do not edit the class manually.
|
|
14
|
+
""" # noqa: E501
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
__version__ = "0.1.28"
|
|
18
|
+
|
|
19
|
+
# import apis into sdk package
|
|
20
|
+
from teaspoons_client.api.admin_api import AdminApi
|
|
21
|
+
from teaspoons_client.api.jobs_api import JobsApi
|
|
22
|
+
from teaspoons_client.api.pipeline_runs_api import PipelineRunsApi
|
|
23
|
+
from teaspoons_client.api.pipelines_api import PipelinesApi
|
|
24
|
+
from teaspoons_client.api.public_api import PublicApi
|
|
25
|
+
from teaspoons_client.api.quotas_api import QuotasApi
|
|
26
|
+
|
|
27
|
+
# import ApiClient
|
|
28
|
+
from teaspoons_client.api_response import ApiResponse
|
|
29
|
+
from teaspoons_client.api_client import ApiClient
|
|
30
|
+
from teaspoons_client.configuration import Configuration
|
|
31
|
+
from teaspoons_client.exceptions import OpenApiException
|
|
32
|
+
from teaspoons_client.exceptions import ApiTypeError
|
|
33
|
+
from teaspoons_client.exceptions import ApiValueError
|
|
34
|
+
from teaspoons_client.exceptions import ApiKeyError
|
|
35
|
+
from teaspoons_client.exceptions import ApiAttributeError
|
|
36
|
+
from teaspoons_client.exceptions import ApiException
|
|
37
|
+
|
|
38
|
+
# import models into sdk package
|
|
39
|
+
from teaspoons_client.models.admin_pipeline import AdminPipeline
|
|
40
|
+
from teaspoons_client.models.admin_quota import AdminQuota
|
|
41
|
+
from teaspoons_client.models.async_pipeline_run_response import AsyncPipelineRunResponse
|
|
42
|
+
from teaspoons_client.models.error_report import ErrorReport
|
|
43
|
+
from teaspoons_client.models.get_jobs_response import GetJobsResponse
|
|
44
|
+
from teaspoons_client.models.get_pipeline_details_request_body import GetPipelineDetailsRequestBody
|
|
45
|
+
from teaspoons_client.models.get_pipeline_runs_response import GetPipelineRunsResponse
|
|
46
|
+
from teaspoons_client.models.get_pipelines_result import GetPipelinesResult
|
|
47
|
+
from teaspoons_client.models.job_control import JobControl
|
|
48
|
+
from teaspoons_client.models.job_report import JobReport
|
|
49
|
+
from teaspoons_client.models.job_result import JobResult
|
|
50
|
+
from teaspoons_client.models.pipeline import Pipeline
|
|
51
|
+
from teaspoons_client.models.pipeline_run import PipelineRun
|
|
52
|
+
from teaspoons_client.models.pipeline_run_report import PipelineRunReport
|
|
53
|
+
from teaspoons_client.models.pipeline_user_provided_input_definition import PipelineUserProvidedInputDefinition
|
|
54
|
+
from teaspoons_client.models.pipeline_with_details import PipelineWithDetails
|
|
55
|
+
from teaspoons_client.models.prepare_pipeline_run_request_body import PreparePipelineRunRequestBody
|
|
56
|
+
from teaspoons_client.models.prepare_pipeline_run_response import PreparePipelineRunResponse
|
|
57
|
+
from teaspoons_client.models.quota_with_details import QuotaWithDetails
|
|
58
|
+
from teaspoons_client.models.start_pipeline_run_request_body import StartPipelineRunRequestBody
|
|
59
|
+
from teaspoons_client.models.system_status import SystemStatus
|
|
60
|
+
from teaspoons_client.models.system_status_systems_value import SystemStatusSystemsValue
|
|
61
|
+
from teaspoons_client.models.update_pipeline_request_body import UpdatePipelineRequestBody
|
|
62
|
+
from teaspoons_client.models.update_quota_limit_request_body import UpdateQuotaLimitRequestBody
|
|
63
|
+
from teaspoons_client.models.version_properties import VersionProperties
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# flake8: noqa
|
|
2
|
+
|
|
3
|
+
# import apis into api package
|
|
4
|
+
from teaspoons_client.api.admin_api import AdminApi
|
|
5
|
+
from teaspoons_client.api.jobs_api import JobsApi
|
|
6
|
+
from teaspoons_client.api.pipeline_runs_api import PipelineRunsApi
|
|
7
|
+
from teaspoons_client.api.pipelines_api import PipelinesApi
|
|
8
|
+
from teaspoons_client.api.public_api import PublicApi
|
|
9
|
+
from teaspoons_client.api.quotas_api import QuotasApi
|
|
10
|
+
|