cosmotech-api 2.4.7__py3-none-any.whl → 3.0.9.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 +1 -1
- cosmotech_api/api/connector_api.py +20 -21
- cosmotech_api/api/dataset_api.py +2612 -153
- cosmotech_api/api/organization_api.py +1 -131
- cosmotech_api/api/scenario_api.py +13 -158
- cosmotech_api/api/scenariorun_api.py +1 -160
- cosmotech_api/api/scenariorunresult_api.py +386 -0
- cosmotech_api/api/solution_api.py +639 -36
- cosmotech_api/api/twingraph_api.py +2 -145
- cosmotech_api/api/user_api.py +1 -1
- cosmotech_api/api/validator_api.py +1 -1
- cosmotech_api/api/workspace_api.py +1 -141
- cosmotech_api/api_client.py +1 -1
- cosmotech_api/apis/__init__.py +1 -0
- cosmotech_api/configuration.py +2 -2
- 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 +55 -1
- cosmotech_api/model/dataset_access_control.py +268 -0
- 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 +262 -0
- cosmotech_api/model/dataset_search.py +1 -1
- cosmotech_api/model/dataset_security.py +274 -0
- cosmotech_api/model/dataset_source_type.py +286 -0
- cosmotech_api/model/dataset_twin_graph_hash.py +256 -0
- cosmotech_api/model/dataset_twin_graph_info.py +264 -0
- cosmotech_api/model/dataset_twin_graph_query.py +262 -0
- cosmotech_api/model/delete_historical_data.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_template.py +7 -1
- cosmotech_api/model/run_template_handler_id.py +1 -1
- cosmotech_api/model/run_template_orchestrator.py +283 -0
- 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/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 +6 -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 +260 -0
- 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 +16 -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 +7 -1
- cosmotech_api/model/solution_access_control.py +268 -0
- cosmotech_api/model/solution_role.py +262 -0
- cosmotech_api/model/solution_security.py +274 -0
- cosmotech_api/model/source_info.py +3 -13
- cosmotech_api/model/sub_dataset_graph_query.py +268 -0
- 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_import.py +1 -1
- cosmotech_api/model/twin_graph_import_info.py +1 -1
- cosmotech_api/model/twin_graph_query.py +1 -1
- cosmotech_api/model/user.py +1 -1
- cosmotech_api/model/user_organization.py +1 -1
- cosmotech_api/model/user_workspace.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 +14 -2
- cosmotech_api/rest.py +1 -1
- {cosmotech_api-2.4.7.dist-info → cosmotech_api-3.0.9.dev0.dist-info}/METADATA +2 -2
- cosmotech_api-3.0.9.dev0.dist-info/RECORD +114 -0
- {cosmotech_api-2.4.7.dist-info → cosmotech_api-3.0.9.dev0.dist-info}/WHEEL +1 -1
- cosmotech_api-2.4.7.dist-info/RECORD +0 -100
- {cosmotech_api-2.4.7.dist-info → cosmotech_api-3.0.9.dev0.dist-info}/LICENSE +0 -0
- {cosmotech_api-2.4.7.dist-info → cosmotech_api-3.0.9.dev0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,260 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Cosmo Tech Platform API
|
|
3
|
+
|
|
4
|
+
Cosmo Tech Platform API # noqa: E501
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 3.0.9-SNAPSHOT
|
|
7
|
+
Contact: platform@cosmotech.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
"""
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
import re # noqa: F401
|
|
13
|
+
import sys # noqa: F401
|
|
14
|
+
|
|
15
|
+
from cosmotech_api.model_utils import ( # noqa: F401
|
|
16
|
+
ApiTypeError,
|
|
17
|
+
ModelComposed,
|
|
18
|
+
ModelNormal,
|
|
19
|
+
ModelSimple,
|
|
20
|
+
cached_property,
|
|
21
|
+
change_keys_js_to_python,
|
|
22
|
+
convert_js_args_to_python_args,
|
|
23
|
+
date,
|
|
24
|
+
datetime,
|
|
25
|
+
file_type,
|
|
26
|
+
none_type,
|
|
27
|
+
validate_get_composed_info,
|
|
28
|
+
OpenApiModel
|
|
29
|
+
)
|
|
30
|
+
from cosmotech_api.exceptions import ApiAttributeError
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
class ScenarioRunResult(ModelNormal):
|
|
35
|
+
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
36
|
+
Ref: https://openapi-generator.tech
|
|
37
|
+
|
|
38
|
+
Do not edit the class manually.
|
|
39
|
+
|
|
40
|
+
Attributes:
|
|
41
|
+
allowed_values (dict): The key is the tuple path to the attribute
|
|
42
|
+
and the for var_name this is (var_name,). The value is a dict
|
|
43
|
+
with a capitalized key describing the allowed value and an allowed
|
|
44
|
+
value. These dicts store the allowed enum values.
|
|
45
|
+
attribute_map (dict): The key is attribute name
|
|
46
|
+
and the value is json key in definition.
|
|
47
|
+
discriminator_value_class_map (dict): A dict to go from the discriminator
|
|
48
|
+
variable value to the discriminator class name.
|
|
49
|
+
validations (dict): The key is the tuple path to the attribute
|
|
50
|
+
and the for var_name this is (var_name,). The value is a dict
|
|
51
|
+
that stores validations for max_length, min_length, max_items,
|
|
52
|
+
min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
|
|
53
|
+
inclusive_minimum, and regex.
|
|
54
|
+
additional_properties_type (tuple): A tuple of classes accepted
|
|
55
|
+
as additional properties values.
|
|
56
|
+
"""
|
|
57
|
+
|
|
58
|
+
allowed_values = {
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
validations = {
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
@cached_property
|
|
65
|
+
def additional_properties_type():
|
|
66
|
+
"""
|
|
67
|
+
This must be a method because a model may have properties that are
|
|
68
|
+
of type self, this must run after the class is loaded
|
|
69
|
+
"""
|
|
70
|
+
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
|
71
|
+
|
|
72
|
+
_nullable = False
|
|
73
|
+
|
|
74
|
+
@cached_property
|
|
75
|
+
def openapi_types():
|
|
76
|
+
"""
|
|
77
|
+
This must be a method because a model may have properties that are
|
|
78
|
+
of type self, this must run after the class is loaded
|
|
79
|
+
|
|
80
|
+
Returns
|
|
81
|
+
openapi_types (dict): The key is attribute name
|
|
82
|
+
and the value is attribute type.
|
|
83
|
+
"""
|
|
84
|
+
return {
|
|
85
|
+
'id': (str,), # noqa: E501
|
|
86
|
+
'results': ([{str: (str,)}],), # noqa: E501
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
@cached_property
|
|
90
|
+
def discriminator():
|
|
91
|
+
return None
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
attribute_map = {
|
|
95
|
+
'id': 'id', # noqa: E501
|
|
96
|
+
'results': 'results', # noqa: E501
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
read_only_vars = {
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
_composed_schemas = {}
|
|
103
|
+
|
|
104
|
+
@classmethod
|
|
105
|
+
@convert_js_args_to_python_args
|
|
106
|
+
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
107
|
+
"""ScenarioRunResult - a model defined in OpenAPI
|
|
108
|
+
|
|
109
|
+
Keyword Args:
|
|
110
|
+
_check_type (bool): if True, values for parameters in openapi_types
|
|
111
|
+
will be type checked and a TypeError will be
|
|
112
|
+
raised if the wrong type is input.
|
|
113
|
+
Defaults to True
|
|
114
|
+
_path_to_item (tuple/list): This is a list of keys or values to
|
|
115
|
+
drill down to the model in received_data
|
|
116
|
+
when deserializing a response
|
|
117
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
118
|
+
are serialized names, as specified in the OpenAPI document.
|
|
119
|
+
False if the variable names in the input data
|
|
120
|
+
are pythonic names, e.g. snake case (default)
|
|
121
|
+
_configuration (Configuration): the instance to use when
|
|
122
|
+
deserializing a file_type parameter.
|
|
123
|
+
If passed, type conversion is attempted
|
|
124
|
+
If omitted no type conversion is done.
|
|
125
|
+
_visited_composed_classes (tuple): This stores a tuple of
|
|
126
|
+
classes that we have traveled through so that
|
|
127
|
+
if we see that class again we will not use its
|
|
128
|
+
discriminator again.
|
|
129
|
+
When traveling through a discriminator, the
|
|
130
|
+
composed schema that is
|
|
131
|
+
is traveled through is added to this set.
|
|
132
|
+
For example if Animal has a discriminator
|
|
133
|
+
petType and we pass in "Dog", and the class Dog
|
|
134
|
+
allOf includes Animal, we move through Animal
|
|
135
|
+
once using the discriminator, and pick Dog.
|
|
136
|
+
Then in Dog, we will make an instance of the
|
|
137
|
+
Animal class but this time we won't travel
|
|
138
|
+
through its discriminator because we passed in
|
|
139
|
+
_visited_composed_classes = (Animal,)
|
|
140
|
+
id (str): [optional] # noqa: E501
|
|
141
|
+
results ([{str: (str,)}]): [optional] # noqa: E501
|
|
142
|
+
"""
|
|
143
|
+
|
|
144
|
+
_check_type = kwargs.pop('_check_type', True)
|
|
145
|
+
_spec_property_naming = kwargs.pop('_spec_property_naming', False)
|
|
146
|
+
_path_to_item = kwargs.pop('_path_to_item', ())
|
|
147
|
+
_configuration = kwargs.pop('_configuration', None)
|
|
148
|
+
_visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
|
|
149
|
+
|
|
150
|
+
self = super(OpenApiModel, cls).__new__(cls)
|
|
151
|
+
|
|
152
|
+
if args:
|
|
153
|
+
raise ApiTypeError(
|
|
154
|
+
"Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
|
|
155
|
+
args,
|
|
156
|
+
self.__class__.__name__,
|
|
157
|
+
),
|
|
158
|
+
path_to_item=_path_to_item,
|
|
159
|
+
valid_classes=(self.__class__,),
|
|
160
|
+
)
|
|
161
|
+
|
|
162
|
+
self._data_store = {}
|
|
163
|
+
self._check_type = _check_type
|
|
164
|
+
self._spec_property_naming = _spec_property_naming
|
|
165
|
+
self._path_to_item = _path_to_item
|
|
166
|
+
self._configuration = _configuration
|
|
167
|
+
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
168
|
+
|
|
169
|
+
for var_name, var_value in kwargs.items():
|
|
170
|
+
if var_name not in self.attribute_map and \
|
|
171
|
+
self._configuration is not None and \
|
|
172
|
+
self._configuration.discard_unknown_keys and \
|
|
173
|
+
self.additional_properties_type is None:
|
|
174
|
+
# discard variable.
|
|
175
|
+
continue
|
|
176
|
+
setattr(self, var_name, var_value)
|
|
177
|
+
return self
|
|
178
|
+
|
|
179
|
+
required_properties = set([
|
|
180
|
+
'_data_store',
|
|
181
|
+
'_check_type',
|
|
182
|
+
'_spec_property_naming',
|
|
183
|
+
'_path_to_item',
|
|
184
|
+
'_configuration',
|
|
185
|
+
'_visited_composed_classes',
|
|
186
|
+
])
|
|
187
|
+
|
|
188
|
+
@convert_js_args_to_python_args
|
|
189
|
+
def __init__(self, *args, **kwargs): # noqa: E501
|
|
190
|
+
"""ScenarioRunResult - a model defined in OpenAPI
|
|
191
|
+
|
|
192
|
+
Keyword Args:
|
|
193
|
+
_check_type (bool): if True, values for parameters in openapi_types
|
|
194
|
+
will be type checked and a TypeError will be
|
|
195
|
+
raised if the wrong type is input.
|
|
196
|
+
Defaults to True
|
|
197
|
+
_path_to_item (tuple/list): This is a list of keys or values to
|
|
198
|
+
drill down to the model in received_data
|
|
199
|
+
when deserializing a response
|
|
200
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
201
|
+
are serialized names, as specified in the OpenAPI document.
|
|
202
|
+
False if the variable names in the input data
|
|
203
|
+
are pythonic names, e.g. snake case (default)
|
|
204
|
+
_configuration (Configuration): the instance to use when
|
|
205
|
+
deserializing a file_type parameter.
|
|
206
|
+
If passed, type conversion is attempted
|
|
207
|
+
If omitted no type conversion is done.
|
|
208
|
+
_visited_composed_classes (tuple): This stores a tuple of
|
|
209
|
+
classes that we have traveled through so that
|
|
210
|
+
if we see that class again we will not use its
|
|
211
|
+
discriminator again.
|
|
212
|
+
When traveling through a discriminator, the
|
|
213
|
+
composed schema that is
|
|
214
|
+
is traveled through is added to this set.
|
|
215
|
+
For example if Animal has a discriminator
|
|
216
|
+
petType and we pass in "Dog", and the class Dog
|
|
217
|
+
allOf includes Animal, we move through Animal
|
|
218
|
+
once using the discriminator, and pick Dog.
|
|
219
|
+
Then in Dog, we will make an instance of the
|
|
220
|
+
Animal class but this time we won't travel
|
|
221
|
+
through its discriminator because we passed in
|
|
222
|
+
_visited_composed_classes = (Animal,)
|
|
223
|
+
id (str): [optional] # noqa: E501
|
|
224
|
+
results ([{str: (str,)}]): [optional] # noqa: E501
|
|
225
|
+
"""
|
|
226
|
+
|
|
227
|
+
_check_type = kwargs.pop('_check_type', True)
|
|
228
|
+
_spec_property_naming = kwargs.pop('_spec_property_naming', False)
|
|
229
|
+
_path_to_item = kwargs.pop('_path_to_item', ())
|
|
230
|
+
_configuration = kwargs.pop('_configuration', None)
|
|
231
|
+
_visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
|
|
232
|
+
|
|
233
|
+
if args:
|
|
234
|
+
raise ApiTypeError(
|
|
235
|
+
"Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
|
|
236
|
+
args,
|
|
237
|
+
self.__class__.__name__,
|
|
238
|
+
),
|
|
239
|
+
path_to_item=_path_to_item,
|
|
240
|
+
valid_classes=(self.__class__,),
|
|
241
|
+
)
|
|
242
|
+
|
|
243
|
+
self._data_store = {}
|
|
244
|
+
self._check_type = _check_type
|
|
245
|
+
self._spec_property_naming = _spec_property_naming
|
|
246
|
+
self._path_to_item = _path_to_item
|
|
247
|
+
self._configuration = _configuration
|
|
248
|
+
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
249
|
+
|
|
250
|
+
for var_name, var_value in kwargs.items():
|
|
251
|
+
if var_name not in self.attribute_map and \
|
|
252
|
+
self._configuration is not None and \
|
|
253
|
+
self._configuration.discard_unknown_keys and \
|
|
254
|
+
self.additional_properties_type is None:
|
|
255
|
+
# discard variable.
|
|
256
|
+
continue
|
|
257
|
+
setattr(self, var_name, var_value)
|
|
258
|
+
if var_name in self.read_only_vars:
|
|
259
|
+
raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
|
|
260
|
+
f"class with read only attributes.")
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
Cosmo Tech Platform API # noqa: E501
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document:
|
|
6
|
+
The version of the OpenAPI document: 3.0.9-SNAPSHOT
|
|
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.scenario_run_resource_requested import ScenarioRunResourceRequested
|
|
35
|
+
globals()['ScenarioRunResourceRequested'] = ScenarioRunResourceRequested
|
|
36
|
+
|
|
33
37
|
|
|
34
38
|
class ScenarioRunStatusNode(ModelNormal):
|
|
35
39
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
@@ -67,6 +71,7 @@ class ScenarioRunStatusNode(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,10 +86,13 @@ class ScenarioRunStatusNode(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
|
'id': (str,), # noqa: E501
|
|
86
92
|
'name': (str,), # noqa: E501
|
|
87
93
|
'container_name': (str,), # noqa: E501
|
|
94
|
+
'outbound_nodes': ([str],), # noqa: E501
|
|
95
|
+
'resources_duration': (ScenarioRunResourceRequested,), # noqa: E501
|
|
88
96
|
'estimated_duration': (int,), # noqa: E501
|
|
89
97
|
'host_node_name': (str,), # noqa: E501
|
|
90
98
|
'message': (str,), # noqa: E501
|
|
@@ -103,6 +111,8 @@ class ScenarioRunStatusNode(ModelNormal):
|
|
|
103
111
|
'id': 'id', # noqa: E501
|
|
104
112
|
'name': 'name', # noqa: E501
|
|
105
113
|
'container_name': 'containerName', # noqa: E501
|
|
114
|
+
'outbound_nodes': 'outboundNodes', # noqa: E501
|
|
115
|
+
'resources_duration': 'resourcesDuration', # noqa: E501
|
|
106
116
|
'estimated_duration': 'estimatedDuration', # noqa: E501
|
|
107
117
|
'host_node_name': 'hostNodeName', # noqa: E501
|
|
108
118
|
'message': 'message', # noqa: E501
|
|
@@ -113,6 +123,7 @@ class ScenarioRunStatusNode(ModelNormal):
|
|
|
113
123
|
}
|
|
114
124
|
|
|
115
125
|
read_only_vars = {
|
|
126
|
+
'outbound_nodes', # noqa: E501
|
|
116
127
|
}
|
|
117
128
|
|
|
118
129
|
_composed_schemas = {}
|
|
@@ -156,6 +167,8 @@ class ScenarioRunStatusNode(ModelNormal):
|
|
|
156
167
|
id (str): the node id. [optional] # noqa: E501
|
|
157
168
|
name (str): the node unique name. [optional] # noqa: E501
|
|
158
169
|
container_name (str): the ScenarioRun container name. [optional] # noqa: E501
|
|
170
|
+
outbound_nodes ([str]): the list of outbound nodes. [optional] # noqa: E501
|
|
171
|
+
resources_duration (ScenarioRunResourceRequested): [optional] # noqa: E501
|
|
159
172
|
estimated_duration (int): estimatedDuration in seconds. [optional] # noqa: E501
|
|
160
173
|
host_node_name (str): HostNodeName name of the Kubernetes node on which the Pod is running, if applicable. [optional] # noqa: E501
|
|
161
174
|
message (str): a human readable message indicating details about why the node is in this condition. [optional] # noqa: E501
|
|
@@ -247,6 +260,8 @@ class ScenarioRunStatusNode(ModelNormal):
|
|
|
247
260
|
id (str): the node id. [optional] # noqa: E501
|
|
248
261
|
name (str): the node unique name. [optional] # noqa: E501
|
|
249
262
|
container_name (str): the ScenarioRun container name. [optional] # noqa: E501
|
|
263
|
+
outbound_nodes ([str]): the list of outbound nodes. [optional] # noqa: E501
|
|
264
|
+
resources_duration (ScenarioRunResourceRequested): [optional] # noqa: E501
|
|
250
265
|
estimated_duration (int): estimatedDuration in seconds. [optional] # noqa: E501
|
|
251
266
|
host_node_name (str): HostNodeName name of the Kubernetes node on which the Pod is running, if applicable. [optional] # noqa: E501
|
|
252
267
|
message (str): a human readable message indicating details about why the node is in this condition. [optional] # noqa: E501
|
cosmotech_api/model/solution.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:
|
|
6
|
+
The version of the OpenAPI document: 3.0.9-SNAPSHOT
|
|
7
7
|
Contact: platform@cosmotech.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
"""
|
|
@@ -34,9 +34,11 @@ def lazy_import():
|
|
|
34
34
|
from cosmotech_api.model.run_template import RunTemplate
|
|
35
35
|
from cosmotech_api.model.run_template_parameter import RunTemplateParameter
|
|
36
36
|
from cosmotech_api.model.run_template_parameter_group import RunTemplateParameterGroup
|
|
37
|
+
from cosmotech_api.model.solution_security import SolutionSecurity
|
|
37
38
|
globals()['RunTemplate'] = RunTemplate
|
|
38
39
|
globals()['RunTemplateParameter'] = RunTemplateParameter
|
|
39
40
|
globals()['RunTemplateParameterGroup'] = RunTemplateParameterGroup
|
|
41
|
+
globals()['SolutionSecurity'] = SolutionSecurity
|
|
40
42
|
|
|
41
43
|
|
|
42
44
|
class Solution(ModelNormal):
|
|
@@ -107,6 +109,7 @@ class Solution(ModelNormal):
|
|
|
107
109
|
'parameters': ([RunTemplateParameter],), # noqa: E501
|
|
108
110
|
'parameter_groups': ([RunTemplateParameterGroup],), # noqa: E501
|
|
109
111
|
'run_templates': ([RunTemplate],), # noqa: E501
|
|
112
|
+
'security': (bool, date, datetime, dict, float, int, list, str, none_type,), # noqa: E501
|
|
110
113
|
}
|
|
111
114
|
|
|
112
115
|
@cached_property
|
|
@@ -130,6 +133,7 @@ class Solution(ModelNormal):
|
|
|
130
133
|
'parameters': 'parameters', # noqa: E501
|
|
131
134
|
'parameter_groups': 'parameterGroups', # noqa: E501
|
|
132
135
|
'run_templates': 'runTemplates', # noqa: E501
|
|
136
|
+
'security': 'security', # noqa: E501
|
|
133
137
|
}
|
|
134
138
|
|
|
135
139
|
read_only_vars = {
|
|
@@ -191,6 +195,7 @@ class Solution(ModelNormal):
|
|
|
191
195
|
parameters ([RunTemplateParameter]): the list of Run Template Parameters. [optional] # noqa: E501
|
|
192
196
|
parameter_groups ([RunTemplateParameterGroup]): the list of parameters groups for the Run Templates. [optional] # noqa: E501
|
|
193
197
|
run_templates ([RunTemplate]): list of Run Template. [optional] # noqa: E501
|
|
198
|
+
security (bool, date, datetime, dict, float, int, list, str, none_type): [optional] # noqa: E501
|
|
194
199
|
"""
|
|
195
200
|
|
|
196
201
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -287,6 +292,7 @@ class Solution(ModelNormal):
|
|
|
287
292
|
parameters ([RunTemplateParameter]): the list of Run Template Parameters. [optional] # noqa: E501
|
|
288
293
|
parameter_groups ([RunTemplateParameterGroup]): the list of parameters groups for the Run Templates. [optional] # noqa: E501
|
|
289
294
|
run_templates ([RunTemplate]): list of Run Template. [optional] # noqa: E501
|
|
295
|
+
security (bool, date, datetime, dict, float, int, list, str, none_type): [optional] # noqa: E501
|
|
290
296
|
"""
|
|
291
297
|
|
|
292
298
|
_check_type = kwargs.pop('_check_type', True)
|