cosmotech-api 3.2.6.dev0__py3-none-any.whl → 3.3.4__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 +49 -3
- cosmotech_api/api/__init__.py +3 -0
- cosmotech_api/api/connector_api.py +285 -26
- cosmotech_api/api/dataset_api.py +264 -233
- cosmotech_api/api/meta_api.py +281 -0
- cosmotech_api/api/organization_api.py +968 -89
- cosmotech_api/api/run_api.py +55 -47
- cosmotech_api/api/runner_api.py +109 -96
- cosmotech_api/api/scenario_api.py +6558 -3259
- cosmotech_api/api/scenariorun_api.py +4044 -1987
- cosmotech_api/api/scenariorunresult_api.py +1 -1
- cosmotech_api/api/solution_api.py +1143 -473
- cosmotech_api/api/twingraph_api.py +4152 -2084
- cosmotech_api/api/validator_api.py +1 -1
- cosmotech_api/api/workspace_api.py +428 -114
- cosmotech_api/api_client.py +59 -29
- cosmotech_api/configuration.py +29 -7
- 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 +1 -1
- 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 +1 -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 +46 -3
- cosmotech_api/models/about_info.py +92 -0
- cosmotech_api/models/about_info_version.py +100 -0
- cosmotech_api/models/component_role_permissions.py +7 -7
- cosmotech_api/models/connector.py +15 -11
- cosmotech_api/models/connector_parameter.py +7 -7
- cosmotech_api/models/connector_parameter_group.py +10 -10
- cosmotech_api/models/container_resource_size_info.py +7 -7
- cosmotech_api/models/container_resource_sizing.py +7 -7
- cosmotech_api/models/created_run.py +7 -7
- cosmotech_api/models/dataset.py +10 -10
- cosmotech_api/models/dataset_access_control.py +7 -7
- cosmotech_api/models/dataset_compatibility.py +7 -7
- cosmotech_api/models/dataset_connector.py +7 -7
- cosmotech_api/models/dataset_copy_parameters.py +7 -7
- cosmotech_api/models/dataset_role.py +7 -7
- cosmotech_api/models/dataset_search.py +7 -7
- cosmotech_api/models/dataset_security.py +10 -10
- cosmotech_api/models/dataset_source_type.py +1 -1
- cosmotech_api/models/dataset_twin_graph_hash.py +7 -7
- cosmotech_api/models/dataset_twin_graph_info.py +7 -7
- cosmotech_api/models/dataset_twin_graph_query.py +7 -7
- cosmotech_api/models/delete_historical_data.py +7 -7
- cosmotech_api/models/file_upload_metadata.py +7 -7
- cosmotech_api/models/file_upload_validation.py +13 -13
- cosmotech_api/models/graph_properties.py +7 -7
- cosmotech_api/models/ingestion_status_enum.py +1 -1
- cosmotech_api/models/io_types_enum.py +1 -1
- cosmotech_api/models/organization.py +14 -8
- cosmotech_api/models/organization_access_control.py +7 -7
- cosmotech_api/models/organization_create_request.py +95 -0
- cosmotech_api/models/organization_role.py +7 -7
- cosmotech_api/models/organization_security.py +10 -10
- cosmotech_api/models/organization_service.py +7 -7
- cosmotech_api/models/organization_services.py +7 -7
- cosmotech_api/models/organization_update_request.py +89 -0
- cosmotech_api/models/query_result.py +7 -7
- cosmotech_api/models/resource_size_info.py +7 -7
- cosmotech_api/models/run.py +13 -13
- cosmotech_api/models/run_container.py +19 -9
- cosmotech_api/models/run_container_artifact.py +7 -7
- cosmotech_api/models/run_container_logs.py +7 -7
- cosmotech_api/models/run_data.py +7 -7
- cosmotech_api/models/run_data_query.py +7 -7
- cosmotech_api/models/run_logs.py +27 -22
- cosmotech_api/models/run_logs_entry.py +7 -7
- cosmotech_api/models/run_resource_requested.py +7 -7
- cosmotech_api/models/run_search.py +7 -7
- cosmotech_api/models/run_search_state.py +1 -1
- cosmotech_api/models/run_start_containers.py +10 -10
- cosmotech_api/models/run_state.py +1 -1
- cosmotech_api/models/run_status.py +10 -10
- cosmotech_api/models/run_status_node.py +7 -7
- cosmotech_api/models/run_template.py +7 -7
- 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 +7 -7
- cosmotech_api/models/run_template_parameter_group.py +7 -7
- cosmotech_api/models/run_template_parameter_value.py +7 -7
- cosmotech_api/models/run_template_resource_sizing.py +7 -7
- cosmotech_api/models/run_template_step_source.py +1 -1
- cosmotech_api/models/runner.py +33 -14
- cosmotech_api/models/runner_access_control.py +7 -7
- cosmotech_api/models/runner_changed_parameter_value.py +7 -7
- cosmotech_api/models/runner_comparison_result.py +10 -10
- cosmotech_api/models/runner_create_request.py +154 -0
- cosmotech_api/models/runner_data_download_info.py +12 -9
- cosmotech_api/models/runner_data_download_job.py +7 -7
- cosmotech_api/models/runner_job_state.py +1 -1
- cosmotech_api/models/runner_last_run.py +7 -7
- cosmotech_api/models/runner_parent_last_run.py +7 -7
- cosmotech_api/models/runner_resource_sizing.py +7 -7
- cosmotech_api/models/runner_role.py +7 -7
- cosmotech_api/models/runner_root_last_run.py +7 -7
- cosmotech_api/models/runner_run_template_parameter_value.py +7 -7
- cosmotech_api/models/runner_security.py +10 -10
- cosmotech_api/models/runner_update_request.py +123 -0
- cosmotech_api/models/runner_validation_status.py +1 -1
- cosmotech_api/models/scenario.py +11 -11
- cosmotech_api/models/scenario_access_control.py +7 -7
- cosmotech_api/models/scenario_changed_parameter_value.py +7 -7
- cosmotech_api/models/scenario_comparison_result.py +10 -10
- cosmotech_api/models/scenario_data_download_info.py +7 -7
- cosmotech_api/models/scenario_data_download_job.py +7 -7
- cosmotech_api/models/scenario_job_state.py +1 -1
- cosmotech_api/models/scenario_last_run.py +7 -7
- cosmotech_api/models/scenario_resource_sizing.py +7 -7
- cosmotech_api/models/scenario_role.py +7 -7
- cosmotech_api/models/scenario_run.py +13 -13
- cosmotech_api/models/scenario_run_container.py +10 -10
- cosmotech_api/models/scenario_run_container_artifact.py +7 -7
- cosmotech_api/models/scenario_run_container_logs.py +7 -7
- cosmotech_api/models/scenario_run_logs.py +10 -10
- cosmotech_api/models/scenario_run_resource_requested.py +7 -7
- cosmotech_api/models/scenario_run_search.py +7 -7
- cosmotech_api/models/scenario_run_search_state.py +1 -1
- cosmotech_api/models/scenario_run_start_containers.py +10 -10
- cosmotech_api/models/scenario_run_state.py +1 -1
- cosmotech_api/models/scenario_run_status.py +10 -10
- cosmotech_api/models/scenario_run_status_node.py +7 -7
- cosmotech_api/models/scenario_run_template_parameter_value.py +7 -7
- cosmotech_api/models/scenario_security.py +10 -10
- cosmotech_api/models/scenario_validation_status.py +1 -1
- cosmotech_api/models/send_run_data_request.py +7 -7
- cosmotech_api/models/solution.py +17 -17
- cosmotech_api/models/solution_access_control.py +7 -7
- cosmotech_api/models/solution_create_request.py +143 -0
- cosmotech_api/models/solution_role.py +7 -7
- cosmotech_api/models/solution_security.py +10 -10
- cosmotech_api/models/solution_update_request.py +107 -0
- cosmotech_api/models/source_info.py +7 -7
- cosmotech_api/models/sub_dataset_graph_query.py +7 -7
- cosmotech_api/models/twin_graph_batch_result.py +7 -7
- cosmotech_api/models/twin_graph_hash.py +7 -7
- cosmotech_api/models/twin_graph_query.py +7 -7
- cosmotech_api/models/twincache_status_enum.py +1 -1
- cosmotech_api/models/validator.py +7 -7
- cosmotech_api/models/workspace.py +8 -8
- cosmotech_api/models/workspace_access_control.py +7 -7
- cosmotech_api/models/workspace_create_request.py +117 -0
- cosmotech_api/models/workspace_file.py +7 -7
- cosmotech_api/models/workspace_role.py +7 -7
- cosmotech_api/models/workspace_secret.py +11 -13
- cosmotech_api/models/workspace_security.py +10 -10
- cosmotech_api/models/workspace_solution.py +7 -7
- cosmotech_api/models/workspace_update_request.py +109 -0
- cosmotech_api/models/workspace_web_app.py +7 -7
- cosmotech_api/rest.py +3 -1
- {cosmotech_api-3.2.6.dev0.dist-info → cosmotech_api-3.3.4.dist-info}/METADATA +13 -5
- cosmotech_api-3.3.4.dist-info/RECORD +273 -0
- {cosmotech_api-3.2.6.dev0.dist-info → cosmotech_api-3.3.4.dist-info}/WHEEL +1 -1
- cosmotech_api-3.2.6.dev0.dist-info/RECORD +0 -262
- {cosmotech_api-3.2.6.dev0.dist-info → cosmotech_api-3.3.4.dist-info}/LICENSE +0 -0
- {cosmotech_api-3.2.6.dev0.dist-info → cosmotech_api-3.3.4.dist-info}/top_level.txt +0 -0
cosmotech_api/api/runner_api.py
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Cosmo Tech Platform API
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document:
|
|
8
|
+
The version of the OpenAPI document: 3.3.4
|
|
9
9
|
Contact: platform@cosmotech.com
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -18,11 +18,11 @@ from typing import Any, Dict, List, Optional, Tuple, Union
|
|
|
18
18
|
from typing_extensions import Annotated
|
|
19
19
|
|
|
20
20
|
from pydantic import Field, StrictInt, StrictStr
|
|
21
|
-
from typing import Optional
|
|
21
|
+
from typing import List, Optional
|
|
22
22
|
from typing_extensions import Annotated
|
|
23
|
-
from cosmotech_api.models.created_run import CreatedRun
|
|
24
23
|
from cosmotech_api.models.runner import Runner
|
|
25
24
|
from cosmotech_api.models.runner_access_control import RunnerAccessControl
|
|
25
|
+
from cosmotech_api.models.runner_last_run import RunnerLastRun
|
|
26
26
|
from cosmotech_api.models.runner_role import RunnerRole
|
|
27
27
|
from cosmotech_api.models.runner_security import RunnerSecurity
|
|
28
28
|
|
|
@@ -298,7 +298,7 @@ class RunnerApi:
|
|
|
298
298
|
_query_params: List[Tuple[str, str]] = []
|
|
299
299
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
300
300
|
_form_params: List[Tuple[str, str]] = []
|
|
301
|
-
_files: Dict[str, str] = {}
|
|
301
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
302
302
|
_body_params: Optional[bytes] = None
|
|
303
303
|
|
|
304
304
|
# process the path parameters
|
|
@@ -317,11 +317,12 @@ class RunnerApi:
|
|
|
317
317
|
|
|
318
318
|
|
|
319
319
|
# set the HTTP header `Accept`
|
|
320
|
-
|
|
321
|
-
[
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
320
|
+
if 'Accept' not in _header_params:
|
|
321
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
322
|
+
[
|
|
323
|
+
'application/json'
|
|
324
|
+
]
|
|
325
|
+
)
|
|
325
326
|
|
|
326
327
|
# set the HTTP header `Content-Type`
|
|
327
328
|
if _content_type:
|
|
@@ -602,7 +603,7 @@ class RunnerApi:
|
|
|
602
603
|
_query_params: List[Tuple[str, str]] = []
|
|
603
604
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
604
605
|
_form_params: List[Tuple[str, str]] = []
|
|
605
|
-
_files: Dict[str, str] = {}
|
|
606
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
606
607
|
_body_params: Optional[bytes] = None
|
|
607
608
|
|
|
608
609
|
# process the path parameters
|
|
@@ -619,11 +620,12 @@ class RunnerApi:
|
|
|
619
620
|
|
|
620
621
|
|
|
621
622
|
# set the HTTP header `Accept`
|
|
622
|
-
|
|
623
|
-
[
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
623
|
+
if 'Accept' not in _header_params:
|
|
624
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
625
|
+
[
|
|
626
|
+
'application/json'
|
|
627
|
+
]
|
|
628
|
+
)
|
|
627
629
|
|
|
628
630
|
# set the HTTP header `Content-Type`
|
|
629
631
|
if _content_type:
|
|
@@ -904,7 +906,7 @@ class RunnerApi:
|
|
|
904
906
|
_query_params: List[Tuple[str, str]] = []
|
|
905
907
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
906
908
|
_form_params: List[Tuple[str, str]] = []
|
|
907
|
-
_files: Dict[str, str] = {}
|
|
909
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
908
910
|
_body_params: Optional[bytes] = None
|
|
909
911
|
|
|
910
912
|
# process the path parameters
|
|
@@ -1186,7 +1188,7 @@ class RunnerApi:
|
|
|
1186
1188
|
_query_params: List[Tuple[str, str]] = []
|
|
1187
1189
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1188
1190
|
_form_params: List[Tuple[str, str]] = []
|
|
1189
|
-
_files: Dict[str, str] = {}
|
|
1191
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
1190
1192
|
_body_params: Optional[bytes] = None
|
|
1191
1193
|
|
|
1192
1194
|
# process the path parameters
|
|
@@ -1203,11 +1205,12 @@ class RunnerApi:
|
|
|
1203
1205
|
|
|
1204
1206
|
|
|
1205
1207
|
# set the HTTP header `Accept`
|
|
1206
|
-
|
|
1207
|
-
[
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1208
|
+
if 'Accept' not in _header_params:
|
|
1209
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1210
|
+
[
|
|
1211
|
+
'application/json'
|
|
1212
|
+
]
|
|
1213
|
+
)
|
|
1211
1214
|
|
|
1212
1215
|
|
|
1213
1216
|
# authentication setting
|
|
@@ -1487,7 +1490,7 @@ class RunnerApi:
|
|
|
1487
1490
|
_query_params: List[Tuple[str, str]] = []
|
|
1488
1491
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1489
1492
|
_form_params: List[Tuple[str, str]] = []
|
|
1490
|
-
_files: Dict[str, str] = {}
|
|
1493
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
1491
1494
|
_body_params: Optional[bytes] = None
|
|
1492
1495
|
|
|
1493
1496
|
# process the path parameters
|
|
@@ -1506,11 +1509,12 @@ class RunnerApi:
|
|
|
1506
1509
|
|
|
1507
1510
|
|
|
1508
1511
|
# set the HTTP header `Accept`
|
|
1509
|
-
|
|
1510
|
-
[
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1512
|
+
if 'Accept' not in _header_params:
|
|
1513
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1514
|
+
[
|
|
1515
|
+
'application/json'
|
|
1516
|
+
]
|
|
1517
|
+
)
|
|
1514
1518
|
|
|
1515
1519
|
|
|
1516
1520
|
# authentication setting
|
|
@@ -1787,7 +1791,7 @@ class RunnerApi:
|
|
|
1787
1791
|
_query_params: List[Tuple[str, str]] = []
|
|
1788
1792
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1789
1793
|
_form_params: List[Tuple[str, str]] = []
|
|
1790
|
-
_files: Dict[str, str] = {}
|
|
1794
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
1791
1795
|
_body_params: Optional[bytes] = None
|
|
1792
1796
|
|
|
1793
1797
|
# process the path parameters
|
|
@@ -1806,11 +1810,12 @@ class RunnerApi:
|
|
|
1806
1810
|
|
|
1807
1811
|
|
|
1808
1812
|
# set the HTTP header `Accept`
|
|
1809
|
-
|
|
1810
|
-
[
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1813
|
+
if 'Accept' not in _header_params:
|
|
1814
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1815
|
+
[
|
|
1816
|
+
'application/json'
|
|
1817
|
+
]
|
|
1818
|
+
)
|
|
1814
1819
|
|
|
1815
1820
|
|
|
1816
1821
|
# authentication setting
|
|
@@ -2077,7 +2082,7 @@ class RunnerApi:
|
|
|
2077
2082
|
_query_params: List[Tuple[str, str]] = []
|
|
2078
2083
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
2079
2084
|
_form_params: List[Tuple[str, str]] = []
|
|
2080
|
-
_files: Dict[str, str] = {}
|
|
2085
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
2081
2086
|
_body_params: Optional[bytes] = None
|
|
2082
2087
|
|
|
2083
2088
|
# process the path parameters
|
|
@@ -2094,11 +2099,12 @@ class RunnerApi:
|
|
|
2094
2099
|
|
|
2095
2100
|
|
|
2096
2101
|
# set the HTTP header `Accept`
|
|
2097
|
-
|
|
2098
|
-
[
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
+
if 'Accept' not in _header_params:
|
|
2103
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
2104
|
+
[
|
|
2105
|
+
'application/json'
|
|
2106
|
+
]
|
|
2107
|
+
)
|
|
2102
2108
|
|
|
2103
2109
|
|
|
2104
2110
|
# authentication setting
|
|
@@ -2365,7 +2371,7 @@ class RunnerApi:
|
|
|
2365
2371
|
_query_params: List[Tuple[str, str]] = []
|
|
2366
2372
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
2367
2373
|
_form_params: List[Tuple[str, str]] = []
|
|
2368
|
-
_files: Dict[str, str] = {}
|
|
2374
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
2369
2375
|
_body_params: Optional[bytes] = None
|
|
2370
2376
|
|
|
2371
2377
|
# process the path parameters
|
|
@@ -2382,11 +2388,12 @@ class RunnerApi:
|
|
|
2382
2388
|
|
|
2383
2389
|
|
|
2384
2390
|
# set the HTTP header `Accept`
|
|
2385
|
-
|
|
2386
|
-
[
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2391
|
+
if 'Accept' not in _header_params:
|
|
2392
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
2393
|
+
[
|
|
2394
|
+
'application/json'
|
|
2395
|
+
]
|
|
2396
|
+
)
|
|
2390
2397
|
|
|
2391
2398
|
|
|
2392
2399
|
# authentication setting
|
|
@@ -2417,7 +2424,7 @@ class RunnerApi:
|
|
|
2417
2424
|
self,
|
|
2418
2425
|
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
2419
2426
|
workspace_id: Annotated[StrictStr, Field(description="the Workspace identifier")],
|
|
2420
|
-
page: Annotated[Optional[StrictInt], Field(description="page number to query
|
|
2427
|
+
page: Annotated[Optional[StrictInt], Field(description="page number to query")] = None,
|
|
2421
2428
|
size: Annotated[Optional[StrictInt], Field(description="amount of result by page")] = None,
|
|
2422
2429
|
_request_timeout: Union[
|
|
2423
2430
|
None,
|
|
@@ -2439,7 +2446,7 @@ class RunnerApi:
|
|
|
2439
2446
|
:type organization_id: str
|
|
2440
2447
|
:param workspace_id: the Workspace identifier (required)
|
|
2441
2448
|
:type workspace_id: str
|
|
2442
|
-
:param page: page number to query
|
|
2449
|
+
:param page: page number to query
|
|
2443
2450
|
:type page: int
|
|
2444
2451
|
:param size: amount of result by page
|
|
2445
2452
|
:type size: int
|
|
@@ -2495,7 +2502,7 @@ class RunnerApi:
|
|
|
2495
2502
|
self,
|
|
2496
2503
|
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
2497
2504
|
workspace_id: Annotated[StrictStr, Field(description="the Workspace identifier")],
|
|
2498
|
-
page: Annotated[Optional[StrictInt], Field(description="page number to query
|
|
2505
|
+
page: Annotated[Optional[StrictInt], Field(description="page number to query")] = None,
|
|
2499
2506
|
size: Annotated[Optional[StrictInt], Field(description="amount of result by page")] = None,
|
|
2500
2507
|
_request_timeout: Union[
|
|
2501
2508
|
None,
|
|
@@ -2517,7 +2524,7 @@ class RunnerApi:
|
|
|
2517
2524
|
:type organization_id: str
|
|
2518
2525
|
:param workspace_id: the Workspace identifier (required)
|
|
2519
2526
|
:type workspace_id: str
|
|
2520
|
-
:param page: page number to query
|
|
2527
|
+
:param page: page number to query
|
|
2521
2528
|
:type page: int
|
|
2522
2529
|
:param size: amount of result by page
|
|
2523
2530
|
:type size: int
|
|
@@ -2573,7 +2580,7 @@ class RunnerApi:
|
|
|
2573
2580
|
self,
|
|
2574
2581
|
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
2575
2582
|
workspace_id: Annotated[StrictStr, Field(description="the Workspace identifier")],
|
|
2576
|
-
page: Annotated[Optional[StrictInt], Field(description="page number to query
|
|
2583
|
+
page: Annotated[Optional[StrictInt], Field(description="page number to query")] = None,
|
|
2577
2584
|
size: Annotated[Optional[StrictInt], Field(description="amount of result by page")] = None,
|
|
2578
2585
|
_request_timeout: Union[
|
|
2579
2586
|
None,
|
|
@@ -2595,7 +2602,7 @@ class RunnerApi:
|
|
|
2595
2602
|
:type organization_id: str
|
|
2596
2603
|
:param workspace_id: the Workspace identifier (required)
|
|
2597
2604
|
:type workspace_id: str
|
|
2598
|
-
:param page: page number to query
|
|
2605
|
+
:param page: page number to query
|
|
2599
2606
|
:type page: int
|
|
2600
2607
|
:param size: amount of result by page
|
|
2601
2608
|
:type size: int
|
|
@@ -2663,7 +2670,7 @@ class RunnerApi:
|
|
|
2663
2670
|
_query_params: List[Tuple[str, str]] = []
|
|
2664
2671
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
2665
2672
|
_form_params: List[Tuple[str, str]] = []
|
|
2666
|
-
_files: Dict[str, str] = {}
|
|
2673
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
2667
2674
|
_body_params: Optional[bytes] = None
|
|
2668
2675
|
|
|
2669
2676
|
# process the path parameters
|
|
@@ -2686,11 +2693,12 @@ class RunnerApi:
|
|
|
2686
2693
|
|
|
2687
2694
|
|
|
2688
2695
|
# set the HTTP header `Accept`
|
|
2689
|
-
|
|
2690
|
-
[
|
|
2691
|
-
|
|
2692
|
-
|
|
2693
|
-
|
|
2696
|
+
if 'Accept' not in _header_params:
|
|
2697
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
2698
|
+
[
|
|
2699
|
+
'application/json'
|
|
2700
|
+
]
|
|
2701
|
+
)
|
|
2694
2702
|
|
|
2695
2703
|
|
|
2696
2704
|
# authentication setting
|
|
@@ -2970,7 +2978,7 @@ class RunnerApi:
|
|
|
2970
2978
|
_query_params: List[Tuple[str, str]] = []
|
|
2971
2979
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
2972
2980
|
_form_params: List[Tuple[str, str]] = []
|
|
2973
|
-
_files: Dict[str, str] = {}
|
|
2981
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
2974
2982
|
_body_params: Optional[bytes] = None
|
|
2975
2983
|
|
|
2976
2984
|
# process the path parameters
|
|
@@ -3267,7 +3275,7 @@ class RunnerApi:
|
|
|
3267
3275
|
_query_params: List[Tuple[str, str]] = []
|
|
3268
3276
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
3269
3277
|
_form_params: List[Tuple[str, str]] = []
|
|
3270
|
-
_files: Dict[str, str] = {}
|
|
3278
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
3271
3279
|
_body_params: Optional[bytes] = None
|
|
3272
3280
|
|
|
3273
3281
|
# process the path parameters
|
|
@@ -3286,11 +3294,12 @@ class RunnerApi:
|
|
|
3286
3294
|
|
|
3287
3295
|
|
|
3288
3296
|
# set the HTTP header `Accept`
|
|
3289
|
-
|
|
3290
|
-
[
|
|
3291
|
-
|
|
3292
|
-
|
|
3293
|
-
|
|
3297
|
+
if 'Accept' not in _header_params:
|
|
3298
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
3299
|
+
[
|
|
3300
|
+
'application/json'
|
|
3301
|
+
]
|
|
3302
|
+
)
|
|
3294
3303
|
|
|
3295
3304
|
# set the HTTP header `Content-Type`
|
|
3296
3305
|
if _content_type:
|
|
@@ -3348,7 +3357,7 @@ class RunnerApi:
|
|
|
3348
3357
|
_content_type: Optional[StrictStr] = None,
|
|
3349
3358
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3350
3359
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3351
|
-
) ->
|
|
3360
|
+
) -> RunnerLastRun:
|
|
3352
3361
|
"""Start a run with runner parameters
|
|
3353
3362
|
|
|
3354
3363
|
|
|
@@ -3391,7 +3400,7 @@ class RunnerApi:
|
|
|
3391
3400
|
)
|
|
3392
3401
|
|
|
3393
3402
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
3394
|
-
'202': "
|
|
3403
|
+
'202': "RunnerLastRun",
|
|
3395
3404
|
'404': None,
|
|
3396
3405
|
}
|
|
3397
3406
|
response_data = self.api_client.call_api(
|
|
@@ -3423,7 +3432,7 @@ class RunnerApi:
|
|
|
3423
3432
|
_content_type: Optional[StrictStr] = None,
|
|
3424
3433
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3425
3434
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3426
|
-
) -> ApiResponse[
|
|
3435
|
+
) -> ApiResponse[RunnerLastRun]:
|
|
3427
3436
|
"""Start a run with runner parameters
|
|
3428
3437
|
|
|
3429
3438
|
|
|
@@ -3466,7 +3475,7 @@ class RunnerApi:
|
|
|
3466
3475
|
)
|
|
3467
3476
|
|
|
3468
3477
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
3469
|
-
'202': "
|
|
3478
|
+
'202': "RunnerLastRun",
|
|
3470
3479
|
'404': None,
|
|
3471
3480
|
}
|
|
3472
3481
|
response_data = self.api_client.call_api(
|
|
@@ -3541,7 +3550,7 @@ class RunnerApi:
|
|
|
3541
3550
|
)
|
|
3542
3551
|
|
|
3543
3552
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
3544
|
-
'202': "
|
|
3553
|
+
'202': "RunnerLastRun",
|
|
3545
3554
|
'404': None,
|
|
3546
3555
|
}
|
|
3547
3556
|
response_data = self.api_client.call_api(
|
|
@@ -3571,7 +3580,7 @@ class RunnerApi:
|
|
|
3571
3580
|
_query_params: List[Tuple[str, str]] = []
|
|
3572
3581
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
3573
3582
|
_form_params: List[Tuple[str, str]] = []
|
|
3574
|
-
_files: Dict[str, str] = {}
|
|
3583
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
3575
3584
|
_body_params: Optional[bytes] = None
|
|
3576
3585
|
|
|
3577
3586
|
# process the path parameters
|
|
@@ -3588,11 +3597,12 @@ class RunnerApi:
|
|
|
3588
3597
|
|
|
3589
3598
|
|
|
3590
3599
|
# set the HTTP header `Accept`
|
|
3591
|
-
|
|
3592
|
-
[
|
|
3593
|
-
|
|
3594
|
-
|
|
3595
|
-
|
|
3600
|
+
if 'Accept' not in _header_params:
|
|
3601
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
3602
|
+
[
|
|
3603
|
+
'application/json'
|
|
3604
|
+
]
|
|
3605
|
+
)
|
|
3596
3606
|
|
|
3597
3607
|
|
|
3598
3608
|
# authentication setting
|
|
@@ -3859,7 +3869,7 @@ class RunnerApi:
|
|
|
3859
3869
|
_query_params: List[Tuple[str, str]] = []
|
|
3860
3870
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
3861
3871
|
_form_params: List[Tuple[str, str]] = []
|
|
3862
|
-
_files: Dict[str, str] = {}
|
|
3872
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
3863
3873
|
_body_params: Optional[bytes] = None
|
|
3864
3874
|
|
|
3865
3875
|
# process the path parameters
|
|
@@ -3906,7 +3916,7 @@ class RunnerApi:
|
|
|
3906
3916
|
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
3907
3917
|
workspace_id: Annotated[StrictStr, Field(description="the Workspace identifier")],
|
|
3908
3918
|
runner_id: Annotated[StrictStr, Field(description="the Runner identifier")],
|
|
3909
|
-
runner: Annotated[Runner, Field(description="
|
|
3919
|
+
runner: Annotated[Runner, Field(description="The new Runner details. This endpoint can't be used to update : - id - ownerId - organizationId - workspaceId - creationDate - security ")],
|
|
3910
3920
|
_request_timeout: Union[
|
|
3911
3921
|
None,
|
|
3912
3922
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -3929,7 +3939,7 @@ class RunnerApi:
|
|
|
3929
3939
|
:type workspace_id: str
|
|
3930
3940
|
:param runner_id: the Runner identifier (required)
|
|
3931
3941
|
:type runner_id: str
|
|
3932
|
-
:param runner:
|
|
3942
|
+
:param runner: The new Runner details. This endpoint can't be used to update : - id - ownerId - organizationId - workspaceId - creationDate - security (required)
|
|
3933
3943
|
:type runner: Runner
|
|
3934
3944
|
:param _request_timeout: timeout setting for this request. If one
|
|
3935
3945
|
number provided, it will be total request
|
|
@@ -3986,7 +3996,7 @@ class RunnerApi:
|
|
|
3986
3996
|
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
3987
3997
|
workspace_id: Annotated[StrictStr, Field(description="the Workspace identifier")],
|
|
3988
3998
|
runner_id: Annotated[StrictStr, Field(description="the Runner identifier")],
|
|
3989
|
-
runner: Annotated[Runner, Field(description="
|
|
3999
|
+
runner: Annotated[Runner, Field(description="The new Runner details. This endpoint can't be used to update : - id - ownerId - organizationId - workspaceId - creationDate - security ")],
|
|
3990
4000
|
_request_timeout: Union[
|
|
3991
4001
|
None,
|
|
3992
4002
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -4009,7 +4019,7 @@ class RunnerApi:
|
|
|
4009
4019
|
:type workspace_id: str
|
|
4010
4020
|
:param runner_id: the Runner identifier (required)
|
|
4011
4021
|
:type runner_id: str
|
|
4012
|
-
:param runner:
|
|
4022
|
+
:param runner: The new Runner details. This endpoint can't be used to update : - id - ownerId - organizationId - workspaceId - creationDate - security (required)
|
|
4013
4023
|
:type runner: Runner
|
|
4014
4024
|
:param _request_timeout: timeout setting for this request. If one
|
|
4015
4025
|
number provided, it will be total request
|
|
@@ -4066,7 +4076,7 @@ class RunnerApi:
|
|
|
4066
4076
|
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
4067
4077
|
workspace_id: Annotated[StrictStr, Field(description="the Workspace identifier")],
|
|
4068
4078
|
runner_id: Annotated[StrictStr, Field(description="the Runner identifier")],
|
|
4069
|
-
runner: Annotated[Runner, Field(description="
|
|
4079
|
+
runner: Annotated[Runner, Field(description="The new Runner details. This endpoint can't be used to update : - id - ownerId - organizationId - workspaceId - creationDate - security ")],
|
|
4070
4080
|
_request_timeout: Union[
|
|
4071
4081
|
None,
|
|
4072
4082
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -4089,7 +4099,7 @@ class RunnerApi:
|
|
|
4089
4099
|
:type workspace_id: str
|
|
4090
4100
|
:param runner_id: the Runner identifier (required)
|
|
4091
4101
|
:type runner_id: str
|
|
4092
|
-
:param runner:
|
|
4102
|
+
:param runner: The new Runner details. This endpoint can't be used to update : - id - ownerId - organizationId - workspaceId - creationDate - security (required)
|
|
4093
4103
|
:type runner: Runner
|
|
4094
4104
|
:param _request_timeout: timeout setting for this request. If one
|
|
4095
4105
|
number provided, it will be total request
|
|
@@ -4157,7 +4167,7 @@ class RunnerApi:
|
|
|
4157
4167
|
_query_params: List[Tuple[str, str]] = []
|
|
4158
4168
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
4159
4169
|
_form_params: List[Tuple[str, str]] = []
|
|
4160
|
-
_files: Dict[str, str] = {}
|
|
4170
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
4161
4171
|
_body_params: Optional[bytes] = None
|
|
4162
4172
|
|
|
4163
4173
|
# process the path parameters
|
|
@@ -4176,11 +4186,12 @@ class RunnerApi:
|
|
|
4176
4186
|
|
|
4177
4187
|
|
|
4178
4188
|
# set the HTTP header `Accept`
|
|
4179
|
-
|
|
4180
|
-
[
|
|
4181
|
-
|
|
4182
|
-
|
|
4183
|
-
|
|
4189
|
+
if 'Accept' not in _header_params:
|
|
4190
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
4191
|
+
[
|
|
4192
|
+
'application/json'
|
|
4193
|
+
]
|
|
4194
|
+
)
|
|
4184
4195
|
|
|
4185
4196
|
# set the HTTP header `Content-Type`
|
|
4186
4197
|
if _content_type:
|
|
@@ -4487,7 +4498,7 @@ class RunnerApi:
|
|
|
4487
4498
|
_query_params: List[Tuple[str, str]] = []
|
|
4488
4499
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
4489
4500
|
_form_params: List[Tuple[str, str]] = []
|
|
4490
|
-
_files: Dict[str, str] = {}
|
|
4501
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
4491
4502
|
_body_params: Optional[bytes] = None
|
|
4492
4503
|
|
|
4493
4504
|
# process the path parameters
|
|
@@ -4508,11 +4519,12 @@ class RunnerApi:
|
|
|
4508
4519
|
|
|
4509
4520
|
|
|
4510
4521
|
# set the HTTP header `Accept`
|
|
4511
|
-
|
|
4512
|
-
[
|
|
4513
|
-
|
|
4514
|
-
|
|
4515
|
-
|
|
4522
|
+
if 'Accept' not in _header_params:
|
|
4523
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
4524
|
+
[
|
|
4525
|
+
'application/json'
|
|
4526
|
+
]
|
|
4527
|
+
)
|
|
4516
4528
|
|
|
4517
4529
|
# set the HTTP header `Content-Type`
|
|
4518
4530
|
if _content_type:
|
|
@@ -4521,7 +4533,8 @@ class RunnerApi:
|
|
|
4521
4533
|
_default_content_type = (
|
|
4522
4534
|
self.api_client.select_header_content_type(
|
|
4523
4535
|
[
|
|
4524
|
-
'application/json'
|
|
4536
|
+
'application/json',
|
|
4537
|
+
'application/yaml'
|
|
4525
4538
|
]
|
|
4526
4539
|
)
|
|
4527
4540
|
)
|