cosmotech-api 4.0.0.dev8__py3-none-any.whl → 5.0.0b3__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 +32 -27
- cosmotech_api/api/__init__.py +1 -1
- cosmotech_api/api/connector_api.py +19 -8
- cosmotech_api/api/dataset_api.py +1496 -4126
- cosmotech_api/api/meta_api.py +281 -0
- cosmotech_api/api/organization_api.py +605 -562
- cosmotech_api/api/run_api.py +42 -22
- cosmotech_api/api/runner_api.py +512 -467
- cosmotech_api/api/scenario_api.py +141 -121
- cosmotech_api/api/scenariorun_api.py +76 -66
- cosmotech_api/api/scenariorunresult_api.py +1 -1
- cosmotech_api/api/solution_api.py +2980 -795
- cosmotech_api/api/twingraph_api.py +83 -72
- cosmotech_api/api/validator_api.py +1 -1
- cosmotech_api/api/workspace_api.py +795 -1331
- cosmotech_api/api_client.py +14 -5
- cosmotech_api/configuration.py +167 -40
- cosmotech_api/exceptions.py +18 -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 +31 -26
- cosmotech_api/models/about_info.py +92 -0
- cosmotech_api/models/about_info_version.py +100 -0
- cosmotech_api/models/component_role_permissions.py +5 -5
- cosmotech_api/models/connector.py +1 -1
- cosmotech_api/models/connector_parameter.py +1 -1
- cosmotech_api/models/connector_parameter_group.py +1 -1
- cosmotech_api/models/container_resource_size_info.py +1 -1
- cosmotech_api/models/container_resource_sizing.py +1 -1
- cosmotech_api/models/create_info.py +103 -0
- cosmotech_api/models/created_run.py +2 -2
- cosmotech_api/models/dataset.py +42 -81
- cosmotech_api/models/dataset_access_control.py +1 -1
- cosmotech_api/models/dataset_compatibility.py +1 -1
- cosmotech_api/models/dataset_connector.py +1 -1
- cosmotech_api/models/dataset_copy_parameters.py +1 -1
- cosmotech_api/models/dataset_create_request.py +121 -0
- cosmotech_api/models/dataset_part.py +130 -0
- cosmotech_api/models/dataset_part_create_request.py +98 -0
- cosmotech_api/models/dataset_part_type_enum.py +38 -0
- cosmotech_api/models/dataset_part_update_request.py +90 -0
- cosmotech_api/models/dataset_role.py +1 -1
- cosmotech_api/models/dataset_search.py +1 -1
- cosmotech_api/models/dataset_security.py +1 -1
- cosmotech_api/models/dataset_source_type.py +1 -1
- cosmotech_api/models/dataset_twin_graph_hash.py +1 -1
- cosmotech_api/models/dataset_twin_graph_info.py +1 -1
- cosmotech_api/models/dataset_twin_graph_query.py +1 -1
- cosmotech_api/models/dataset_update_request.py +109 -0
- cosmotech_api/models/delete_historical_data.py +1 -1
- cosmotech_api/models/edit_info.py +90 -0
- cosmotech_api/models/file_upload_metadata.py +1 -1
- cosmotech_api/models/file_upload_validation.py +1 -1
- cosmotech_api/models/graph_properties.py +1 -1
- cosmotech_api/models/ingestion_status_enum.py +1 -1
- cosmotech_api/models/io_types_enum.py +1 -1
- cosmotech_api/models/last_run_info.py +100 -0
- cosmotech_api/models/organization.py +18 -11
- cosmotech_api/models/organization_access_control.py +4 -4
- cosmotech_api/models/organization_create_request.py +95 -0
- cosmotech_api/models/organization_edit_info.py +90 -0
- cosmotech_api/models/organization_role.py +3 -3
- cosmotech_api/models/organization_security.py +4 -4
- 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 +1 -1
- cosmotech_api/models/resource_size_info.py +1 -1
- cosmotech_api/models/run.py +8 -10
- cosmotech_api/models/run_container.py +1 -1
- cosmotech_api/models/run_container_artifact.py +7 -7
- cosmotech_api/models/run_container_logs.py +7 -7
- cosmotech_api/models/run_data.py +2 -2
- cosmotech_api/models/run_data_query.py +1 -1
- cosmotech_api/models/run_edit_info.py +90 -0
- cosmotech_api/models/run_logs.py +1 -1
- cosmotech_api/models/run_logs_entry.py +1 -1
- cosmotech_api/models/run_resource_requested.py +1 -1
- 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 +2 -1
- cosmotech_api/models/run_status.py +8 -2
- cosmotech_api/models/run_status_node.py +1 -1
- cosmotech_api/models/run_template.py +14 -69
- cosmotech_api/models/run_template_create_request.py +109 -0
- 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 +14 -11
- cosmotech_api/models/run_template_parameter_create_request.py +105 -0
- cosmotech_api/models/run_template_parameter_group.py +12 -9
- cosmotech_api/models/run_template_parameter_group_create_request.py +101 -0
- cosmotech_api/models/run_template_parameter_group_update_request.py +98 -0
- cosmotech_api/models/run_template_parameter_update_request.py +103 -0
- cosmotech_api/models/run_template_parameter_value.py +1 -1
- cosmotech_api/models/run_template_resource_sizing.py +2 -2
- cosmotech_api/models/run_template_step_source.py +1 -1
- cosmotech_api/models/run_template_update_request.py +107 -0
- cosmotech_api/models/runner.py +31 -28
- cosmotech_api/models/runner_access_control.py +1 -1
- 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_edit_info.py +90 -0
- 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 +1 -1
- cosmotech_api/models/runner_role.py +1 -1
- cosmotech_api/models/runner_root_last_run.py +7 -7
- cosmotech_api/models/runner_run_template_parameter_value.py +1 -1
- cosmotech_api/models/runner_security.py +1 -1
- cosmotech_api/models/runner_update_request.py +123 -0
- cosmotech_api/models/runner_validation_status.py +1 -1
- cosmotech_api/models/scenario.py +10 -10
- 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 +5 -5
- cosmotech_api/models/solution.py +45 -29
- cosmotech_api/models/solution_access_control.py +4 -4
- cosmotech_api/models/solution_create_request.py +139 -0
- cosmotech_api/models/solution_edit_info.py +90 -0
- cosmotech_api/models/solution_role.py +3 -3
- cosmotech_api/models/solution_security.py +4 -4
- cosmotech_api/models/solution_update_request.py +133 -0
- cosmotech_api/models/source_info.py +1 -1
- cosmotech_api/models/sub_dataset_graph_query.py +1 -1
- cosmotech_api/models/twin_graph_batch_result.py +1 -1
- cosmotech_api/models/twin_graph_hash.py +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 +38 -30
- cosmotech_api/models/workspace_access_control.py +4 -4
- cosmotech_api/models/workspace_create_request.py +117 -0
- cosmotech_api/models/workspace_edit_info.py +90 -0
- cosmotech_api/models/workspace_file.py +4 -4
- cosmotech_api/models/workspace_role.py +3 -3
- cosmotech_api/models/workspace_secret.py +7 -7
- cosmotech_api/models/workspace_security.py +4 -4
- cosmotech_api/models/workspace_solution.py +14 -6
- cosmotech_api/models/workspace_update_request.py +109 -0
- cosmotech_api/models/workspace_web_app.py +4 -4
- cosmotech_api/rest.py +3 -2
- cosmotech_api-5.0.0b3.dist-info/METADATA +27 -0
- cosmotech_api-5.0.0b3.dist-info/RECORD +293 -0
- {cosmotech_api-4.0.0.dev8.dist-info → cosmotech_api-5.0.0b3.dist-info}/WHEEL +1 -1
- {cosmotech_api-4.0.0.dev8.dist-info → cosmotech_api-5.0.0b3.dist-info/licenses}/LICENSE +1 -1
- cosmotech_api-4.0.0.dev8.dist-info/METADATA +0 -18
- cosmotech_api-4.0.0.dev8.dist-info/RECORD +0 -262
- {cosmotech_api-4.0.0.dev8.dist-info → cosmotech_api-5.0.0b3.dist-info}/top_level.txt +0 -0
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Cosmo Tech Platform API
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 3.
|
|
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,7 +18,7 @@ from typing import Any, Dict, List, Optional, Tuple, Union
|
|
|
18
18
|
from typing_extensions import Annotated
|
|
19
19
|
|
|
20
20
|
from pydantic import Field, StrictBytes, StrictStr, field_validator
|
|
21
|
-
from typing import Dict, List, Optional, Union
|
|
21
|
+
from typing import Any, Dict, List, Optional, Union
|
|
22
22
|
from typing_extensions import Annotated
|
|
23
23
|
from cosmotech_api.models.graph_properties import GraphProperties
|
|
24
24
|
from cosmotech_api.models.twin_graph_batch_result import TwinGraphBatchResult
|
|
@@ -287,7 +287,7 @@ class TwingraphApi:
|
|
|
287
287
|
_query_params: List[Tuple[str, str]] = []
|
|
288
288
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
289
289
|
_form_params: List[Tuple[str, str]] = []
|
|
290
|
-
_files: Dict[str, str] = {}
|
|
290
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
291
291
|
_body_params: Optional[bytes] = None
|
|
292
292
|
|
|
293
293
|
# process the path parameters
|
|
@@ -304,11 +304,12 @@ class TwingraphApi:
|
|
|
304
304
|
|
|
305
305
|
|
|
306
306
|
# set the HTTP header `Accept`
|
|
307
|
-
|
|
308
|
-
[
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
307
|
+
if 'Accept' not in _header_params:
|
|
308
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
309
|
+
[
|
|
310
|
+
'application/json'
|
|
311
|
+
]
|
|
312
|
+
)
|
|
312
313
|
|
|
313
314
|
# set the HTTP header `Content-Type`
|
|
314
315
|
if _content_type:
|
|
@@ -607,7 +608,7 @@ class TwingraphApi:
|
|
|
607
608
|
_query_params: List[Tuple[str, str]] = []
|
|
608
609
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
609
610
|
_form_params: List[Tuple[str, str]] = []
|
|
610
|
-
_files: Dict[str, str] = {}
|
|
611
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
611
612
|
_body_params: Optional[bytes] = None
|
|
612
613
|
|
|
613
614
|
# process the path parameters
|
|
@@ -633,11 +634,12 @@ class TwingraphApi:
|
|
|
633
634
|
|
|
634
635
|
|
|
635
636
|
# set the HTTP header `Accept`
|
|
636
|
-
|
|
637
|
-
[
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
637
|
+
if 'Accept' not in _header_params:
|
|
638
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
639
|
+
[
|
|
640
|
+
'application/json'
|
|
641
|
+
]
|
|
642
|
+
)
|
|
641
643
|
|
|
642
644
|
# set the HTTP header `Content-Type`
|
|
643
645
|
if _content_type:
|
|
@@ -935,7 +937,7 @@ class TwingraphApi:
|
|
|
935
937
|
_query_params: List[Tuple[str, str]] = []
|
|
936
938
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
937
939
|
_form_params: List[Tuple[str, str]] = []
|
|
938
|
-
_files: Dict[str, str] = {}
|
|
940
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
939
941
|
_body_params: Optional[bytes] = None
|
|
940
942
|
|
|
941
943
|
# process the path parameters
|
|
@@ -954,11 +956,12 @@ class TwingraphApi:
|
|
|
954
956
|
|
|
955
957
|
|
|
956
958
|
# set the HTTP header `Accept`
|
|
957
|
-
|
|
958
|
-
[
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
959
|
+
if 'Accept' not in _header_params:
|
|
960
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
961
|
+
[
|
|
962
|
+
'application/json'
|
|
963
|
+
]
|
|
964
|
+
)
|
|
962
965
|
|
|
963
966
|
# set the HTTP header `Content-Type`
|
|
964
967
|
if _content_type:
|
|
@@ -1241,7 +1244,7 @@ class TwingraphApi:
|
|
|
1241
1244
|
_query_params: List[Tuple[str, str]] = []
|
|
1242
1245
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1243
1246
|
_form_params: List[Tuple[str, str]] = []
|
|
1244
|
-
_files: Dict[str, str] = {}
|
|
1247
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
1245
1248
|
_body_params: Optional[bytes] = None
|
|
1246
1249
|
|
|
1247
1250
|
# process the path parameters
|
|
@@ -1531,7 +1534,7 @@ class TwingraphApi:
|
|
|
1531
1534
|
_query_params: List[Tuple[str, str]] = []
|
|
1532
1535
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1533
1536
|
_form_params: List[Tuple[str, str]] = []
|
|
1534
|
-
_files: Dict[str, str] = {}
|
|
1537
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
1535
1538
|
_body_params: Optional[bytes] = None
|
|
1536
1539
|
|
|
1537
1540
|
# process the path parameters
|
|
@@ -1828,7 +1831,7 @@ class TwingraphApi:
|
|
|
1828
1831
|
_query_params: List[Tuple[str, str]] = []
|
|
1829
1832
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1830
1833
|
_form_params: List[Tuple[str, str]] = []
|
|
1831
|
-
_files: Dict[str, str] = {}
|
|
1834
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
1832
1835
|
_body_params: Optional[bytes] = None
|
|
1833
1836
|
|
|
1834
1837
|
# process the path parameters
|
|
@@ -2104,7 +2107,7 @@ class TwingraphApi:
|
|
|
2104
2107
|
_query_params: List[Tuple[str, str]] = []
|
|
2105
2108
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
2106
2109
|
_form_params: List[Tuple[str, str]] = []
|
|
2107
|
-
_files: Dict[str, str] = {}
|
|
2110
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
2108
2111
|
_body_params: Optional[bytes] = None
|
|
2109
2112
|
|
|
2110
2113
|
# process the path parameters
|
|
@@ -2119,11 +2122,12 @@ class TwingraphApi:
|
|
|
2119
2122
|
|
|
2120
2123
|
|
|
2121
2124
|
# set the HTTP header `Accept`
|
|
2122
|
-
|
|
2123
|
-
[
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2125
|
+
if 'Accept' not in _header_params:
|
|
2126
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
2127
|
+
[
|
|
2128
|
+
'application/octet-stream'
|
|
2129
|
+
]
|
|
2130
|
+
)
|
|
2127
2131
|
|
|
2128
2132
|
|
|
2129
2133
|
# authentication setting
|
|
@@ -2367,7 +2371,7 @@ class TwingraphApi:
|
|
|
2367
2371
|
_query_params: List[Tuple[str, str]] = []
|
|
2368
2372
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
2369
2373
|
_form_params: List[Tuple[str, str]] = []
|
|
2370
|
-
_files: Dict[str, str] = {}
|
|
2374
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
2371
2375
|
_body_params: Optional[bytes] = None
|
|
2372
2376
|
|
|
2373
2377
|
# process the path parameters
|
|
@@ -2380,11 +2384,12 @@ class TwingraphApi:
|
|
|
2380
2384
|
|
|
2381
2385
|
|
|
2382
2386
|
# set the HTTP header `Accept`
|
|
2383
|
-
|
|
2384
|
-
[
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
|
|
2387
|
+
if 'Accept' not in _header_params:
|
|
2388
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
2389
|
+
[
|
|
2390
|
+
'application/json'
|
|
2391
|
+
]
|
|
2392
|
+
)
|
|
2388
2393
|
|
|
2389
2394
|
|
|
2390
2395
|
# authentication setting
|
|
@@ -2668,7 +2673,7 @@ class TwingraphApi:
|
|
|
2668
2673
|
_query_params: List[Tuple[str, str]] = []
|
|
2669
2674
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
2670
2675
|
_form_params: List[Tuple[str, str]] = []
|
|
2671
|
-
_files: Dict[str, str] = {}
|
|
2676
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
2672
2677
|
_body_params: Optional[bytes] = None
|
|
2673
2678
|
|
|
2674
2679
|
# process the path parameters
|
|
@@ -2689,11 +2694,12 @@ class TwingraphApi:
|
|
|
2689
2694
|
|
|
2690
2695
|
|
|
2691
2696
|
# set the HTTP header `Accept`
|
|
2692
|
-
|
|
2693
|
-
[
|
|
2694
|
-
|
|
2695
|
-
|
|
2696
|
-
|
|
2697
|
+
if 'Accept' not in _header_params:
|
|
2698
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
2699
|
+
[
|
|
2700
|
+
'application/json'
|
|
2701
|
+
]
|
|
2702
|
+
)
|
|
2697
2703
|
|
|
2698
2704
|
|
|
2699
2705
|
# authentication setting
|
|
@@ -2950,7 +2956,7 @@ class TwingraphApi:
|
|
|
2950
2956
|
_query_params: List[Tuple[str, str]] = []
|
|
2951
2957
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
2952
2958
|
_form_params: List[Tuple[str, str]] = []
|
|
2953
|
-
_files: Dict[str, str] = {}
|
|
2959
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
2954
2960
|
_body_params: Optional[bytes] = None
|
|
2955
2961
|
|
|
2956
2962
|
# process the path parameters
|
|
@@ -2965,11 +2971,12 @@ class TwingraphApi:
|
|
|
2965
2971
|
|
|
2966
2972
|
|
|
2967
2973
|
# set the HTTP header `Accept`
|
|
2968
|
-
|
|
2969
|
-
[
|
|
2970
|
-
|
|
2971
|
-
|
|
2972
|
-
|
|
2974
|
+
if 'Accept' not in _header_params:
|
|
2975
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
2976
|
+
[
|
|
2977
|
+
'application/json'
|
|
2978
|
+
]
|
|
2979
|
+
)
|
|
2973
2980
|
|
|
2974
2981
|
|
|
2975
2982
|
# authentication setting
|
|
@@ -3226,7 +3233,7 @@ class TwingraphApi:
|
|
|
3226
3233
|
_query_params: List[Tuple[str, str]] = []
|
|
3227
3234
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
3228
3235
|
_form_params: List[Tuple[str, str]] = []
|
|
3229
|
-
_files: Dict[str, str] = {}
|
|
3236
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
3230
3237
|
_body_params: Optional[bytes] = None
|
|
3231
3238
|
|
|
3232
3239
|
# process the path parameters
|
|
@@ -3241,12 +3248,13 @@ class TwingraphApi:
|
|
|
3241
3248
|
|
|
3242
3249
|
|
|
3243
3250
|
# set the HTTP header `Accept`
|
|
3244
|
-
|
|
3245
|
-
[
|
|
3246
|
-
|
|
3247
|
-
|
|
3248
|
-
|
|
3249
|
-
|
|
3251
|
+
if 'Accept' not in _header_params:
|
|
3252
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
3253
|
+
[
|
|
3254
|
+
'application/yaml',
|
|
3255
|
+
'application/json'
|
|
3256
|
+
]
|
|
3257
|
+
)
|
|
3250
3258
|
|
|
3251
3259
|
|
|
3252
3260
|
# authentication setting
|
|
@@ -3516,7 +3524,7 @@ class TwingraphApi:
|
|
|
3516
3524
|
_query_params: List[Tuple[str, str]] = []
|
|
3517
3525
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
3518
3526
|
_form_params: List[Tuple[str, str]] = []
|
|
3519
|
-
_files: Dict[str, str] = {}
|
|
3527
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
3520
3528
|
_body_params: Optional[bytes] = None
|
|
3521
3529
|
|
|
3522
3530
|
# process the path parameters
|
|
@@ -3533,11 +3541,12 @@ class TwingraphApi:
|
|
|
3533
3541
|
|
|
3534
3542
|
|
|
3535
3543
|
# set the HTTP header `Accept`
|
|
3536
|
-
|
|
3537
|
-
[
|
|
3538
|
-
|
|
3539
|
-
|
|
3540
|
-
|
|
3544
|
+
if 'Accept' not in _header_params:
|
|
3545
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
3546
|
+
[
|
|
3547
|
+
'application/json'
|
|
3548
|
+
]
|
|
3549
|
+
)
|
|
3541
3550
|
|
|
3542
3551
|
# set the HTTP header `Content-Type`
|
|
3543
3552
|
if _content_type:
|
|
@@ -3835,7 +3844,7 @@ class TwingraphApi:
|
|
|
3835
3844
|
_query_params: List[Tuple[str, str]] = []
|
|
3836
3845
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
3837
3846
|
_form_params: List[Tuple[str, str]] = []
|
|
3838
|
-
_files: Dict[str, str] = {}
|
|
3847
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
3839
3848
|
_body_params: Optional[bytes] = None
|
|
3840
3849
|
|
|
3841
3850
|
# process the path parameters
|
|
@@ -3854,11 +3863,12 @@ class TwingraphApi:
|
|
|
3854
3863
|
|
|
3855
3864
|
|
|
3856
3865
|
# set the HTTP header `Accept`
|
|
3857
|
-
|
|
3858
|
-
[
|
|
3859
|
-
|
|
3860
|
-
|
|
3861
|
-
|
|
3866
|
+
if 'Accept' not in _header_params:
|
|
3867
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
3868
|
+
[
|
|
3869
|
+
'application/json'
|
|
3870
|
+
]
|
|
3871
|
+
)
|
|
3862
3872
|
|
|
3863
3873
|
# set the HTTP header `Content-Type`
|
|
3864
3874
|
if _content_type:
|
|
@@ -4141,7 +4151,7 @@ class TwingraphApi:
|
|
|
4141
4151
|
_query_params: List[Tuple[str, str]] = []
|
|
4142
4152
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
4143
4153
|
_form_params: List[Tuple[str, str]] = []
|
|
4144
|
-
_files: Dict[str, str] = {}
|
|
4154
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
4145
4155
|
_body_params: Optional[bytes] = None
|
|
4146
4156
|
|
|
4147
4157
|
# process the path parameters
|
|
@@ -4158,11 +4168,12 @@ class TwingraphApi:
|
|
|
4158
4168
|
|
|
4159
4169
|
|
|
4160
4170
|
# set the HTTP header `Accept`
|
|
4161
|
-
|
|
4162
|
-
[
|
|
4163
|
-
|
|
4164
|
-
|
|
4165
|
-
|
|
4171
|
+
if 'Accept' not in _header_params:
|
|
4172
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
4173
|
+
[
|
|
4174
|
+
'application/json'
|
|
4175
|
+
]
|
|
4176
|
+
)
|
|
4166
4177
|
|
|
4167
4178
|
# set the HTTP header `Content-Type`
|
|
4168
4179
|
if _content_type:
|