cosmotech-api 3.2.6__py3-none-any.whl → 3.2.6.dev0__py3-none-any.whl
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 cosmotech-api might be problematic. Click here for more details.
- cosmotech_api/__init__.py +3 -45
- cosmotech_api/api/__init__.py +0 -3
- cosmotech_api/api/connector_api.py +7 -262
- cosmotech_api/api/dataset_api.py +19 -19
- cosmotech_api/api/organization_api.py +8 -869
- cosmotech_api/api/run_api.py +7 -7
- cosmotech_api/api/runner_api.py +13 -12
- cosmotech_api/api/scenario_api.py +3265 -6544
- cosmotech_api/api/scenariorun_api.py +1960 -4007
- cosmotech_api/api/scenariorunresult_api.py +1 -1
- cosmotech_api/api/solution_api.py +394 -1045
- cosmotech_api/api/twingraph_api.py +2061 -4118
- cosmotech_api/api/validator_api.py +1 -1
- cosmotech_api/api/workspace_api.py +12 -315
- cosmotech_api/api_client.py +1 -1
- cosmotech_api/configuration.py +5 -13
- cosmotech_api/exceptions.py +1 -1
- cosmotech_api/model/component_role_permissions.py +1 -1
- cosmotech_api/model/connector.py +1 -1
- cosmotech_api/model/connector_parameter.py +1 -1
- cosmotech_api/model/connector_parameter_group.py +1 -1
- cosmotech_api/model/container_resource_size_info.py +1 -1
- cosmotech_api/model/container_resource_sizing.py +1 -1
- cosmotech_api/model/dataset.py +1 -1
- cosmotech_api/model/dataset_access_control.py +1 -1
- cosmotech_api/model/dataset_compatibility.py +1 -1
- cosmotech_api/model/dataset_connector.py +1 -1
- cosmotech_api/model/dataset_copy_parameters.py +1 -1
- cosmotech_api/model/dataset_role.py +1 -1
- cosmotech_api/model/dataset_search.py +1 -1
- cosmotech_api/model/dataset_security.py +1 -1
- cosmotech_api/model/dataset_source_type.py +1 -1
- cosmotech_api/model/dataset_twin_graph_hash.py +1 -1
- cosmotech_api/model/dataset_twin_graph_info.py +1 -1
- cosmotech_api/model/dataset_twin_graph_query.py +1 -1
- cosmotech_api/model/delete_historical_data.py +1 -1
- cosmotech_api/model/file_upload_metadata.py +1 -1
- cosmotech_api/model/file_upload_validation.py +1 -1
- cosmotech_api/model/graph_properties.py +1 -1
- cosmotech_api/model/organization.py +1 -1
- cosmotech_api/model/organization_access_control.py +1 -1
- cosmotech_api/model/organization_role.py +1 -1
- cosmotech_api/model/organization_security.py +1 -1
- cosmotech_api/model/organization_service.py +1 -1
- cosmotech_api/model/organization_services.py +1 -1
- cosmotech_api/model/resource_size_info.py +1 -1
- cosmotech_api/model/run.py +1 -1
- cosmotech_api/model/run_container.py +1 -1
- cosmotech_api/model/run_container_artifact.py +1 -1
- cosmotech_api/model/run_container_logs.py +1 -1
- cosmotech_api/model/run_logs.py +1 -1
- cosmotech_api/model/run_resource_requested.py +1 -1
- cosmotech_api/model/run_search.py +1 -1
- cosmotech_api/model/run_start_containers.py +1 -1
- cosmotech_api/model/run_state.py +1 -1
- cosmotech_api/model/run_status.py +1 -1
- cosmotech_api/model/run_status_node.py +1 -1
- cosmotech_api/model/run_template.py +1 -1
- cosmotech_api/model/run_template_handler_id.py +1 -1
- cosmotech_api/model/run_template_orchestrator.py +1 -1
- cosmotech_api/model/run_template_parameter.py +1 -1
- cosmotech_api/model/run_template_parameter_group.py +1 -1
- cosmotech_api/model/run_template_parameter_value.py +1 -1
- cosmotech_api/model/run_template_resource_sizing.py +1 -1
- cosmotech_api/model/run_template_step_source.py +1 -1
- cosmotech_api/model/runner.py +21 -5
- cosmotech_api/model/runner_access_control.py +1 -1
- cosmotech_api/model/runner_changed_parameter_value.py +1 -1
- cosmotech_api/model/runner_comparison_result.py +1 -1
- cosmotech_api/model/runner_data_download_info.py +11 -1
- cosmotech_api/model/runner_data_download_job.py +1 -1
- cosmotech_api/model/runner_job_state.py +1 -1
- cosmotech_api/model/runner_last_run.py +1 -1
- cosmotech_api/model/runner_resource_sizing.py +1 -1
- cosmotech_api/model/runner_role.py +1 -1
- cosmotech_api/model/runner_run_template_parameter_value.py +1 -1
- cosmotech_api/model/runner_security.py +1 -1
- cosmotech_api/model/runner_validation_status.py +1 -1
- cosmotech_api/model/scenario.py +1 -1
- cosmotech_api/model/scenario_access_control.py +1 -1
- cosmotech_api/model/scenario_changed_parameter_value.py +1 -1
- cosmotech_api/model/scenario_comparison_result.py +1 -1
- cosmotech_api/model/scenario_data_download_info.py +1 -1
- cosmotech_api/model/scenario_data_download_job.py +1 -1
- cosmotech_api/model/scenario_job_state.py +1 -1
- cosmotech_api/model/scenario_last_run.py +1 -1
- cosmotech_api/model/scenario_resource_sizing.py +1 -1
- cosmotech_api/model/scenario_role.py +1 -1
- cosmotech_api/model/scenario_run.py +1 -1
- cosmotech_api/model/scenario_run_container.py +1 -1
- cosmotech_api/model/scenario_run_container_artifact.py +1 -1
- cosmotech_api/model/scenario_run_container_logs.py +1 -1
- cosmotech_api/model/scenario_run_logs.py +1 -1
- cosmotech_api/model/scenario_run_resource_requested.py +1 -1
- cosmotech_api/model/scenario_run_result.py +1 -1
- cosmotech_api/model/scenario_run_search.py +1 -1
- cosmotech_api/model/scenario_run_start_containers.py +1 -1
- cosmotech_api/model/scenario_run_state.py +1 -1
- cosmotech_api/model/scenario_run_status.py +1 -1
- cosmotech_api/model/scenario_run_status_node.py +1 -1
- cosmotech_api/model/scenario_run_template_parameter_value.py +1 -1
- cosmotech_api/model/scenario_security.py +1 -1
- cosmotech_api/model/scenario_validation_status.py +1 -1
- cosmotech_api/model/solution.py +1 -1
- cosmotech_api/model/solution_access_control.py +1 -1
- cosmotech_api/model/solution_role.py +1 -1
- cosmotech_api/model/solution_security.py +1 -1
- cosmotech_api/model/source_info.py +1 -1
- cosmotech_api/model/sub_dataset_graph_query.py +1 -1
- cosmotech_api/model/translated_labels.py +1 -1
- cosmotech_api/model/twin_graph_batch_result.py +1 -1
- cosmotech_api/model/twin_graph_hash.py +1 -1
- cosmotech_api/model/twin_graph_query.py +1 -1
- cosmotech_api/model/validator.py +1 -1
- cosmotech_api/model/validator_run.py +1 -1
- cosmotech_api/model/workspace.py +1 -1
- cosmotech_api/model/workspace_access_control.py +1 -1
- cosmotech_api/model/workspace_file.py +1 -1
- cosmotech_api/model/workspace_role.py +1 -1
- cosmotech_api/model/workspace_secret.py +1 -1
- cosmotech_api/model/workspace_security.py +1 -1
- cosmotech_api/model/workspace_solution.py +1 -1
- cosmotech_api/model/workspace_web_app.py +1 -1
- cosmotech_api/model_utils.py +1 -1
- cosmotech_api/models/__init__.py +3 -42
- cosmotech_api/models/component_role_permissions.py +1 -1
- cosmotech_api/models/connector.py +3 -7
- cosmotech_api/models/connector_parameter.py +1 -1
- cosmotech_api/models/connector_parameter_group.py +1 -1
- cosmotech_api/models/container_resource_size_info.py +1 -1
- cosmotech_api/models/container_resource_sizing.py +1 -1
- cosmotech_api/models/created_run.py +88 -0
- cosmotech_api/models/dataset.py +1 -1
- cosmotech_api/models/dataset_access_control.py +1 -1
- cosmotech_api/models/dataset_compatibility.py +1 -1
- cosmotech_api/models/dataset_connector.py +1 -1
- cosmotech_api/models/dataset_copy_parameters.py +1 -1
- cosmotech_api/models/dataset_role.py +1 -1
- cosmotech_api/models/dataset_search.py +1 -1
- cosmotech_api/models/dataset_security.py +1 -1
- cosmotech_api/models/dataset_source_type.py +1 -1
- cosmotech_api/models/dataset_twin_graph_hash.py +1 -1
- cosmotech_api/models/dataset_twin_graph_info.py +1 -1
- cosmotech_api/models/dataset_twin_graph_query.py +1 -1
- cosmotech_api/models/delete_historical_data.py +1 -1
- cosmotech_api/models/file_upload_metadata.py +1 -1
- cosmotech_api/models/file_upload_validation.py +1 -1
- cosmotech_api/models/graph_properties.py +1 -1
- cosmotech_api/models/ingestion_status_enum.py +1 -1
- cosmotech_api/models/io_types_enum.py +1 -1
- cosmotech_api/models/organization.py +2 -8
- cosmotech_api/models/organization_access_control.py +1 -1
- cosmotech_api/models/organization_role.py +1 -1
- cosmotech_api/models/organization_security.py +1 -1
- cosmotech_api/models/organization_service.py +1 -1
- cosmotech_api/models/organization_services.py +1 -1
- cosmotech_api/models/query_result.py +1 -1
- cosmotech_api/models/resource_size_info.py +1 -1
- cosmotech_api/models/run.py +1 -1
- cosmotech_api/models/run_container.py +3 -13
- cosmotech_api/models/run_container_artifact.py +1 -1
- cosmotech_api/models/run_container_logs.py +1 -1
- cosmotech_api/models/run_data.py +1 -1
- cosmotech_api/models/run_data_query.py +1 -1
- cosmotech_api/models/run_logs.py +16 -21
- cosmotech_api/models/run_logs_entry.py +88 -0
- cosmotech_api/models/run_resource_requested.py +1 -1
- cosmotech_api/models/run_search.py +1 -1
- cosmotech_api/models/run_search_state.py +1 -1
- cosmotech_api/models/run_start_containers.py +1 -1
- cosmotech_api/models/run_state.py +1 -1
- cosmotech_api/models/run_status.py +1 -1
- cosmotech_api/models/run_status_node.py +1 -1
- cosmotech_api/models/run_template.py +1 -1
- cosmotech_api/models/run_template_handler_id.py +1 -1
- cosmotech_api/models/run_template_orchestrator.py +1 -1
- cosmotech_api/models/run_template_parameter.py +1 -1
- cosmotech_api/models/run_template_parameter_group.py +1 -1
- cosmotech_api/models/run_template_parameter_value.py +1 -1
- cosmotech_api/models/run_template_resource_sizing.py +1 -1
- cosmotech_api/models/run_template_step_source.py +1 -1
- cosmotech_api/models/runner.py +2 -2
- cosmotech_api/models/runner_access_control.py +1 -1
- cosmotech_api/models/runner_changed_parameter_value.py +1 -1
- cosmotech_api/models/runner_comparison_result.py +1 -1
- cosmotech_api/models/runner_data_download_info.py +1 -1
- cosmotech_api/models/runner_data_download_job.py +1 -1
- cosmotech_api/models/runner_resource_sizing.py +1 -1
- cosmotech_api/models/runner_role.py +1 -1
- cosmotech_api/models/runner_run_template_parameter_value.py +1 -1
- cosmotech_api/models/runner_security.py +1 -1
- cosmotech_api/models/runner_validation_status.py +1 -1
- cosmotech_api/models/scenario.py +2 -2
- cosmotech_api/models/scenario_access_control.py +1 -1
- cosmotech_api/models/scenario_changed_parameter_value.py +1 -1
- cosmotech_api/models/scenario_comparison_result.py +1 -1
- cosmotech_api/models/scenario_data_download_info.py +1 -1
- cosmotech_api/models/scenario_data_download_job.py +1 -1
- cosmotech_api/models/scenario_job_state.py +1 -1
- cosmotech_api/models/scenario_last_run.py +1 -1
- cosmotech_api/models/scenario_resource_sizing.py +1 -1
- cosmotech_api/models/scenario_role.py +1 -1
- cosmotech_api/models/scenario_run.py +1 -1
- cosmotech_api/models/scenario_run_container.py +1 -1
- cosmotech_api/models/scenario_run_container_artifact.py +1 -1
- cosmotech_api/models/scenario_run_container_logs.py +1 -1
- cosmotech_api/models/scenario_run_logs.py +1 -1
- cosmotech_api/models/scenario_run_resource_requested.py +1 -1
- cosmotech_api/models/scenario_run_search.py +1 -1
- cosmotech_api/models/scenario_run_search_state.py +1 -1
- cosmotech_api/models/scenario_run_start_containers.py +1 -1
- cosmotech_api/models/scenario_run_state.py +1 -1
- cosmotech_api/models/scenario_run_status.py +1 -1
- cosmotech_api/models/scenario_run_status_node.py +1 -1
- cosmotech_api/models/scenario_run_template_parameter_value.py +1 -1
- cosmotech_api/models/scenario_security.py +1 -1
- cosmotech_api/models/scenario_validation_status.py +1 -1
- cosmotech_api/models/send_run_data_request.py +1 -1
- cosmotech_api/models/solution.py +2 -2
- cosmotech_api/models/solution_access_control.py +1 -1
- cosmotech_api/models/solution_role.py +1 -1
- cosmotech_api/models/solution_security.py +1 -1
- cosmotech_api/models/source_info.py +1 -1
- cosmotech_api/models/sub_dataset_graph_query.py +1 -1
- cosmotech_api/models/twin_graph_batch_result.py +1 -1
- cosmotech_api/models/twin_graph_hash.py +1 -1
- cosmotech_api/models/twin_graph_query.py +1 -1
- cosmotech_api/models/twincache_status_enum.py +1 -1
- cosmotech_api/models/validator.py +1 -1
- cosmotech_api/models/workspace.py +2 -2
- cosmotech_api/models/workspace_access_control.py +1 -1
- cosmotech_api/models/workspace_file.py +1 -1
- cosmotech_api/models/workspace_role.py +1 -1
- cosmotech_api/models/workspace_secret.py +7 -5
- cosmotech_api/models/workspace_security.py +1 -1
- cosmotech_api/models/workspace_solution.py +1 -1
- cosmotech_api/models/workspace_web_app.py +1 -1
- cosmotech_api/rest.py +1 -1
- {cosmotech_api-3.2.6.dist-info → cosmotech_api-3.2.6.dev0.dist-info}/METADATA +1 -1
- cosmotech_api-3.2.6.dev0.dist-info/RECORD +262 -0
- {cosmotech_api-3.2.6.dist-info → cosmotech_api-3.2.6.dev0.dist-info}/WHEEL +1 -1
- cosmotech_api-3.2.6.dist-info/RECORD +0 -260
- {cosmotech_api-3.2.6.dist-info → cosmotech_api-3.2.6.dev0.dist-info}/LICENSE +0 -0
- {cosmotech_api-3.2.6.dist-info → cosmotech_api-3.2.6.dev0.dist-info}/top_level.txt +0 -0
cosmotech_api/model/run.py
CHANGED
cosmotech_api/model/run_logs.py
CHANGED
cosmotech_api/model/run_state.py
CHANGED
cosmotech_api/model/runner.py
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
Cosmo Tech Platform API # noqa: E501
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 3.1.
|
|
6
|
+
The version of the OpenAPI document: 3.1.10
|
|
7
7
|
Contact: platform@cosmotech.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
"""
|
|
@@ -31,10 +31,14 @@ from cosmotech_api.exceptions import ApiAttributeError
|
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
def lazy_import():
|
|
34
|
+
from cosmotech_api.model.runner_job_state import RunnerJobState
|
|
35
|
+
from cosmotech_api.model.runner_last_run import RunnerLastRun
|
|
34
36
|
from cosmotech_api.model.runner_resource_sizing import RunnerResourceSizing
|
|
35
37
|
from cosmotech_api.model.runner_run_template_parameter_value import RunnerRunTemplateParameterValue
|
|
36
38
|
from cosmotech_api.model.runner_security import RunnerSecurity
|
|
37
39
|
from cosmotech_api.model.runner_validation_status import RunnerValidationStatus
|
|
40
|
+
globals()['RunnerJobState'] = RunnerJobState
|
|
41
|
+
globals()['RunnerLastRun'] = RunnerLastRun
|
|
38
42
|
globals()['RunnerResourceSizing'] = RunnerResourceSizing
|
|
39
43
|
globals()['RunnerRunTemplateParameterValue'] = RunnerRunTemplateParameterValue
|
|
40
44
|
globals()['RunnerSecurity'] = RunnerSecurity
|
|
@@ -105,6 +109,7 @@ class Runner(ModelNormal):
|
|
|
105
109
|
'run_template_id': (str,), # noqa: E501
|
|
106
110
|
'organization_id': (str,), # noqa: E501
|
|
107
111
|
'workspace_id': (str,), # noqa: E501
|
|
112
|
+
'state': (RunnerJobState,), # noqa: E501
|
|
108
113
|
'creation_date': (int,), # noqa: E501
|
|
109
114
|
'last_update': (int,), # noqa: E501
|
|
110
115
|
'owner_name': (str,), # noqa: E501
|
|
@@ -113,7 +118,9 @@ class Runner(ModelNormal):
|
|
|
113
118
|
'dataset_list': ([str],), # noqa: E501
|
|
114
119
|
'run_sizing': (RunnerResourceSizing,), # noqa: E501
|
|
115
120
|
'parameters_values': ([RunnerRunTemplateParameterValue],), # noqa: E501
|
|
116
|
-
'
|
|
121
|
+
'last_run': (bool, date, datetime, dict, float, int, list, str, none_type,), # noqa: E501
|
|
122
|
+
'parent_last_run': (bool, date, datetime, dict, float, int, list, str, none_type,), # noqa: E501
|
|
123
|
+
'root_last_run': (bool, date, datetime, dict, float, int, list, str, none_type,), # noqa: E501
|
|
117
124
|
'validation_status': (bool, date, datetime, dict, float, int, list, str, none_type,), # noqa: E501
|
|
118
125
|
'security': (bool, date, datetime, dict, float, int, list, str, none_type,), # noqa: E501
|
|
119
126
|
}
|
|
@@ -135,6 +142,7 @@ class Runner(ModelNormal):
|
|
|
135
142
|
'run_template_id': 'runTemplateId', # noqa: E501
|
|
136
143
|
'organization_id': 'organizationId', # noqa: E501
|
|
137
144
|
'workspace_id': 'workspaceId', # noqa: E501
|
|
145
|
+
'state': 'state', # noqa: E501
|
|
138
146
|
'creation_date': 'creationDate', # noqa: E501
|
|
139
147
|
'last_update': 'lastUpdate', # noqa: E501
|
|
140
148
|
'owner_name': 'ownerName', # noqa: E501
|
|
@@ -143,7 +151,9 @@ class Runner(ModelNormal):
|
|
|
143
151
|
'dataset_list': 'datasetList', # noqa: E501
|
|
144
152
|
'run_sizing': 'runSizing', # noqa: E501
|
|
145
153
|
'parameters_values': 'parametersValues', # noqa: E501
|
|
146
|
-
'
|
|
154
|
+
'last_run': 'lastRun', # noqa: E501
|
|
155
|
+
'parent_last_run': 'parentLastRun', # noqa: E501
|
|
156
|
+
'root_last_run': 'rootLastRun', # noqa: E501
|
|
147
157
|
'validation_status': 'validationStatus', # noqa: E501
|
|
148
158
|
'security': 'security', # noqa: E501
|
|
149
159
|
}
|
|
@@ -211,6 +221,7 @@ class Runner(ModelNormal):
|
|
|
211
221
|
run_template_id (str): the Solution Run Template Id associated with this Runner. [optional] # noqa: E501
|
|
212
222
|
organization_id (str): the associated Organization Id. [optional] # noqa: E501
|
|
213
223
|
workspace_id (str): the associated Workspace Id. [optional] # noqa: E501
|
|
224
|
+
state (RunnerJobState): [optional] # noqa: E501
|
|
214
225
|
creation_date (int): the Runner creation date. [optional] # noqa: E501
|
|
215
226
|
last_update (int): the last time a Runner was updated. [optional] # noqa: E501
|
|
216
227
|
owner_name (str): the name of the owner. [optional] # noqa: E501
|
|
@@ -219,7 +230,9 @@ class Runner(ModelNormal):
|
|
|
219
230
|
dataset_list ([str]): the list of Dataset Id associated to this Runner Run Template. [optional] # noqa: E501
|
|
220
231
|
run_sizing (RunnerResourceSizing): [optional] # noqa: E501
|
|
221
232
|
parameters_values ([RunnerRunTemplateParameterValue]): the list of Solution Run Template parameters values. [optional] # noqa: E501
|
|
222
|
-
|
|
233
|
+
last_run (bool, date, datetime, dict, float, int, list, str, none_type): [optional] # noqa: E501
|
|
234
|
+
parent_last_run (bool, date, datetime, dict, float, int, list, str, none_type): [optional] # noqa: E501
|
|
235
|
+
root_last_run (bool, date, datetime, dict, float, int, list, str, none_type): [optional] # noqa: E501
|
|
223
236
|
validation_status (bool, date, datetime, dict, float, int, list, str, none_type): [optional] # noqa: E501
|
|
224
237
|
security (bool, date, datetime, dict, float, int, list, str, none_type): [optional] # noqa: E501
|
|
225
238
|
"""
|
|
@@ -314,6 +327,7 @@ class Runner(ModelNormal):
|
|
|
314
327
|
run_template_id (str): the Solution Run Template Id associated with this Runner. [optional] # noqa: E501
|
|
315
328
|
organization_id (str): the associated Organization Id. [optional] # noqa: E501
|
|
316
329
|
workspace_id (str): the associated Workspace Id. [optional] # noqa: E501
|
|
330
|
+
state (RunnerJobState): [optional] # noqa: E501
|
|
317
331
|
creation_date (int): the Runner creation date. [optional] # noqa: E501
|
|
318
332
|
last_update (int): the last time a Runner was updated. [optional] # noqa: E501
|
|
319
333
|
owner_name (str): the name of the owner. [optional] # noqa: E501
|
|
@@ -322,7 +336,9 @@ class Runner(ModelNormal):
|
|
|
322
336
|
dataset_list ([str]): the list of Dataset Id associated to this Runner Run Template. [optional] # noqa: E501
|
|
323
337
|
run_sizing (RunnerResourceSizing): [optional] # noqa: E501
|
|
324
338
|
parameters_values ([RunnerRunTemplateParameterValue]): the list of Solution Run Template parameters values. [optional] # noqa: E501
|
|
325
|
-
|
|
339
|
+
last_run (bool, date, datetime, dict, float, int, list, str, none_type): [optional] # noqa: E501
|
|
340
|
+
parent_last_run (bool, date, datetime, dict, float, int, list, str, none_type): [optional] # noqa: E501
|
|
341
|
+
root_last_run (bool, date, datetime, dict, float, int, list, str, none_type): [optional] # noqa: E501
|
|
326
342
|
validation_status (bool, date, datetime, dict, float, int, list, str, none_type): [optional] # noqa: E501
|
|
327
343
|
security (bool, date, datetime, dict, float, int, list, str, none_type): [optional] # noqa: E501
|
|
328
344
|
"""
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
Cosmo Tech Platform API # noqa: E501
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 3.1.
|
|
6
|
+
The version of the OpenAPI document: 3.1.10
|
|
7
7
|
Contact: platform@cosmotech.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
"""
|
|
@@ -30,6 +30,10 @@ from cosmotech_api.model_utils import ( # noqa: F401
|
|
|
30
30
|
from cosmotech_api.exceptions import ApiAttributeError
|
|
31
31
|
|
|
32
32
|
|
|
33
|
+
def lazy_import():
|
|
34
|
+
from cosmotech_api.model.runner_job_state import RunnerJobState
|
|
35
|
+
globals()['RunnerJobState'] = RunnerJobState
|
|
36
|
+
|
|
33
37
|
|
|
34
38
|
class RunnerDataDownloadInfo(ModelNormal):
|
|
35
39
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
@@ -67,6 +71,7 @@ class RunnerDataDownloadInfo(ModelNormal):
|
|
|
67
71
|
This must be a method because a model may have properties that are
|
|
68
72
|
of type self, this must run after the class is loaded
|
|
69
73
|
"""
|
|
74
|
+
lazy_import()
|
|
70
75
|
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
|
71
76
|
|
|
72
77
|
_nullable = False
|
|
@@ -81,8 +86,10 @@ class RunnerDataDownloadInfo(ModelNormal):
|
|
|
81
86
|
openapi_types (dict): The key is attribute name
|
|
82
87
|
and the value is attribute type.
|
|
83
88
|
"""
|
|
89
|
+
lazy_import()
|
|
84
90
|
return {
|
|
85
91
|
'url': (str,), # noqa: E501
|
|
92
|
+
'state': (RunnerJobState,), # noqa: E501
|
|
86
93
|
}
|
|
87
94
|
|
|
88
95
|
@cached_property
|
|
@@ -92,6 +99,7 @@ class RunnerDataDownloadInfo(ModelNormal):
|
|
|
92
99
|
|
|
93
100
|
attribute_map = {
|
|
94
101
|
'url': 'url', # noqa: E501
|
|
102
|
+
'state': 'state', # noqa: E501
|
|
95
103
|
}
|
|
96
104
|
|
|
97
105
|
read_only_vars = {
|
|
@@ -137,6 +145,7 @@ class RunnerDataDownloadInfo(ModelNormal):
|
|
|
137
145
|
through its discriminator because we passed in
|
|
138
146
|
_visited_composed_classes = (Animal,)
|
|
139
147
|
url (str): the Runner Data Download URL. [optional] # noqa: E501
|
|
148
|
+
state (RunnerJobState): [optional] # noqa: E501
|
|
140
149
|
"""
|
|
141
150
|
|
|
142
151
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -219,6 +228,7 @@ class RunnerDataDownloadInfo(ModelNormal):
|
|
|
219
228
|
through its discriminator because we passed in
|
|
220
229
|
_visited_composed_classes = (Animal,)
|
|
221
230
|
url (str): the Runner Data Download URL. [optional] # noqa: E501
|
|
231
|
+
state (RunnerJobState): [optional] # noqa: E501
|
|
222
232
|
"""
|
|
223
233
|
|
|
224
234
|
_check_type = kwargs.pop('_check_type', True)
|
cosmotech_api/model/scenario.py
CHANGED