cosmotech-api 3.2.6.dev2__py3-none-any.whl → 4.0.0.dev8__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 +30 -282
- cosmotech_api/api/dataset_api.py +214 -187
- cosmotech_api/api/organization_api.py +94 -943
- cosmotech_api/api/run_api.py +51 -45
- cosmotech_api/api/runner_api.py +101 -88
- cosmotech_api/api/scenario_api.py +1 -1
- cosmotech_api/api/scenariorun_api.py +1 -1
- cosmotech_api/api/scenariorunresult_api.py +1 -1
- cosmotech_api/api/solution_api.py +487 -1124
- cosmotech_api/api/twingraph_api.py +1 -1
- cosmotech_api/api/validator_api.py +1 -1
- cosmotech_api/api/workspace_api.py +129 -416
- cosmotech_api/api_client.py +59 -29
- cosmotech_api/configuration.py +21 -15
- 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 +7 -7
- cosmotech_api/models/connector.py +11 -15
- 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 +88 -0
- 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 +8 -14
- cosmotech_api/models/organization_access_control.py +7 -7
- cosmotech_api/models/organization_role.py +7 -7
- cosmotech_api/models/organization_security.py +10 -10
- cosmotech_api/models/organization_service.py +1 -1
- cosmotech_api/models/organization_services.py +1 -1
- 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 +9 -19
- cosmotech_api/models/run_container_artifact.py +1 -1
- cosmotech_api/models/run_container_logs.py +1 -1
- cosmotech_api/models/run_data.py +7 -7
- cosmotech_api/models/run_data_query.py +7 -7
- cosmotech_api/models/run_logs.py +22 -27
- cosmotech_api/models/run_logs_entry.py +88 -0
- cosmotech_api/models/run_resource_requested.py +7 -7
- 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 +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 +11 -11
- cosmotech_api/models/runner_access_control.py +7 -7
- 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 +7 -7
- cosmotech_api/models/runner_role.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_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 +7 -7
- cosmotech_api/models/solution.py +17 -17
- cosmotech_api/models/solution_access_control.py +7 -7
- cosmotech_api/models/solution_role.py +7 -7
- cosmotech_api/models/solution_security.py +10 -10
- 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 +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 +8 -8
- cosmotech_api/models/workspace_access_control.py +7 -7
- cosmotech_api/models/workspace_file.py +7 -7
- cosmotech_api/models/workspace_role.py +7 -7
- cosmotech_api/models/workspace_secret.py +1 -1
- cosmotech_api/models/workspace_security.py +10 -10
- cosmotech_api/models/workspace_solution.py +7 -7
- cosmotech_api/models/workspace_web_app.py +7 -7
- cosmotech_api/rest.py +3 -1
- {cosmotech_api-3.2.6.dev2.dist-info → cosmotech_api-4.0.0.dev8.dist-info}/METADATA +1 -1
- cosmotech_api-4.0.0.dev8.dist-info/RECORD +262 -0
- {cosmotech_api-3.2.6.dev2.dist-info → cosmotech_api-4.0.0.dev8.dist-info}/WHEEL +1 -1
- cosmotech_api-3.2.6.dev2.dist-info/RECORD +0 -260
- {cosmotech_api-3.2.6.dev2.dist-info → cosmotech_api-4.0.0.dev8.dist-info}/LICENSE +0 -0
- {cosmotech_api-3.2.6.dev2.dist-info → cosmotech_api-4.0.0.dev8.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: 4.0.0-onprem.8
|
|
9
9
|
Contact: platform@cosmotech.com
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -18,8 +18,9 @@ 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
|
|
23
24
|
from cosmotech_api.models.runner import Runner
|
|
24
25
|
from cosmotech_api.models.runner_access_control import RunnerAccessControl
|
|
25
26
|
from cosmotech_api.models.runner_role import RunnerRole
|
|
@@ -297,7 +298,7 @@ class RunnerApi:
|
|
|
297
298
|
_query_params: List[Tuple[str, str]] = []
|
|
298
299
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
299
300
|
_form_params: List[Tuple[str, str]] = []
|
|
300
|
-
_files: Dict[str, str] = {}
|
|
301
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
301
302
|
_body_params: Optional[bytes] = None
|
|
302
303
|
|
|
303
304
|
# process the path parameters
|
|
@@ -316,11 +317,12 @@ class RunnerApi:
|
|
|
316
317
|
|
|
317
318
|
|
|
318
319
|
# set the HTTP header `Accept`
|
|
319
|
-
|
|
320
|
-
[
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
320
|
+
if 'Accept' not in _header_params:
|
|
321
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
322
|
+
[
|
|
323
|
+
'application/json'
|
|
324
|
+
]
|
|
325
|
+
)
|
|
324
326
|
|
|
325
327
|
# set the HTTP header `Content-Type`
|
|
326
328
|
if _content_type:
|
|
@@ -601,7 +603,7 @@ class RunnerApi:
|
|
|
601
603
|
_query_params: List[Tuple[str, str]] = []
|
|
602
604
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
603
605
|
_form_params: List[Tuple[str, str]] = []
|
|
604
|
-
_files: Dict[str, str] = {}
|
|
606
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
605
607
|
_body_params: Optional[bytes] = None
|
|
606
608
|
|
|
607
609
|
# process the path parameters
|
|
@@ -618,11 +620,12 @@ class RunnerApi:
|
|
|
618
620
|
|
|
619
621
|
|
|
620
622
|
# set the HTTP header `Accept`
|
|
621
|
-
|
|
622
|
-
[
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
623
|
+
if 'Accept' not in _header_params:
|
|
624
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
625
|
+
[
|
|
626
|
+
'application/json'
|
|
627
|
+
]
|
|
628
|
+
)
|
|
626
629
|
|
|
627
630
|
# set the HTTP header `Content-Type`
|
|
628
631
|
if _content_type:
|
|
@@ -903,7 +906,7 @@ class RunnerApi:
|
|
|
903
906
|
_query_params: List[Tuple[str, str]] = []
|
|
904
907
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
905
908
|
_form_params: List[Tuple[str, str]] = []
|
|
906
|
-
_files: Dict[str, str] = {}
|
|
909
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
907
910
|
_body_params: Optional[bytes] = None
|
|
908
911
|
|
|
909
912
|
# process the path parameters
|
|
@@ -1185,7 +1188,7 @@ class RunnerApi:
|
|
|
1185
1188
|
_query_params: List[Tuple[str, str]] = []
|
|
1186
1189
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1187
1190
|
_form_params: List[Tuple[str, str]] = []
|
|
1188
|
-
_files: Dict[str, str] = {}
|
|
1191
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
1189
1192
|
_body_params: Optional[bytes] = None
|
|
1190
1193
|
|
|
1191
1194
|
# process the path parameters
|
|
@@ -1202,11 +1205,12 @@ class RunnerApi:
|
|
|
1202
1205
|
|
|
1203
1206
|
|
|
1204
1207
|
# set the HTTP header `Accept`
|
|
1205
|
-
|
|
1206
|
-
[
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1208
|
+
if 'Accept' not in _header_params:
|
|
1209
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1210
|
+
[
|
|
1211
|
+
'application/json'
|
|
1212
|
+
]
|
|
1213
|
+
)
|
|
1210
1214
|
|
|
1211
1215
|
|
|
1212
1216
|
# authentication setting
|
|
@@ -1486,7 +1490,7 @@ class RunnerApi:
|
|
|
1486
1490
|
_query_params: List[Tuple[str, str]] = []
|
|
1487
1491
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1488
1492
|
_form_params: List[Tuple[str, str]] = []
|
|
1489
|
-
_files: Dict[str, str] = {}
|
|
1493
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
1490
1494
|
_body_params: Optional[bytes] = None
|
|
1491
1495
|
|
|
1492
1496
|
# process the path parameters
|
|
@@ -1505,11 +1509,12 @@ class RunnerApi:
|
|
|
1505
1509
|
|
|
1506
1510
|
|
|
1507
1511
|
# set the HTTP header `Accept`
|
|
1508
|
-
|
|
1509
|
-
[
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1512
|
+
if 'Accept' not in _header_params:
|
|
1513
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1514
|
+
[
|
|
1515
|
+
'application/json'
|
|
1516
|
+
]
|
|
1517
|
+
)
|
|
1513
1518
|
|
|
1514
1519
|
|
|
1515
1520
|
# authentication setting
|
|
@@ -1786,7 +1791,7 @@ class RunnerApi:
|
|
|
1786
1791
|
_query_params: List[Tuple[str, str]] = []
|
|
1787
1792
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1788
1793
|
_form_params: List[Tuple[str, str]] = []
|
|
1789
|
-
_files: Dict[str, str] = {}
|
|
1794
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
1790
1795
|
_body_params: Optional[bytes] = None
|
|
1791
1796
|
|
|
1792
1797
|
# process the path parameters
|
|
@@ -1805,11 +1810,12 @@ class RunnerApi:
|
|
|
1805
1810
|
|
|
1806
1811
|
|
|
1807
1812
|
# set the HTTP header `Accept`
|
|
1808
|
-
|
|
1809
|
-
[
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
+
if 'Accept' not in _header_params:
|
|
1814
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1815
|
+
[
|
|
1816
|
+
'application/json'
|
|
1817
|
+
]
|
|
1818
|
+
)
|
|
1813
1819
|
|
|
1814
1820
|
|
|
1815
1821
|
# authentication setting
|
|
@@ -2076,7 +2082,7 @@ class RunnerApi:
|
|
|
2076
2082
|
_query_params: List[Tuple[str, str]] = []
|
|
2077
2083
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
2078
2084
|
_form_params: List[Tuple[str, str]] = []
|
|
2079
|
-
_files: Dict[str, str] = {}
|
|
2085
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
2080
2086
|
_body_params: Optional[bytes] = None
|
|
2081
2087
|
|
|
2082
2088
|
# process the path parameters
|
|
@@ -2093,11 +2099,12 @@ class RunnerApi:
|
|
|
2093
2099
|
|
|
2094
2100
|
|
|
2095
2101
|
# set the HTTP header `Accept`
|
|
2096
|
-
|
|
2097
|
-
[
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2102
|
+
if 'Accept' not in _header_params:
|
|
2103
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
2104
|
+
[
|
|
2105
|
+
'application/json'
|
|
2106
|
+
]
|
|
2107
|
+
)
|
|
2101
2108
|
|
|
2102
2109
|
|
|
2103
2110
|
# authentication setting
|
|
@@ -2364,7 +2371,7 @@ class RunnerApi:
|
|
|
2364
2371
|
_query_params: List[Tuple[str, str]] = []
|
|
2365
2372
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
2366
2373
|
_form_params: List[Tuple[str, str]] = []
|
|
2367
|
-
_files: Dict[str, str] = {}
|
|
2374
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
2368
2375
|
_body_params: Optional[bytes] = None
|
|
2369
2376
|
|
|
2370
2377
|
# process the path parameters
|
|
@@ -2381,11 +2388,12 @@ class RunnerApi:
|
|
|
2381
2388
|
|
|
2382
2389
|
|
|
2383
2390
|
# set the HTTP header `Accept`
|
|
2384
|
-
|
|
2385
|
-
[
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2391
|
+
if 'Accept' not in _header_params:
|
|
2392
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
2393
|
+
[
|
|
2394
|
+
'application/json'
|
|
2395
|
+
]
|
|
2396
|
+
)
|
|
2389
2397
|
|
|
2390
2398
|
|
|
2391
2399
|
# authentication setting
|
|
@@ -2416,7 +2424,7 @@ class RunnerApi:
|
|
|
2416
2424
|
self,
|
|
2417
2425
|
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
2418
2426
|
workspace_id: Annotated[StrictStr, Field(description="the Workspace identifier")],
|
|
2419
|
-
page: Annotated[Optional[StrictInt], Field(description="page number to query")] = None,
|
|
2427
|
+
page: Annotated[Optional[StrictInt], Field(description="page number to query (first page is at index 0)")] = None,
|
|
2420
2428
|
size: Annotated[Optional[StrictInt], Field(description="amount of result by page")] = None,
|
|
2421
2429
|
_request_timeout: Union[
|
|
2422
2430
|
None,
|
|
@@ -2438,7 +2446,7 @@ class RunnerApi:
|
|
|
2438
2446
|
:type organization_id: str
|
|
2439
2447
|
:param workspace_id: the Workspace identifier (required)
|
|
2440
2448
|
:type workspace_id: str
|
|
2441
|
-
:param page: page number to query
|
|
2449
|
+
:param page: page number to query (first page is at index 0)
|
|
2442
2450
|
:type page: int
|
|
2443
2451
|
:param size: amount of result by page
|
|
2444
2452
|
:type size: int
|
|
@@ -2494,7 +2502,7 @@ class RunnerApi:
|
|
|
2494
2502
|
self,
|
|
2495
2503
|
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
2496
2504
|
workspace_id: Annotated[StrictStr, Field(description="the Workspace identifier")],
|
|
2497
|
-
page: Annotated[Optional[StrictInt], Field(description="page number to query")] = None,
|
|
2505
|
+
page: Annotated[Optional[StrictInt], Field(description="page number to query (first page is at index 0)")] = None,
|
|
2498
2506
|
size: Annotated[Optional[StrictInt], Field(description="amount of result by page")] = None,
|
|
2499
2507
|
_request_timeout: Union[
|
|
2500
2508
|
None,
|
|
@@ -2516,7 +2524,7 @@ class RunnerApi:
|
|
|
2516
2524
|
:type organization_id: str
|
|
2517
2525
|
:param workspace_id: the Workspace identifier (required)
|
|
2518
2526
|
:type workspace_id: str
|
|
2519
|
-
:param page: page number to query
|
|
2527
|
+
:param page: page number to query (first page is at index 0)
|
|
2520
2528
|
:type page: int
|
|
2521
2529
|
:param size: amount of result by page
|
|
2522
2530
|
:type size: int
|
|
@@ -2572,7 +2580,7 @@ class RunnerApi:
|
|
|
2572
2580
|
self,
|
|
2573
2581
|
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
2574
2582
|
workspace_id: Annotated[StrictStr, Field(description="the Workspace identifier")],
|
|
2575
|
-
page: Annotated[Optional[StrictInt], Field(description="page number to query")] = None,
|
|
2583
|
+
page: Annotated[Optional[StrictInt], Field(description="page number to query (first page is at index 0)")] = None,
|
|
2576
2584
|
size: Annotated[Optional[StrictInt], Field(description="amount of result by page")] = None,
|
|
2577
2585
|
_request_timeout: Union[
|
|
2578
2586
|
None,
|
|
@@ -2594,7 +2602,7 @@ class RunnerApi:
|
|
|
2594
2602
|
:type organization_id: str
|
|
2595
2603
|
:param workspace_id: the Workspace identifier (required)
|
|
2596
2604
|
:type workspace_id: str
|
|
2597
|
-
:param page: page number to query
|
|
2605
|
+
:param page: page number to query (first page is at index 0)
|
|
2598
2606
|
:type page: int
|
|
2599
2607
|
:param size: amount of result by page
|
|
2600
2608
|
:type size: int
|
|
@@ -2662,7 +2670,7 @@ class RunnerApi:
|
|
|
2662
2670
|
_query_params: List[Tuple[str, str]] = []
|
|
2663
2671
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
2664
2672
|
_form_params: List[Tuple[str, str]] = []
|
|
2665
|
-
_files: Dict[str, str] = {}
|
|
2673
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
2666
2674
|
_body_params: Optional[bytes] = None
|
|
2667
2675
|
|
|
2668
2676
|
# process the path parameters
|
|
@@ -2685,11 +2693,12 @@ class RunnerApi:
|
|
|
2685
2693
|
|
|
2686
2694
|
|
|
2687
2695
|
# set the HTTP header `Accept`
|
|
2688
|
-
|
|
2689
|
-
[
|
|
2690
|
-
|
|
2691
|
-
|
|
2692
|
-
|
|
2696
|
+
if 'Accept' not in _header_params:
|
|
2697
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
2698
|
+
[
|
|
2699
|
+
'application/json'
|
|
2700
|
+
]
|
|
2701
|
+
)
|
|
2693
2702
|
|
|
2694
2703
|
|
|
2695
2704
|
# authentication setting
|
|
@@ -2969,7 +2978,7 @@ class RunnerApi:
|
|
|
2969
2978
|
_query_params: List[Tuple[str, str]] = []
|
|
2970
2979
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
2971
2980
|
_form_params: List[Tuple[str, str]] = []
|
|
2972
|
-
_files: Dict[str, str] = {}
|
|
2981
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
2973
2982
|
_body_params: Optional[bytes] = None
|
|
2974
2983
|
|
|
2975
2984
|
# process the path parameters
|
|
@@ -3266,7 +3275,7 @@ class RunnerApi:
|
|
|
3266
3275
|
_query_params: List[Tuple[str, str]] = []
|
|
3267
3276
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
3268
3277
|
_form_params: List[Tuple[str, str]] = []
|
|
3269
|
-
_files: Dict[str, str] = {}
|
|
3278
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
3270
3279
|
_body_params: Optional[bytes] = None
|
|
3271
3280
|
|
|
3272
3281
|
# process the path parameters
|
|
@@ -3285,11 +3294,12 @@ class RunnerApi:
|
|
|
3285
3294
|
|
|
3286
3295
|
|
|
3287
3296
|
# set the HTTP header `Accept`
|
|
3288
|
-
|
|
3289
|
-
[
|
|
3290
|
-
|
|
3291
|
-
|
|
3292
|
-
|
|
3297
|
+
if 'Accept' not in _header_params:
|
|
3298
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
3299
|
+
[
|
|
3300
|
+
'application/json'
|
|
3301
|
+
]
|
|
3302
|
+
)
|
|
3293
3303
|
|
|
3294
3304
|
# set the HTTP header `Content-Type`
|
|
3295
3305
|
if _content_type:
|
|
@@ -3347,7 +3357,7 @@ class RunnerApi:
|
|
|
3347
3357
|
_content_type: Optional[StrictStr] = None,
|
|
3348
3358
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3349
3359
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3350
|
-
) ->
|
|
3360
|
+
) -> CreatedRun:
|
|
3351
3361
|
"""Start a run with runner parameters
|
|
3352
3362
|
|
|
3353
3363
|
|
|
@@ -3390,7 +3400,7 @@ class RunnerApi:
|
|
|
3390
3400
|
)
|
|
3391
3401
|
|
|
3392
3402
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
3393
|
-
'202': "
|
|
3403
|
+
'202': "CreatedRun",
|
|
3394
3404
|
'404': None,
|
|
3395
3405
|
}
|
|
3396
3406
|
response_data = self.api_client.call_api(
|
|
@@ -3422,7 +3432,7 @@ class RunnerApi:
|
|
|
3422
3432
|
_content_type: Optional[StrictStr] = None,
|
|
3423
3433
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3424
3434
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3425
|
-
) -> ApiResponse[
|
|
3435
|
+
) -> ApiResponse[CreatedRun]:
|
|
3426
3436
|
"""Start a run with runner parameters
|
|
3427
3437
|
|
|
3428
3438
|
|
|
@@ -3465,7 +3475,7 @@ class RunnerApi:
|
|
|
3465
3475
|
)
|
|
3466
3476
|
|
|
3467
3477
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
3468
|
-
'202': "
|
|
3478
|
+
'202': "CreatedRun",
|
|
3469
3479
|
'404': None,
|
|
3470
3480
|
}
|
|
3471
3481
|
response_data = self.api_client.call_api(
|
|
@@ -3540,7 +3550,7 @@ class RunnerApi:
|
|
|
3540
3550
|
)
|
|
3541
3551
|
|
|
3542
3552
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
3543
|
-
'202': "
|
|
3553
|
+
'202': "CreatedRun",
|
|
3544
3554
|
'404': None,
|
|
3545
3555
|
}
|
|
3546
3556
|
response_data = self.api_client.call_api(
|
|
@@ -3570,7 +3580,7 @@ class RunnerApi:
|
|
|
3570
3580
|
_query_params: List[Tuple[str, str]] = []
|
|
3571
3581
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
3572
3582
|
_form_params: List[Tuple[str, str]] = []
|
|
3573
|
-
_files: Dict[str, str] = {}
|
|
3583
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
3574
3584
|
_body_params: Optional[bytes] = None
|
|
3575
3585
|
|
|
3576
3586
|
# process the path parameters
|
|
@@ -3587,11 +3597,12 @@ class RunnerApi:
|
|
|
3587
3597
|
|
|
3588
3598
|
|
|
3589
3599
|
# set the HTTP header `Accept`
|
|
3590
|
-
|
|
3591
|
-
[
|
|
3592
|
-
|
|
3593
|
-
|
|
3594
|
-
|
|
3600
|
+
if 'Accept' not in _header_params:
|
|
3601
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
3602
|
+
[
|
|
3603
|
+
'application/json'
|
|
3604
|
+
]
|
|
3605
|
+
)
|
|
3595
3606
|
|
|
3596
3607
|
|
|
3597
3608
|
# authentication setting
|
|
@@ -3858,7 +3869,7 @@ class RunnerApi:
|
|
|
3858
3869
|
_query_params: List[Tuple[str, str]] = []
|
|
3859
3870
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
3860
3871
|
_form_params: List[Tuple[str, str]] = []
|
|
3861
|
-
_files: Dict[str, str] = {}
|
|
3872
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
3862
3873
|
_body_params: Optional[bytes] = None
|
|
3863
3874
|
|
|
3864
3875
|
# process the path parameters
|
|
@@ -4156,7 +4167,7 @@ class RunnerApi:
|
|
|
4156
4167
|
_query_params: List[Tuple[str, str]] = []
|
|
4157
4168
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
4158
4169
|
_form_params: List[Tuple[str, str]] = []
|
|
4159
|
-
_files: Dict[str, str] = {}
|
|
4170
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
4160
4171
|
_body_params: Optional[bytes] = None
|
|
4161
4172
|
|
|
4162
4173
|
# process the path parameters
|
|
@@ -4175,11 +4186,12 @@ class RunnerApi:
|
|
|
4175
4186
|
|
|
4176
4187
|
|
|
4177
4188
|
# set the HTTP header `Accept`
|
|
4178
|
-
|
|
4179
|
-
[
|
|
4180
|
-
|
|
4181
|
-
|
|
4182
|
-
|
|
4189
|
+
if 'Accept' not in _header_params:
|
|
4190
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
4191
|
+
[
|
|
4192
|
+
'application/json'
|
|
4193
|
+
]
|
|
4194
|
+
)
|
|
4183
4195
|
|
|
4184
4196
|
# set the HTTP header `Content-Type`
|
|
4185
4197
|
if _content_type:
|
|
@@ -4486,7 +4498,7 @@ class RunnerApi:
|
|
|
4486
4498
|
_query_params: List[Tuple[str, str]] = []
|
|
4487
4499
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
4488
4500
|
_form_params: List[Tuple[str, str]] = []
|
|
4489
|
-
_files: Dict[str, str] = {}
|
|
4501
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
4490
4502
|
_body_params: Optional[bytes] = None
|
|
4491
4503
|
|
|
4492
4504
|
# process the path parameters
|
|
@@ -4507,11 +4519,12 @@ class RunnerApi:
|
|
|
4507
4519
|
|
|
4508
4520
|
|
|
4509
4521
|
# set the HTTP header `Accept`
|
|
4510
|
-
|
|
4511
|
-
[
|
|
4512
|
-
|
|
4513
|
-
|
|
4514
|
-
|
|
4522
|
+
if 'Accept' not in _header_params:
|
|
4523
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
4524
|
+
[
|
|
4525
|
+
'application/json'
|
|
4526
|
+
]
|
|
4527
|
+
)
|
|
4515
4528
|
|
|
4516
4529
|
# set the HTTP header `Content-Type`
|
|
4517
4530
|
if _content_type:
|