cosmotech-api 3.2.6.dev2__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 +5 -1
- cosmotech_api/api/connector_api.py +31 -27
- cosmotech_api/api/dataset_api.py +255 -224
- cosmotech_api/api/meta_api.py +281 -0
- cosmotech_api/api/organization_api.py +120 -102
- cosmotech_api/api/run_api.py +49 -41
- cosmotech_api/api/runner_api.py +103 -89
- 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 +127 -108
- cosmotech_api/api/twingraph_api.py +83 -72
- cosmotech_api/api/validator_api.py +1 -1
- cosmotech_api/api/workspace_api.py +132 -121
- cosmotech_api/api_client.py +59 -29
- cosmotech_api/configuration.py +18 -4
- 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 +5 -1
- 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 +10 -10
- 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 +7 -7
- 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 +10 -10
- 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 +10 -10
- cosmotech_api/models/run_logs_entry.py +88 -0
- 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 +32 -13
- 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 +16 -16
- 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 +7 -7
- 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 +7 -7
- 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.dev2.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.dev2.dist-info → cosmotech_api-3.3.4.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-3.3.4.dist-info}/LICENSE +0 -0
- {cosmotech_api-3.2.6.dev2.dist-info → cosmotech_api-3.3.4.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, StrictBool, StrictBytes, StrictInt, StrictStr
|
|
21
|
-
from typing import Optional, Union
|
|
21
|
+
from typing import List, Optional, Union
|
|
22
22
|
from typing_extensions import Annotated
|
|
23
23
|
from cosmotech_api.models.workspace import Workspace
|
|
24
24
|
from cosmotech_api.models.workspace_access_control import WorkspaceAccessControl
|
|
@@ -286,7 +286,7 @@ class WorkspaceApi:
|
|
|
286
286
|
_query_params: List[Tuple[str, str]] = []
|
|
287
287
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
288
288
|
_form_params: List[Tuple[str, str]] = []
|
|
289
|
-
_files: Dict[str, str] = {}
|
|
289
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
290
290
|
_body_params: Optional[bytes] = None
|
|
291
291
|
|
|
292
292
|
# process the path parameters
|
|
@@ -303,11 +303,12 @@ class WorkspaceApi:
|
|
|
303
303
|
|
|
304
304
|
|
|
305
305
|
# set the HTTP header `Accept`
|
|
306
|
-
|
|
307
|
-
[
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
306
|
+
if 'Accept' not in _header_params:
|
|
307
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
308
|
+
[
|
|
309
|
+
'application/json'
|
|
310
|
+
]
|
|
311
|
+
)
|
|
311
312
|
|
|
312
313
|
# set the HTTP header `Content-Type`
|
|
313
314
|
if _content_type:
|
|
@@ -588,7 +589,7 @@ class WorkspaceApi:
|
|
|
588
589
|
_query_params: List[Tuple[str, str]] = []
|
|
589
590
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
590
591
|
_form_params: List[Tuple[str, str]] = []
|
|
591
|
-
_files: Dict[str, str] = {}
|
|
592
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
592
593
|
_body_params: Optional[bytes] = None
|
|
593
594
|
|
|
594
595
|
# process the path parameters
|
|
@@ -871,7 +872,7 @@ class WorkspaceApi:
|
|
|
871
872
|
_query_params: List[Tuple[str, str]] = []
|
|
872
873
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
873
874
|
_form_params: List[Tuple[str, str]] = []
|
|
874
|
-
_files: Dict[str, str] = {}
|
|
875
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
875
876
|
_body_params: Optional[bytes] = None
|
|
876
877
|
|
|
877
878
|
# process the path parameters
|
|
@@ -886,11 +887,12 @@ class WorkspaceApi:
|
|
|
886
887
|
|
|
887
888
|
|
|
888
889
|
# set the HTTP header `Accept`
|
|
889
|
-
|
|
890
|
-
[
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
890
|
+
if 'Accept' not in _header_params:
|
|
891
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
892
|
+
[
|
|
893
|
+
'application/json'
|
|
894
|
+
]
|
|
895
|
+
)
|
|
894
896
|
|
|
895
897
|
# set the HTTP header `Content-Type`
|
|
896
898
|
if _content_type:
|
|
@@ -1158,7 +1160,7 @@ class WorkspaceApi:
|
|
|
1158
1160
|
_query_params: List[Tuple[str, str]] = []
|
|
1159
1161
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1160
1162
|
_form_params: List[Tuple[str, str]] = []
|
|
1161
|
-
_files: Dict[str, str] = {}
|
|
1163
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
1162
1164
|
_body_params: Optional[bytes] = None
|
|
1163
1165
|
|
|
1164
1166
|
# process the path parameters
|
|
@@ -1214,7 +1216,7 @@ class WorkspaceApi:
|
|
|
1214
1216
|
_content_type: Optional[StrictStr] = None,
|
|
1215
1217
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1216
1218
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1217
|
-
) ->
|
|
1219
|
+
) -> None:
|
|
1218
1220
|
"""Delete a workspace
|
|
1219
1221
|
|
|
1220
1222
|
|
|
@@ -1254,7 +1256,7 @@ class WorkspaceApi:
|
|
|
1254
1256
|
)
|
|
1255
1257
|
|
|
1256
1258
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1257
|
-
'
|
|
1259
|
+
'204': None,
|
|
1258
1260
|
'400': None,
|
|
1259
1261
|
'404': None,
|
|
1260
1262
|
}
|
|
@@ -1286,7 +1288,7 @@ class WorkspaceApi:
|
|
|
1286
1288
|
_content_type: Optional[StrictStr] = None,
|
|
1287
1289
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1288
1290
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1289
|
-
) -> ApiResponse[
|
|
1291
|
+
) -> ApiResponse[None]:
|
|
1290
1292
|
"""Delete a workspace
|
|
1291
1293
|
|
|
1292
1294
|
|
|
@@ -1326,7 +1328,7 @@ class WorkspaceApi:
|
|
|
1326
1328
|
)
|
|
1327
1329
|
|
|
1328
1330
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1329
|
-
'
|
|
1331
|
+
'204': None,
|
|
1330
1332
|
'400': None,
|
|
1331
1333
|
'404': None,
|
|
1332
1334
|
}
|
|
@@ -1398,7 +1400,7 @@ class WorkspaceApi:
|
|
|
1398
1400
|
)
|
|
1399
1401
|
|
|
1400
1402
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1401
|
-
'
|
|
1403
|
+
'204': None,
|
|
1402
1404
|
'400': None,
|
|
1403
1405
|
'404': None,
|
|
1404
1406
|
}
|
|
@@ -1428,7 +1430,7 @@ class WorkspaceApi:
|
|
|
1428
1430
|
_query_params: List[Tuple[str, str]] = []
|
|
1429
1431
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1430
1432
|
_form_params: List[Tuple[str, str]] = []
|
|
1431
|
-
_files: Dict[str, str] = {}
|
|
1433
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
1432
1434
|
_body_params: Optional[bytes] = None
|
|
1433
1435
|
|
|
1434
1436
|
# process the path parameters
|
|
@@ -1442,12 +1444,6 @@ class WorkspaceApi:
|
|
|
1442
1444
|
# process the body parameter
|
|
1443
1445
|
|
|
1444
1446
|
|
|
1445
|
-
# set the HTTP header `Accept`
|
|
1446
|
-
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1447
|
-
[
|
|
1448
|
-
'application/json'
|
|
1449
|
-
]
|
|
1450
|
-
)
|
|
1451
1447
|
|
|
1452
1448
|
|
|
1453
1449
|
# authentication setting
|
|
@@ -1714,7 +1710,7 @@ class WorkspaceApi:
|
|
|
1714
1710
|
_query_params: List[Tuple[str, str]] = []
|
|
1715
1711
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1716
1712
|
_form_params: List[Tuple[str, str]] = []
|
|
1717
|
-
_files: Dict[str, str] = {}
|
|
1713
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
1718
1714
|
_body_params: Optional[bytes] = None
|
|
1719
1715
|
|
|
1720
1716
|
# process the path parameters
|
|
@@ -1998,7 +1994,7 @@ class WorkspaceApi:
|
|
|
1998
1994
|
_query_params: List[Tuple[str, str]] = []
|
|
1999
1995
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
2000
1996
|
_form_params: List[Tuple[str, str]] = []
|
|
2001
|
-
_files: Dict[str, str] = {}
|
|
1997
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
2002
1998
|
_body_params: Optional[bytes] = None
|
|
2003
1999
|
|
|
2004
2000
|
# process the path parameters
|
|
@@ -2017,11 +2013,12 @@ class WorkspaceApi:
|
|
|
2017
2013
|
|
|
2018
2014
|
|
|
2019
2015
|
# set the HTTP header `Accept`
|
|
2020
|
-
|
|
2021
|
-
[
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2016
|
+
if 'Accept' not in _header_params:
|
|
2017
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
2018
|
+
[
|
|
2019
|
+
'application/octet-stream'
|
|
2020
|
+
]
|
|
2021
|
+
)
|
|
2025
2022
|
|
|
2026
2023
|
|
|
2027
2024
|
# authentication setting
|
|
@@ -2275,7 +2272,7 @@ class WorkspaceApi:
|
|
|
2275
2272
|
_query_params: List[Tuple[str, str]] = []
|
|
2276
2273
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
2277
2274
|
_form_params: List[Tuple[str, str]] = []
|
|
2278
|
-
_files: Dict[str, str] = {}
|
|
2275
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
2279
2276
|
_body_params: Optional[bytes] = None
|
|
2280
2277
|
|
|
2281
2278
|
# process the path parameters
|
|
@@ -2290,11 +2287,12 @@ class WorkspaceApi:
|
|
|
2290
2287
|
|
|
2291
2288
|
|
|
2292
2289
|
# set the HTTP header `Accept`
|
|
2293
|
-
|
|
2294
|
-
[
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2290
|
+
if 'Accept' not in _header_params:
|
|
2291
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
2292
|
+
[
|
|
2293
|
+
'application/json'
|
|
2294
|
+
]
|
|
2295
|
+
)
|
|
2298
2296
|
|
|
2299
2297
|
|
|
2300
2298
|
# authentication setting
|
|
@@ -2558,7 +2556,7 @@ class WorkspaceApi:
|
|
|
2558
2556
|
_query_params: List[Tuple[str, str]] = []
|
|
2559
2557
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
2560
2558
|
_form_params: List[Tuple[str, str]] = []
|
|
2561
|
-
_files: Dict[str, str] = {}
|
|
2559
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
2562
2560
|
_body_params: Optional[bytes] = None
|
|
2563
2561
|
|
|
2564
2562
|
# process the path parameters
|
|
@@ -2579,11 +2577,12 @@ class WorkspaceApi:
|
|
|
2579
2577
|
|
|
2580
2578
|
|
|
2581
2579
|
# set the HTTP header `Accept`
|
|
2582
|
-
|
|
2583
|
-
[
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
|
|
2580
|
+
if 'Accept' not in _header_params:
|
|
2581
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
2582
|
+
[
|
|
2583
|
+
'application/json'
|
|
2584
|
+
]
|
|
2585
|
+
)
|
|
2587
2586
|
|
|
2588
2587
|
|
|
2589
2588
|
# authentication setting
|
|
@@ -2837,7 +2836,7 @@ class WorkspaceApi:
|
|
|
2837
2836
|
_query_params: List[Tuple[str, str]] = []
|
|
2838
2837
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
2839
2838
|
_form_params: List[Tuple[str, str]] = []
|
|
2840
|
-
_files: Dict[str, str] = {}
|
|
2839
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
2841
2840
|
_body_params: Optional[bytes] = None
|
|
2842
2841
|
|
|
2843
2842
|
# process the path parameters
|
|
@@ -2852,11 +2851,12 @@ class WorkspaceApi:
|
|
|
2852
2851
|
|
|
2853
2852
|
|
|
2854
2853
|
# set the HTTP header `Accept`
|
|
2855
|
-
|
|
2856
|
-
[
|
|
2857
|
-
|
|
2858
|
-
|
|
2859
|
-
|
|
2854
|
+
if 'Accept' not in _header_params:
|
|
2855
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
2856
|
+
[
|
|
2857
|
+
'application/json'
|
|
2858
|
+
]
|
|
2859
|
+
)
|
|
2860
2860
|
|
|
2861
2861
|
|
|
2862
2862
|
# authentication setting
|
|
@@ -3123,7 +3123,7 @@ class WorkspaceApi:
|
|
|
3123
3123
|
_query_params: List[Tuple[str, str]] = []
|
|
3124
3124
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
3125
3125
|
_form_params: List[Tuple[str, str]] = []
|
|
3126
|
-
_files: Dict[str, str] = {}
|
|
3126
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
3127
3127
|
_body_params: Optional[bytes] = None
|
|
3128
3128
|
|
|
3129
3129
|
# process the path parameters
|
|
@@ -3140,11 +3140,12 @@ class WorkspaceApi:
|
|
|
3140
3140
|
|
|
3141
3141
|
|
|
3142
3142
|
# set the HTTP header `Accept`
|
|
3143
|
-
|
|
3144
|
-
[
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
|
|
3143
|
+
if 'Accept' not in _header_params:
|
|
3144
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
3145
|
+
[
|
|
3146
|
+
'application/json'
|
|
3147
|
+
]
|
|
3148
|
+
)
|
|
3148
3149
|
|
|
3149
3150
|
|
|
3150
3151
|
# authentication setting
|
|
@@ -3408,7 +3409,7 @@ class WorkspaceApi:
|
|
|
3408
3409
|
_query_params: List[Tuple[str, str]] = []
|
|
3409
3410
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
3410
3411
|
_form_params: List[Tuple[str, str]] = []
|
|
3411
|
-
_files: Dict[str, str] = {}
|
|
3412
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
3412
3413
|
_body_params: Optional[bytes] = None
|
|
3413
3414
|
|
|
3414
3415
|
# process the path parameters
|
|
@@ -3425,11 +3426,12 @@ class WorkspaceApi:
|
|
|
3425
3426
|
|
|
3426
3427
|
|
|
3427
3428
|
# set the HTTP header `Accept`
|
|
3428
|
-
|
|
3429
|
-
[
|
|
3430
|
-
|
|
3431
|
-
|
|
3432
|
-
|
|
3429
|
+
if 'Accept' not in _header_params:
|
|
3430
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
3431
|
+
[
|
|
3432
|
+
'application/json'
|
|
3433
|
+
]
|
|
3434
|
+
)
|
|
3433
3435
|
|
|
3434
3436
|
|
|
3435
3437
|
# authentication setting
|
|
@@ -3683,7 +3685,7 @@ class WorkspaceApi:
|
|
|
3683
3685
|
_query_params: List[Tuple[str, str]] = []
|
|
3684
3686
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
3685
3687
|
_form_params: List[Tuple[str, str]] = []
|
|
3686
|
-
_files: Dict[str, str] = {}
|
|
3688
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
3687
3689
|
_body_params: Optional[bytes] = None
|
|
3688
3690
|
|
|
3689
3691
|
# process the path parameters
|
|
@@ -3698,11 +3700,12 @@ class WorkspaceApi:
|
|
|
3698
3700
|
|
|
3699
3701
|
|
|
3700
3702
|
# set the HTTP header `Accept`
|
|
3701
|
-
|
|
3702
|
-
[
|
|
3703
|
-
|
|
3704
|
-
|
|
3705
|
-
|
|
3703
|
+
if 'Accept' not in _header_params:
|
|
3704
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
3705
|
+
[
|
|
3706
|
+
'application/json'
|
|
3707
|
+
]
|
|
3708
|
+
)
|
|
3706
3709
|
|
|
3707
3710
|
|
|
3708
3711
|
# authentication setting
|
|
@@ -3956,7 +3959,7 @@ class WorkspaceApi:
|
|
|
3956
3959
|
_query_params: List[Tuple[str, str]] = []
|
|
3957
3960
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
3958
3961
|
_form_params: List[Tuple[str, str]] = []
|
|
3959
|
-
_files: Dict[str, str] = {}
|
|
3962
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
3960
3963
|
_body_params: Optional[bytes] = None
|
|
3961
3964
|
|
|
3962
3965
|
# process the path parameters
|
|
@@ -3971,11 +3974,12 @@ class WorkspaceApi:
|
|
|
3971
3974
|
|
|
3972
3975
|
|
|
3973
3976
|
# set the HTTP header `Accept`
|
|
3974
|
-
|
|
3975
|
-
[
|
|
3976
|
-
|
|
3977
|
-
|
|
3978
|
-
|
|
3977
|
+
if 'Accept' not in _header_params:
|
|
3978
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
3979
|
+
[
|
|
3980
|
+
'application/json'
|
|
3981
|
+
]
|
|
3982
|
+
)
|
|
3979
3983
|
|
|
3980
3984
|
|
|
3981
3985
|
# authentication setting
|
|
@@ -4245,7 +4249,7 @@ class WorkspaceApi:
|
|
|
4245
4249
|
_query_params: List[Tuple[str, str]] = []
|
|
4246
4250
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
4247
4251
|
_form_params: List[Tuple[str, str]] = []
|
|
4248
|
-
_files: Dict[str, str] = {}
|
|
4252
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
4249
4253
|
_body_params: Optional[bytes] = None
|
|
4250
4254
|
|
|
4251
4255
|
# process the path parameters
|
|
@@ -4264,11 +4268,12 @@ class WorkspaceApi:
|
|
|
4264
4268
|
|
|
4265
4269
|
|
|
4266
4270
|
# set the HTTP header `Accept`
|
|
4267
|
-
|
|
4268
|
-
[
|
|
4269
|
-
|
|
4270
|
-
|
|
4271
|
-
|
|
4271
|
+
if 'Accept' not in _header_params:
|
|
4272
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
4273
|
+
[
|
|
4274
|
+
'application/json'
|
|
4275
|
+
]
|
|
4276
|
+
)
|
|
4272
4277
|
|
|
4273
4278
|
|
|
4274
4279
|
# authentication setting
|
|
@@ -4535,7 +4540,7 @@ class WorkspaceApi:
|
|
|
4535
4540
|
_query_params: List[Tuple[str, str]] = []
|
|
4536
4541
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
4537
4542
|
_form_params: List[Tuple[str, str]] = []
|
|
4538
|
-
_files: Dict[str, str] = {}
|
|
4543
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
4539
4544
|
_body_params: Optional[bytes] = None
|
|
4540
4545
|
|
|
4541
4546
|
# process the path parameters
|
|
@@ -4817,7 +4822,7 @@ class WorkspaceApi:
|
|
|
4817
4822
|
_query_params: List[Tuple[str, str]] = []
|
|
4818
4823
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
4819
4824
|
_form_params: List[Tuple[str, str]] = []
|
|
4820
|
-
_files: Dict[str, str] = {}
|
|
4825
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
4821
4826
|
_body_params: Optional[bytes] = None
|
|
4822
4827
|
|
|
4823
4828
|
# process the path parameters
|
|
@@ -4834,11 +4839,12 @@ class WorkspaceApi:
|
|
|
4834
4839
|
|
|
4835
4840
|
|
|
4836
4841
|
# set the HTTP header `Accept`
|
|
4837
|
-
|
|
4838
|
-
[
|
|
4839
|
-
|
|
4840
|
-
|
|
4841
|
-
|
|
4842
|
+
if 'Accept' not in _header_params:
|
|
4843
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
4844
|
+
[
|
|
4845
|
+
'application/json'
|
|
4846
|
+
]
|
|
4847
|
+
)
|
|
4842
4848
|
|
|
4843
4849
|
# set the HTTP header `Content-Type`
|
|
4844
4850
|
if _content_type:
|
|
@@ -5122,7 +5128,7 @@ class WorkspaceApi:
|
|
|
5122
5128
|
_query_params: List[Tuple[str, str]] = []
|
|
5123
5129
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
5124
5130
|
_form_params: List[Tuple[str, str]] = []
|
|
5125
|
-
_files: Dict[str, str] = {}
|
|
5131
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
5126
5132
|
_body_params: Optional[bytes] = None
|
|
5127
5133
|
|
|
5128
5134
|
# process the path parameters
|
|
@@ -5141,11 +5147,12 @@ class WorkspaceApi:
|
|
|
5141
5147
|
|
|
5142
5148
|
|
|
5143
5149
|
# set the HTTP header `Accept`
|
|
5144
|
-
|
|
5145
|
-
[
|
|
5146
|
-
|
|
5147
|
-
|
|
5148
|
-
|
|
5150
|
+
if 'Accept' not in _header_params:
|
|
5151
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
5152
|
+
[
|
|
5153
|
+
'application/json'
|
|
5154
|
+
]
|
|
5155
|
+
)
|
|
5149
5156
|
|
|
5150
5157
|
|
|
5151
5158
|
# authentication setting
|
|
@@ -5176,7 +5183,7 @@ class WorkspaceApi:
|
|
|
5176
5183
|
self,
|
|
5177
5184
|
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
5178
5185
|
workspace_id: Annotated[StrictStr, Field(description="the Workspace identifier")],
|
|
5179
|
-
workspace: Annotated[Workspace, Field(description="The new Workspace details. This endpoint can't be used to update security")],
|
|
5186
|
+
workspace: Annotated[Workspace, Field(description="The new Workspace details. This endpoint can't be used to update : - id - ownerId - security ")],
|
|
5180
5187
|
_request_timeout: Union[
|
|
5181
5188
|
None,
|
|
5182
5189
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -5197,7 +5204,7 @@ class WorkspaceApi:
|
|
|
5197
5204
|
:type organization_id: str
|
|
5198
5205
|
:param workspace_id: the Workspace identifier (required)
|
|
5199
5206
|
:type workspace_id: str
|
|
5200
|
-
:param workspace: The new Workspace details. This endpoint can't be used to update security
|
|
5207
|
+
:param workspace: The new Workspace details. This endpoint can't be used to update : - id - ownerId - security (required)
|
|
5201
5208
|
:type workspace: Workspace
|
|
5202
5209
|
:param _request_timeout: timeout setting for this request. If one
|
|
5203
5210
|
number provided, it will be total request
|
|
@@ -5252,7 +5259,7 @@ class WorkspaceApi:
|
|
|
5252
5259
|
self,
|
|
5253
5260
|
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
5254
5261
|
workspace_id: Annotated[StrictStr, Field(description="the Workspace identifier")],
|
|
5255
|
-
workspace: Annotated[Workspace, Field(description="The new Workspace details. This endpoint can't be used to update security")],
|
|
5262
|
+
workspace: Annotated[Workspace, Field(description="The new Workspace details. This endpoint can't be used to update : - id - ownerId - security ")],
|
|
5256
5263
|
_request_timeout: Union[
|
|
5257
5264
|
None,
|
|
5258
5265
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -5273,7 +5280,7 @@ class WorkspaceApi:
|
|
|
5273
5280
|
:type organization_id: str
|
|
5274
5281
|
:param workspace_id: the Workspace identifier (required)
|
|
5275
5282
|
:type workspace_id: str
|
|
5276
|
-
:param workspace: The new Workspace details. This endpoint can't be used to update security
|
|
5283
|
+
:param workspace: The new Workspace details. This endpoint can't be used to update : - id - ownerId - security (required)
|
|
5277
5284
|
:type workspace: Workspace
|
|
5278
5285
|
:param _request_timeout: timeout setting for this request. If one
|
|
5279
5286
|
number provided, it will be total request
|
|
@@ -5328,7 +5335,7 @@ class WorkspaceApi:
|
|
|
5328
5335
|
self,
|
|
5329
5336
|
organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
|
|
5330
5337
|
workspace_id: Annotated[StrictStr, Field(description="the Workspace identifier")],
|
|
5331
|
-
workspace: Annotated[Workspace, Field(description="The new Workspace details. This endpoint can't be used to update security")],
|
|
5338
|
+
workspace: Annotated[Workspace, Field(description="The new Workspace details. This endpoint can't be used to update : - id - ownerId - security ")],
|
|
5332
5339
|
_request_timeout: Union[
|
|
5333
5340
|
None,
|
|
5334
5341
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -5349,7 +5356,7 @@ class WorkspaceApi:
|
|
|
5349
5356
|
:type organization_id: str
|
|
5350
5357
|
:param workspace_id: the Workspace identifier (required)
|
|
5351
5358
|
:type workspace_id: str
|
|
5352
|
-
:param workspace: The new Workspace details. This endpoint can't be used to update security
|
|
5359
|
+
:param workspace: The new Workspace details. This endpoint can't be used to update : - id - ownerId - security (required)
|
|
5353
5360
|
:type workspace: Workspace
|
|
5354
5361
|
:param _request_timeout: timeout setting for this request. If one
|
|
5355
5362
|
number provided, it will be total request
|
|
@@ -5415,7 +5422,7 @@ class WorkspaceApi:
|
|
|
5415
5422
|
_query_params: List[Tuple[str, str]] = []
|
|
5416
5423
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
5417
5424
|
_form_params: List[Tuple[str, str]] = []
|
|
5418
|
-
_files: Dict[str, str] = {}
|
|
5425
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
5419
5426
|
_body_params: Optional[bytes] = None
|
|
5420
5427
|
|
|
5421
5428
|
# process the path parameters
|
|
@@ -5432,11 +5439,12 @@ class WorkspaceApi:
|
|
|
5432
5439
|
|
|
5433
5440
|
|
|
5434
5441
|
# set the HTTP header `Accept`
|
|
5435
|
-
|
|
5436
|
-
[
|
|
5437
|
-
|
|
5438
|
-
|
|
5439
|
-
|
|
5442
|
+
if 'Accept' not in _header_params:
|
|
5443
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
5444
|
+
[
|
|
5445
|
+
'application/json'
|
|
5446
|
+
]
|
|
5447
|
+
)
|
|
5440
5448
|
|
|
5441
5449
|
# set the HTTP header `Content-Type`
|
|
5442
5450
|
if _content_type:
|
|
@@ -5730,7 +5738,7 @@ class WorkspaceApi:
|
|
|
5730
5738
|
_query_params: List[Tuple[str, str]] = []
|
|
5731
5739
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
5732
5740
|
_form_params: List[Tuple[str, str]] = []
|
|
5733
|
-
_files: Dict[str, str] = {}
|
|
5741
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
5734
5742
|
_body_params: Optional[bytes] = None
|
|
5735
5743
|
|
|
5736
5744
|
# process the path parameters
|
|
@@ -5749,11 +5757,12 @@ class WorkspaceApi:
|
|
|
5749
5757
|
|
|
5750
5758
|
|
|
5751
5759
|
# set the HTTP header `Accept`
|
|
5752
|
-
|
|
5753
|
-
[
|
|
5754
|
-
|
|
5755
|
-
|
|
5756
|
-
|
|
5760
|
+
if 'Accept' not in _header_params:
|
|
5761
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
5762
|
+
[
|
|
5763
|
+
'application/json'
|
|
5764
|
+
]
|
|
5765
|
+
)
|
|
5757
5766
|
|
|
5758
5767
|
# set the HTTP header `Content-Type`
|
|
5759
5768
|
if _content_type:
|
|
@@ -5762,7 +5771,8 @@ class WorkspaceApi:
|
|
|
5762
5771
|
_default_content_type = (
|
|
5763
5772
|
self.api_client.select_header_content_type(
|
|
5764
5773
|
[
|
|
5765
|
-
'application/json'
|
|
5774
|
+
'application/json',
|
|
5775
|
+
'application/yaml'
|
|
5766
5776
|
]
|
|
5767
5777
|
)
|
|
5768
5778
|
)
|
|
@@ -6059,7 +6069,7 @@ class WorkspaceApi:
|
|
|
6059
6069
|
_query_params: List[Tuple[str, str]] = []
|
|
6060
6070
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
6061
6071
|
_form_params: List[Tuple[str, str]] = []
|
|
6062
|
-
_files: Dict[str, str] = {}
|
|
6072
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
6063
6073
|
_body_params: Optional[bytes] = None
|
|
6064
6074
|
|
|
6065
6075
|
# process the path parameters
|
|
@@ -6080,11 +6090,12 @@ class WorkspaceApi:
|
|
|
6080
6090
|
|
|
6081
6091
|
|
|
6082
6092
|
# set the HTTP header `Accept`
|
|
6083
|
-
|
|
6084
|
-
[
|
|
6085
|
-
|
|
6086
|
-
|
|
6087
|
-
|
|
6093
|
+
if 'Accept' not in _header_params:
|
|
6094
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
6095
|
+
[
|
|
6096
|
+
'application/json'
|
|
6097
|
+
]
|
|
6098
|
+
)
|
|
6088
6099
|
|
|
6089
6100
|
# set the HTTP header `Content-Type`
|
|
6090
6101
|
if _content_type:
|