dtc-query-client 1.0.4__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.
- dtc_query_client-1.0.4/LICENSE +0 -0
- dtc_query_client-1.0.4/PKG-INFO +111 -0
- dtc_query_client-1.0.4/README.md +93 -0
- dtc_query_client-1.0.4/dtc_query_client/__init__.py +113 -0
- dtc_query_client-1.0.4/dtc_query_client/api/__init__.py +10 -0
- dtc_query_client-1.0.4/dtc_query_client/api/auth_api.py +1016 -0
- dtc_query_client-1.0.4/dtc_query_client/api/general_api.py +281 -0
- dtc_query_client-1.0.4/dtc_query_client/api/generic_api.py +594 -0
- dtc_query_client-1.0.4/dtc_query_client/api/jobs_api.py +572 -0
- dtc_query_client-1.0.4/dtc_query_client/api/sea_level_response_api.py +1432 -0
- dtc_query_client-1.0.4/dtc_query_client/api/state_and_fate_api.py +1927 -0
- dtc_query_client-1.0.4/dtc_query_client/api_client.py +808 -0
- dtc_query_client-1.0.4/dtc_query_client/api_response.py +21 -0
- dtc_query_client-1.0.4/dtc_query_client/configuration.py +625 -0
- dtc_query_client-1.0.4/dtc_query_client/exceptions.py +219 -0
- dtc_query_client-1.0.4/dtc_query_client/helpers.py +105 -0
- dtc_query_client-1.0.4/dtc_query_client/models/__init__.py +44 -0
- dtc_query_client-1.0.4/dtc_query_client/models/covariate_analysis_request.py +105 -0
- dtc_query_client-1.0.4/dtc_query_client/models/covariate_analysis_type.py +39 -0
- dtc_query_client-1.0.4/dtc_query_client/models/data_download_request.py +101 -0
- dtc_query_client-1.0.4/dtc_query_client/models/dataset_id.py +38 -0
- dtc_query_client-1.0.4/dtc_query_client/models/dataset_overview.py +129 -0
- dtc_query_client-1.0.4/dtc_query_client/models/dataset_summary_request.py +101 -0
- dtc_query_client-1.0.4/dtc_query_client/models/epsg4326_polygon_json.py +135 -0
- dtc_query_client-1.0.4/dtc_query_client/models/future_projection_request.py +104 -0
- dtc_query_client-1.0.4/dtc_query_client/models/generic_result_url.py +89 -0
- dtc_query_client-1.0.4/dtc_query_client/models/http_validation_error.py +97 -0
- dtc_query_client-1.0.4/dtc_query_client/models/ice_shelf_extent.py +40 -0
- dtc_query_client-1.0.4/dtc_query_client/models/job_status.py +44 -0
- dtc_query_client-1.0.4/dtc_query_client/models/job_status_response.py +104 -0
- dtc_query_client-1.0.4/dtc_query_client/models/job_submission_response.py +89 -0
- dtc_query_client-1.0.4/dtc_query_client/models/location_inner.py +139 -0
- dtc_query_client-1.0.4/dtc_query_client/models/log_events.py +93 -0
- dtc_query_client-1.0.4/dtc_query_client/models/multi_polygon_model.py +92 -0
- dtc_query_client-1.0.4/dtc_query_client/models/polygon_model.py +92 -0
- dtc_query_client-1.0.4/dtc_query_client/models/response_get_geometry_ice_shelves_ice_shelf_id_geometry_extent_get.py +135 -0
- dtc_query_client-1.0.4/dtc_query_client/models/sea_level_response_request.py +105 -0
- dtc_query_client-1.0.4/dtc_query_client/models/spatial_coverage_of_the_dataset.py +141 -0
- dtc_query_client-1.0.4/dtc_query_client/models/state_and_fate_variables_response_dataset.py +109 -0
- dtc_query_client-1.0.4/dtc_query_client/models/state_and_fate_variables_response_variable.py +124 -0
- dtc_query_client-1.0.4/dtc_query_client/models/validation_error.py +101 -0
- dtc_query_client-1.0.4/dtc_query_client/models/variable_item.py +96 -0
- dtc_query_client-1.0.4/dtc_query_client/models/variable_overview.py +105 -0
- dtc_query_client-1.0.4/dtc_query_client/models/what_if_request.py +93 -0
- dtc_query_client-1.0.4/dtc_query_client/py.typed +0 -0
- dtc_query_client-1.0.4/dtc_query_client/rest.py +264 -0
- dtc_query_client-1.0.4/dtc_query_client.egg-info/PKG-INFO +111 -0
- dtc_query_client-1.0.4/dtc_query_client.egg-info/SOURCES.txt +86 -0
- dtc_query_client-1.0.4/dtc_query_client.egg-info/dependency_links.txt +1 -0
- dtc_query_client-1.0.4/dtc_query_client.egg-info/requires.txt +5 -0
- dtc_query_client-1.0.4/dtc_query_client.egg-info/top_level.txt +1 -0
- dtc_query_client-1.0.4/pyproject.toml +96 -0
- dtc_query_client-1.0.4/setup.cfg +7 -0
- dtc_query_client-1.0.4/test/test_auth_api.py +59 -0
- dtc_query_client-1.0.4/test/test_covariate_analysis_request.py +69 -0
- dtc_query_client-1.0.4/test/test_covariate_analysis_type.py +33 -0
- dtc_query_client-1.0.4/test/test_data_download_request.py +58 -0
- dtc_query_client-1.0.4/test/test_dataset_id.py +33 -0
- dtc_query_client-1.0.4/test/test_dataset_overview.py +80 -0
- dtc_query_client-1.0.4/test/test_dataset_summary_request.py +62 -0
- dtc_query_client-1.0.4/test/test_epsg4326_polygon_json.py +69 -0
- dtc_query_client-1.0.4/test/test_future_projection_request.py +62 -0
- dtc_query_client-1.0.4/test/test_general_api.py +38 -0
- dtc_query_client-1.0.4/test/test_generic_api.py +45 -0
- dtc_query_client-1.0.4/test/test_generic_result_url.py +52 -0
- dtc_query_client-1.0.4/test/test_http_validation_error.py +58 -0
- dtc_query_client-1.0.4/test/test_ice_shelf_extent.py +33 -0
- dtc_query_client-1.0.4/test/test_job_status.py +33 -0
- dtc_query_client-1.0.4/test/test_job_status_response.py +67 -0
- dtc_query_client-1.0.4/test/test_job_submission_response.py +52 -0
- dtc_query_client-1.0.4/test/test_jobs_api.py +45 -0
- dtc_query_client-1.0.4/test/test_location_inner.py +50 -0
- dtc_query_client-1.0.4/test/test_log_events.py +59 -0
- dtc_query_client-1.0.4/test/test_multi_polygon_model.py +69 -0
- dtc_query_client-1.0.4/test/test_polygon_model.py +65 -0
- dtc_query_client-1.0.4/test/test_response_get_geometry_ice_shelves_ice_shelf_id_geometry_extent_get.py +69 -0
- dtc_query_client-1.0.4/test/test_sea_level_response_api.py +66 -0
- dtc_query_client-1.0.4/test/test_sea_level_response_request.py +60 -0
- dtc_query_client-1.0.4/test/test_spatial_coverage_of_the_dataset.py +69 -0
- dtc_query_client-1.0.4/test/test_state_and_fate_api.py +73 -0
- dtc_query_client-1.0.4/test/test_state_and_fate_variables_response_dataset.py +72 -0
- dtc_query_client-1.0.4/test/test_state_and_fate_variables_response_variable.py +58 -0
- dtc_query_client-1.0.4/test/test_validation_error.py +60 -0
- dtc_query_client-1.0.4/test/test_variable_item.py +58 -0
- dtc_query_client-1.0.4/test/test_variable_overview.py +62 -0
- dtc_query_client-1.0.4/test/test_what_if_request.py +53 -0
- dtc_query_client-1.0.4/tests/test_helpers.py +146 -0
|
File without changes
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: dtc_query_client
|
|
3
|
+
Version: 1.0.4
|
|
4
|
+
Summary: DTC Query API
|
|
5
|
+
Author-email: Earthwave Ltd <support@earthwave.co.uk>
|
|
6
|
+
Project-URL: Homepage, https://dtc-ice-sheets.org
|
|
7
|
+
Project-URL: Documentation, https://query.dtc-ice-sheets.org/docs
|
|
8
|
+
Keywords: OpenAPI,OpenAPI-Generator,DTC Query API
|
|
9
|
+
Requires-Python: >=3.9
|
|
10
|
+
Description-Content-Type: text/markdown
|
|
11
|
+
License-File: LICENSE
|
|
12
|
+
Requires-Dist: python-dateutil>=2.8.2
|
|
13
|
+
Requires-Dist: aiohttp>=3.8.4
|
|
14
|
+
Requires-Dist: aiohttp-retry>=2.8.3
|
|
15
|
+
Requires-Dist: pydantic>=2.11
|
|
16
|
+
Requires-Dist: typing-extensions>=4.7.1
|
|
17
|
+
Dynamic: license-file
|
|
18
|
+
|
|
19
|
+
# DTC-IS Query Client
|
|
20
|
+
This package provides a Python client for the DTC Ice Sheets Query API.
|
|
21
|
+
|
|
22
|
+
DTC Ice Sheets is a Digital Twin Component designed to provide an integrated, interactive, and holistic representation of the Greenland and Antarctic ice sheet systems and their two-way interaction with the Earth system: ocean, atmosphere and solid Earth. By combining Earth Observation data, numerical models, and data science and machine learning methods into a modular, executable framework, it enables users to analyse past and present conditions, simulate future scenarios, and explore the sensitivity, response, and impact of ice-sheets under different conditions. Developed under [ESA's Digital Twin Earth programme](https://eof.esa.int/dte/), the platform delivers these capabilities as trusted, API-first services.
|
|
23
|
+
|
|
24
|
+
Queries require authentication via an API token, which can be obtained at [https://query.dtc-ice-sheets.org/auth/get-token](https://query.dtc-ice-sheets.org/auth/get-token)
|
|
25
|
+
|
|
26
|
+
Refer to the [API documentation](https://query.dtc-ice-sheets.org/docs) for a complete list of available endpoints and their parameters.
|
|
27
|
+
|
|
28
|
+
For more information about the project, please visit [https://dtc-ice-sheets.org/](https://dtc-ice-sheets.org/).
|
|
29
|
+
|
|
30
|
+
## Installation
|
|
31
|
+
|
|
32
|
+
Install this package from PyPI:
|
|
33
|
+
|
|
34
|
+
```sh
|
|
35
|
+
pip install dtc-query-client
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## Getting Started
|
|
39
|
+
|
|
40
|
+
Start by importing the `dtc_query_client` and creating a `Configuration` object, passing in your authentication token:
|
|
41
|
+
|
|
42
|
+
```python
|
|
43
|
+
import dtc_query_client
|
|
44
|
+
|
|
45
|
+
configuration = dtc_query_client.Configuration(
|
|
46
|
+
host="https://query.dtc-ice-sheets.org",
|
|
47
|
+
access_token="[your private token here]"
|
|
48
|
+
)
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
API requests are made inside an `async with` block. For example, this snippet retrieves a list of available datasets:
|
|
52
|
+
```python
|
|
53
|
+
async with dtc_query_client.ApiClient(configuration) as client:
|
|
54
|
+
datasets = await dtc_query_client.GenericApi(client).dataset_overviews()
|
|
55
|
+
|
|
56
|
+
print(datasets)
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
Some endpoints start a long-running job and return a job ID. This job ID can be used to track how the job is progressing, and to obtain results once the job completes. It is recommended to use the `wait_for_job()` or `iterate_job()` helper functions to handle these endpoints gracefully.
|
|
60
|
+
|
|
61
|
+
The example snippet below uses the simpler `wait_for_job()`, which waits for the job to complete and returns the completed job state:
|
|
62
|
+
```python
|
|
63
|
+
async with dtc_query_client.ApiClient(configuration) as client:
|
|
64
|
+
# Start a job and get the job ID
|
|
65
|
+
response = await dtc_query_client.StateAndFateApi(client).run_summary_zarr_to_json(
|
|
66
|
+
ice_shelf_id="thwaites",
|
|
67
|
+
)
|
|
68
|
+
job_id = response.job_id
|
|
69
|
+
print(f"Started job with ID {job_id}")
|
|
70
|
+
|
|
71
|
+
# Wait for job to complete
|
|
72
|
+
try:
|
|
73
|
+
job_state = await dtc_query_client.wait_for_job(client, job_id)
|
|
74
|
+
except RuntimeError as e:
|
|
75
|
+
# Failed jobs will raise a RuntimeError
|
|
76
|
+
print("Job has failed!")
|
|
77
|
+
raise e
|
|
78
|
+
|
|
79
|
+
# Job has completed! Print results
|
|
80
|
+
print(f"Job completed successfully with status {job_state.status}.")
|
|
81
|
+
output_url = job_state.outputs["timeseries-zarr-to-json-module"]["output_json"]
|
|
82
|
+
print(f"Results URL: {output_url}")
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
Alternatively, the example snippet below uses the more advanced `iterate_job()`, which does the same thing but additionally provides live updates on job progress while it is running:
|
|
86
|
+
```python
|
|
87
|
+
async with dtc_query_client.ApiClient(configuration) as client:
|
|
88
|
+
# Start a job and get the job ID
|
|
89
|
+
response = await dtc_query_client.StateAndFateApi(client).run_summary_zarr_to_json(
|
|
90
|
+
ice_shelf_id="thwaites",
|
|
91
|
+
)
|
|
92
|
+
job_id = response.job_id
|
|
93
|
+
print(f"Started job with ID {job_id}")
|
|
94
|
+
|
|
95
|
+
# Wait for job to complete, printing information on the job state as it progresses
|
|
96
|
+
try:
|
|
97
|
+
async for job_state in dtc_query_client.iterate_job(client, job_id):
|
|
98
|
+
print(
|
|
99
|
+
f"Job has status {job_state.status}.\n"
|
|
100
|
+
f"It has completed {job_state.progress_done} steps out of {job_state.progress_total}."
|
|
101
|
+
)
|
|
102
|
+
except RuntimeError as e:
|
|
103
|
+
# Failed jobs will raise a RuntimeError
|
|
104
|
+
print("Job has failed!")
|
|
105
|
+
raise e
|
|
106
|
+
|
|
107
|
+
# Job has completed! Print results
|
|
108
|
+
print(f"Job completed successfully with status {job_state.status}.")
|
|
109
|
+
output_url = job_state.outputs["timeseries-zarr-to-json-module"]["output_json"]
|
|
110
|
+
print(f"Results URL: {output_url}")
|
|
111
|
+
```
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
# DTC-IS Query Client
|
|
2
|
+
This package provides a Python client for the DTC Ice Sheets Query API.
|
|
3
|
+
|
|
4
|
+
DTC Ice Sheets is a Digital Twin Component designed to provide an integrated, interactive, and holistic representation of the Greenland and Antarctic ice sheet systems and their two-way interaction with the Earth system: ocean, atmosphere and solid Earth. By combining Earth Observation data, numerical models, and data science and machine learning methods into a modular, executable framework, it enables users to analyse past and present conditions, simulate future scenarios, and explore the sensitivity, response, and impact of ice-sheets under different conditions. Developed under [ESA's Digital Twin Earth programme](https://eof.esa.int/dte/), the platform delivers these capabilities as trusted, API-first services.
|
|
5
|
+
|
|
6
|
+
Queries require authentication via an API token, which can be obtained at [https://query.dtc-ice-sheets.org/auth/get-token](https://query.dtc-ice-sheets.org/auth/get-token)
|
|
7
|
+
|
|
8
|
+
Refer to the [API documentation](https://query.dtc-ice-sheets.org/docs) for a complete list of available endpoints and their parameters.
|
|
9
|
+
|
|
10
|
+
For more information about the project, please visit [https://dtc-ice-sheets.org/](https://dtc-ice-sheets.org/).
|
|
11
|
+
|
|
12
|
+
## Installation
|
|
13
|
+
|
|
14
|
+
Install this package from PyPI:
|
|
15
|
+
|
|
16
|
+
```sh
|
|
17
|
+
pip install dtc-query-client
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## Getting Started
|
|
21
|
+
|
|
22
|
+
Start by importing the `dtc_query_client` and creating a `Configuration` object, passing in your authentication token:
|
|
23
|
+
|
|
24
|
+
```python
|
|
25
|
+
import dtc_query_client
|
|
26
|
+
|
|
27
|
+
configuration = dtc_query_client.Configuration(
|
|
28
|
+
host="https://query.dtc-ice-sheets.org",
|
|
29
|
+
access_token="[your private token here]"
|
|
30
|
+
)
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
API requests are made inside an `async with` block. For example, this snippet retrieves a list of available datasets:
|
|
34
|
+
```python
|
|
35
|
+
async with dtc_query_client.ApiClient(configuration) as client:
|
|
36
|
+
datasets = await dtc_query_client.GenericApi(client).dataset_overviews()
|
|
37
|
+
|
|
38
|
+
print(datasets)
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
Some endpoints start a long-running job and return a job ID. This job ID can be used to track how the job is progressing, and to obtain results once the job completes. It is recommended to use the `wait_for_job()` or `iterate_job()` helper functions to handle these endpoints gracefully.
|
|
42
|
+
|
|
43
|
+
The example snippet below uses the simpler `wait_for_job()`, which waits for the job to complete and returns the completed job state:
|
|
44
|
+
```python
|
|
45
|
+
async with dtc_query_client.ApiClient(configuration) as client:
|
|
46
|
+
# Start a job and get the job ID
|
|
47
|
+
response = await dtc_query_client.StateAndFateApi(client).run_summary_zarr_to_json(
|
|
48
|
+
ice_shelf_id="thwaites",
|
|
49
|
+
)
|
|
50
|
+
job_id = response.job_id
|
|
51
|
+
print(f"Started job with ID {job_id}")
|
|
52
|
+
|
|
53
|
+
# Wait for job to complete
|
|
54
|
+
try:
|
|
55
|
+
job_state = await dtc_query_client.wait_for_job(client, job_id)
|
|
56
|
+
except RuntimeError as e:
|
|
57
|
+
# Failed jobs will raise a RuntimeError
|
|
58
|
+
print("Job has failed!")
|
|
59
|
+
raise e
|
|
60
|
+
|
|
61
|
+
# Job has completed! Print results
|
|
62
|
+
print(f"Job completed successfully with status {job_state.status}.")
|
|
63
|
+
output_url = job_state.outputs["timeseries-zarr-to-json-module"]["output_json"]
|
|
64
|
+
print(f"Results URL: {output_url}")
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
Alternatively, the example snippet below uses the more advanced `iterate_job()`, which does the same thing but additionally provides live updates on job progress while it is running:
|
|
68
|
+
```python
|
|
69
|
+
async with dtc_query_client.ApiClient(configuration) as client:
|
|
70
|
+
# Start a job and get the job ID
|
|
71
|
+
response = await dtc_query_client.StateAndFateApi(client).run_summary_zarr_to_json(
|
|
72
|
+
ice_shelf_id="thwaites",
|
|
73
|
+
)
|
|
74
|
+
job_id = response.job_id
|
|
75
|
+
print(f"Started job with ID {job_id}")
|
|
76
|
+
|
|
77
|
+
# Wait for job to complete, printing information on the job state as it progresses
|
|
78
|
+
try:
|
|
79
|
+
async for job_state in dtc_query_client.iterate_job(client, job_id):
|
|
80
|
+
print(
|
|
81
|
+
f"Job has status {job_state.status}.\n"
|
|
82
|
+
f"It has completed {job_state.progress_done} steps out of {job_state.progress_total}."
|
|
83
|
+
)
|
|
84
|
+
except RuntimeError as e:
|
|
85
|
+
# Failed jobs will raise a RuntimeError
|
|
86
|
+
print("Job has failed!")
|
|
87
|
+
raise e
|
|
88
|
+
|
|
89
|
+
# Job has completed! Print results
|
|
90
|
+
print(f"Job completed successfully with status {job_state.status}.")
|
|
91
|
+
output_url = job_state.outputs["timeseries-zarr-to-json-module"]["output_json"]
|
|
92
|
+
print(f"Results URL: {output_url}")
|
|
93
|
+
```
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
# flake8: noqa
|
|
4
|
+
|
|
5
|
+
"""
|
|
6
|
+
DTC Query API
|
|
7
|
+
|
|
8
|
+
API for interacting with the DTC Ice Sheets system.<br><br>To authenticate, please navigate to <a href='https://query.dtc-ice-sheets.org/auth/get-token' target='_blank'>https://query.dtc-ice-sheets.org/auth/get-token</a> and include the obtained HTTPBearer token in the Authorization header for subsequent requests. <br><br>For more information on the project, please visit <a href='https://dtc-ice-sheets.org/' target='_blank'>https://dtc-ice-sheets.org/</a>.
|
|
9
|
+
|
|
10
|
+
The version of the OpenAPI document: 0.0.62
|
|
11
|
+
Contact: support@earthwave.co.uk
|
|
12
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
13
|
+
|
|
14
|
+
Do not edit the class manually.
|
|
15
|
+
""" # noqa: E501
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
__version__ = "1.0.4"
|
|
19
|
+
|
|
20
|
+
# Define package exports
|
|
21
|
+
__all__ = [
|
|
22
|
+
"AuthApi",
|
|
23
|
+
"GeneralApi",
|
|
24
|
+
"GenericApi",
|
|
25
|
+
"JobsApi",
|
|
26
|
+
"SeaLevelResponseApi",
|
|
27
|
+
"StateAndFateApi",
|
|
28
|
+
"ApiResponse",
|
|
29
|
+
"ApiClient",
|
|
30
|
+
"Configuration",
|
|
31
|
+
"OpenApiException",
|
|
32
|
+
"ApiTypeError",
|
|
33
|
+
"ApiValueError",
|
|
34
|
+
"ApiKeyError",
|
|
35
|
+
"ApiAttributeError",
|
|
36
|
+
"ApiException",
|
|
37
|
+
"CovariateAnalysisRequest",
|
|
38
|
+
"CovariateAnalysisType",
|
|
39
|
+
"DataDownloadRequest",
|
|
40
|
+
"DatasetID",
|
|
41
|
+
"DatasetOverview",
|
|
42
|
+
"DatasetSummaryRequest",
|
|
43
|
+
"Epsg4326PolygonJson",
|
|
44
|
+
"FutureProjectionRequest",
|
|
45
|
+
"GenericResultURL",
|
|
46
|
+
"HTTPValidationError",
|
|
47
|
+
"IceShelfExtent",
|
|
48
|
+
"JobStatus",
|
|
49
|
+
"JobStatusResponse",
|
|
50
|
+
"JobSubmissionResponse",
|
|
51
|
+
"LocationInner",
|
|
52
|
+
"LogEvents",
|
|
53
|
+
"MultiPolygonModel",
|
|
54
|
+
"PolygonModel",
|
|
55
|
+
"ResponseGetGeometryIceShelvesIceShelfIdGeometryExtentGet",
|
|
56
|
+
"SeaLevelResponseRequest",
|
|
57
|
+
"SpatialCoverageOfTheDataset",
|
|
58
|
+
"StateAndFateVariablesResponseDataset",
|
|
59
|
+
"StateAndFateVariablesResponseVariable",
|
|
60
|
+
"ValidationError",
|
|
61
|
+
"VariableItem",
|
|
62
|
+
"VariableOverview",
|
|
63
|
+
"WhatIfRequest",
|
|
64
|
+
]
|
|
65
|
+
|
|
66
|
+
# import apis into sdk package
|
|
67
|
+
from dtc_query_client.api.auth_api import AuthApi as AuthApi
|
|
68
|
+
from dtc_query_client.api.general_api import GeneralApi as GeneralApi
|
|
69
|
+
from dtc_query_client.api.generic_api import GenericApi as GenericApi
|
|
70
|
+
from dtc_query_client.api.jobs_api import JobsApi as JobsApi
|
|
71
|
+
from dtc_query_client.api.sea_level_response_api import SeaLevelResponseApi as SeaLevelResponseApi
|
|
72
|
+
from dtc_query_client.api.state_and_fate_api import StateAndFateApi as StateAndFateApi
|
|
73
|
+
|
|
74
|
+
# import ApiClient
|
|
75
|
+
from dtc_query_client.api_response import ApiResponse as ApiResponse
|
|
76
|
+
from dtc_query_client.api_client import ApiClient as ApiClient
|
|
77
|
+
from dtc_query_client.configuration import Configuration as Configuration
|
|
78
|
+
from dtc_query_client.exceptions import OpenApiException as OpenApiException
|
|
79
|
+
from dtc_query_client.exceptions import ApiTypeError as ApiTypeError
|
|
80
|
+
from dtc_query_client.exceptions import ApiValueError as ApiValueError
|
|
81
|
+
from dtc_query_client.exceptions import ApiKeyError as ApiKeyError
|
|
82
|
+
from dtc_query_client.exceptions import ApiAttributeError as ApiAttributeError
|
|
83
|
+
from dtc_query_client.exceptions import ApiException as ApiException
|
|
84
|
+
|
|
85
|
+
# import models into sdk package
|
|
86
|
+
from dtc_query_client.models.covariate_analysis_request import CovariateAnalysisRequest as CovariateAnalysisRequest
|
|
87
|
+
from dtc_query_client.models.covariate_analysis_type import CovariateAnalysisType as CovariateAnalysisType
|
|
88
|
+
from dtc_query_client.models.data_download_request import DataDownloadRequest as DataDownloadRequest
|
|
89
|
+
from dtc_query_client.models.dataset_id import DatasetID as DatasetID
|
|
90
|
+
from dtc_query_client.models.dataset_overview import DatasetOverview as DatasetOverview
|
|
91
|
+
from dtc_query_client.models.dataset_summary_request import DatasetSummaryRequest as DatasetSummaryRequest
|
|
92
|
+
from dtc_query_client.models.epsg4326_polygon_json import Epsg4326PolygonJson as Epsg4326PolygonJson
|
|
93
|
+
from dtc_query_client.models.future_projection_request import FutureProjectionRequest as FutureProjectionRequest
|
|
94
|
+
from dtc_query_client.models.generic_result_url import GenericResultURL as GenericResultURL
|
|
95
|
+
from dtc_query_client.models.http_validation_error import HTTPValidationError as HTTPValidationError
|
|
96
|
+
from dtc_query_client.models.ice_shelf_extent import IceShelfExtent as IceShelfExtent
|
|
97
|
+
from dtc_query_client.models.job_status import JobStatus as JobStatus
|
|
98
|
+
from dtc_query_client.models.job_status_response import JobStatusResponse as JobStatusResponse
|
|
99
|
+
from dtc_query_client.models.job_submission_response import JobSubmissionResponse as JobSubmissionResponse
|
|
100
|
+
from dtc_query_client.models.location_inner import LocationInner as LocationInner
|
|
101
|
+
from dtc_query_client.models.log_events import LogEvents as LogEvents
|
|
102
|
+
from dtc_query_client.models.multi_polygon_model import MultiPolygonModel as MultiPolygonModel
|
|
103
|
+
from dtc_query_client.models.polygon_model import PolygonModel as PolygonModel
|
|
104
|
+
from dtc_query_client.models.response_get_geometry_ice_shelves_ice_shelf_id_geometry_extent_get import ResponseGetGeometryIceShelvesIceShelfIdGeometryExtentGet as ResponseGetGeometryIceShelvesIceShelfIdGeometryExtentGet
|
|
105
|
+
from dtc_query_client.models.sea_level_response_request import SeaLevelResponseRequest as SeaLevelResponseRequest
|
|
106
|
+
from dtc_query_client.models.spatial_coverage_of_the_dataset import SpatialCoverageOfTheDataset as SpatialCoverageOfTheDataset
|
|
107
|
+
from dtc_query_client.models.state_and_fate_variables_response_dataset import StateAndFateVariablesResponseDataset as StateAndFateVariablesResponseDataset
|
|
108
|
+
from dtc_query_client.models.state_and_fate_variables_response_variable import StateAndFateVariablesResponseVariable as StateAndFateVariablesResponseVariable
|
|
109
|
+
from dtc_query_client.models.validation_error import ValidationError as ValidationError
|
|
110
|
+
from dtc_query_client.models.variable_item import VariableItem as VariableItem
|
|
111
|
+
from dtc_query_client.models.variable_overview import VariableOverview as VariableOverview
|
|
112
|
+
from dtc_query_client.models.what_if_request import WhatIfRequest as WhatIfRequest
|
|
113
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# flake8: noqa
|
|
2
|
+
|
|
3
|
+
# import apis into api package
|
|
4
|
+
from dtc_query_client.api.auth_api import AuthApi
|
|
5
|
+
from dtc_query_client.api.general_api import GeneralApi
|
|
6
|
+
from dtc_query_client.api.generic_api import GenericApi
|
|
7
|
+
from dtc_query_client.api.jobs_api import JobsApi
|
|
8
|
+
from dtc_query_client.api.sea_level_response_api import SeaLevelResponseApi
|
|
9
|
+
from dtc_query_client.api.state_and_fate_api import StateAndFateApi
|
|
10
|
+
|