cosmotech-api 2.4.1__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 +63 -206
- 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 +260 -0
- 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.1.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.1.dist-info → cosmotech_api-3.0.9.dev0.dist-info}/WHEEL +1 -1
- cosmotech_api-2.4.1.dist-info/RECORD +0 -99
- {cosmotech_api-2.4.1.dist-info → cosmotech_api-3.0.9.dev0.dist-info}/LICENSE +0 -0
- {cosmotech_api-2.4.1.dist-info → cosmotech_api-3.0.9.dev0.dist-info}/top_level.txt +0 -0
cosmotech_api/__init__.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
|
"""
|
|
@@ -141,23 +141,23 @@ class ConnectorApi(object):
|
|
|
141
141
|
},
|
|
142
142
|
api_client=api_client
|
|
143
143
|
)
|
|
144
|
-
self.
|
|
144
|
+
self.find_connector_by_name_endpoint = _Endpoint(
|
|
145
145
|
settings={
|
|
146
146
|
'response_type': (Connector,),
|
|
147
147
|
'auth': [
|
|
148
148
|
'oAuth2AuthCode'
|
|
149
149
|
],
|
|
150
|
-
'endpoint_path': '/connectors/
|
|
151
|
-
'operation_id': '
|
|
152
|
-
'http_method': '
|
|
150
|
+
'endpoint_path': '/connectors/name/{connector_name}',
|
|
151
|
+
'operation_id': 'find_connector_by_name',
|
|
152
|
+
'http_method': 'GET',
|
|
153
153
|
'servers': None,
|
|
154
154
|
},
|
|
155
155
|
params_map={
|
|
156
156
|
'all': [
|
|
157
|
-
'
|
|
157
|
+
'connector_name',
|
|
158
158
|
],
|
|
159
159
|
'required': [
|
|
160
|
-
'
|
|
160
|
+
'connector_name',
|
|
161
161
|
],
|
|
162
162
|
'nullable': [
|
|
163
163
|
],
|
|
@@ -172,13 +172,14 @@ class ConnectorApi(object):
|
|
|
172
172
|
'allowed_values': {
|
|
173
173
|
},
|
|
174
174
|
'openapi_types': {
|
|
175
|
-
'
|
|
176
|
-
(
|
|
175
|
+
'connector_name':
|
|
176
|
+
(str,),
|
|
177
177
|
},
|
|
178
178
|
'attribute_map': {
|
|
179
|
+
'connector_name': 'connector_name',
|
|
179
180
|
},
|
|
180
181
|
'location_map': {
|
|
181
|
-
'
|
|
182
|
+
'connector_name': 'path',
|
|
182
183
|
},
|
|
183
184
|
'collection_format_map': {
|
|
184
185
|
}
|
|
@@ -187,9 +188,7 @@ class ConnectorApi(object):
|
|
|
187
188
|
'accept': [
|
|
188
189
|
'application/json'
|
|
189
190
|
],
|
|
190
|
-
'content_type': [
|
|
191
|
-
'application/json'
|
|
192
|
-
]
|
|
191
|
+
'content_type': [],
|
|
193
192
|
},
|
|
194
193
|
api_client=api_client
|
|
195
194
|
)
|
|
@@ -447,21 +446,21 @@ class ConnectorApi(object):
|
|
|
447
446
|
connector_id
|
|
448
447
|
return self.find_connector_by_id_endpoint.call_with_http_info(**kwargs)
|
|
449
448
|
|
|
450
|
-
def
|
|
449
|
+
def find_connector_by_name(
|
|
451
450
|
self,
|
|
452
|
-
|
|
451
|
+
connector_name,
|
|
453
452
|
**kwargs
|
|
454
453
|
):
|
|
455
|
-
"""
|
|
454
|
+
"""Get the details of a connector # noqa: E501
|
|
456
455
|
|
|
457
456
|
This method makes a synchronous HTTP request by default. To make an
|
|
458
457
|
asynchronous HTTP request, please pass async_req=True
|
|
459
458
|
|
|
460
|
-
>>> thread = api.
|
|
459
|
+
>>> thread = api.find_connector_by_name(connector_name, async_req=True)
|
|
461
460
|
>>> result = thread.get()
|
|
462
461
|
|
|
463
462
|
Args:
|
|
464
|
-
|
|
463
|
+
connector_name (str): the Connector name
|
|
465
464
|
|
|
466
465
|
Keyword Args:
|
|
467
466
|
_return_http_data_only (bool): response data without head status
|
|
@@ -520,9 +519,9 @@ class ConnectorApi(object):
|
|
|
520
519
|
kwargs['_content_type'] = kwargs.get(
|
|
521
520
|
'_content_type')
|
|
522
521
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
523
|
-
kwargs['
|
|
524
|
-
|
|
525
|
-
return self.
|
|
522
|
+
kwargs['connector_name'] = \
|
|
523
|
+
connector_name
|
|
524
|
+
return self.find_connector_by_name_endpoint.call_with_http_info(**kwargs)
|
|
526
525
|
|
|
527
526
|
def register_connector(
|
|
528
527
|
self,
|