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.

Files changed (258) hide show
  1. cosmotech_api/__init__.py +5 -1
  2. cosmotech_api/api/connector_api.py +31 -27
  3. cosmotech_api/api/dataset_api.py +255 -224
  4. cosmotech_api/api/meta_api.py +281 -0
  5. cosmotech_api/api/organization_api.py +120 -102
  6. cosmotech_api/api/run_api.py +49 -41
  7. cosmotech_api/api/runner_api.py +103 -89
  8. cosmotech_api/api/scenario_api.py +141 -121
  9. cosmotech_api/api/scenariorun_api.py +76 -66
  10. cosmotech_api/api/scenariorunresult_api.py +1 -1
  11. cosmotech_api/api/solution_api.py +127 -108
  12. cosmotech_api/api/twingraph_api.py +83 -72
  13. cosmotech_api/api/validator_api.py +1 -1
  14. cosmotech_api/api/workspace_api.py +132 -121
  15. cosmotech_api/api_client.py +59 -29
  16. cosmotech_api/configuration.py +18 -4
  17. cosmotech_api/exceptions.py +1 -1
  18. cosmotech_api/model/component_role_permissions.py +1 -1
  19. cosmotech_api/model/connector.py +1 -1
  20. cosmotech_api/model/connector_parameter.py +1 -1
  21. cosmotech_api/model/connector_parameter_group.py +1 -1
  22. cosmotech_api/model/container_resource_size_info.py +1 -1
  23. cosmotech_api/model/container_resource_sizing.py +1 -1
  24. cosmotech_api/model/dataset.py +1 -1
  25. cosmotech_api/model/dataset_access_control.py +1 -1
  26. cosmotech_api/model/dataset_compatibility.py +1 -1
  27. cosmotech_api/model/dataset_connector.py +1 -1
  28. cosmotech_api/model/dataset_copy_parameters.py +1 -1
  29. cosmotech_api/model/dataset_role.py +1 -1
  30. cosmotech_api/model/dataset_search.py +1 -1
  31. cosmotech_api/model/dataset_security.py +1 -1
  32. cosmotech_api/model/dataset_source_type.py +1 -1
  33. cosmotech_api/model/dataset_twin_graph_hash.py +1 -1
  34. cosmotech_api/model/dataset_twin_graph_info.py +1 -1
  35. cosmotech_api/model/dataset_twin_graph_query.py +1 -1
  36. cosmotech_api/model/delete_historical_data.py +1 -1
  37. cosmotech_api/model/file_upload_metadata.py +1 -1
  38. cosmotech_api/model/file_upload_validation.py +1 -1
  39. cosmotech_api/model/graph_properties.py +1 -1
  40. cosmotech_api/model/organization.py +1 -1
  41. cosmotech_api/model/organization_access_control.py +1 -1
  42. cosmotech_api/model/organization_role.py +1 -1
  43. cosmotech_api/model/organization_security.py +1 -1
  44. cosmotech_api/model/organization_service.py +1 -1
  45. cosmotech_api/model/organization_services.py +1 -1
  46. cosmotech_api/model/resource_size_info.py +1 -1
  47. cosmotech_api/model/run.py +1 -1
  48. cosmotech_api/model/run_container.py +1 -1
  49. cosmotech_api/model/run_container_artifact.py +1 -1
  50. cosmotech_api/model/run_container_logs.py +1 -1
  51. cosmotech_api/model/run_logs.py +1 -1
  52. cosmotech_api/model/run_resource_requested.py +1 -1
  53. cosmotech_api/model/run_search.py +1 -1
  54. cosmotech_api/model/run_start_containers.py +1 -1
  55. cosmotech_api/model/run_state.py +1 -1
  56. cosmotech_api/model/run_status.py +1 -1
  57. cosmotech_api/model/run_status_node.py +1 -1
  58. cosmotech_api/model/run_template.py +1 -1
  59. cosmotech_api/model/run_template_handler_id.py +1 -1
  60. cosmotech_api/model/run_template_orchestrator.py +1 -1
  61. cosmotech_api/model/run_template_parameter.py +1 -1
  62. cosmotech_api/model/run_template_parameter_group.py +1 -1
  63. cosmotech_api/model/run_template_parameter_value.py +1 -1
  64. cosmotech_api/model/run_template_resource_sizing.py +1 -1
  65. cosmotech_api/model/run_template_step_source.py +1 -1
  66. cosmotech_api/model/runner.py +21 -5
  67. cosmotech_api/model/runner_access_control.py +1 -1
  68. cosmotech_api/model/runner_changed_parameter_value.py +1 -1
  69. cosmotech_api/model/runner_comparison_result.py +1 -1
  70. cosmotech_api/model/runner_data_download_info.py +11 -1
  71. cosmotech_api/model/runner_data_download_job.py +1 -1
  72. cosmotech_api/model/runner_job_state.py +1 -1
  73. cosmotech_api/model/runner_last_run.py +1 -1
  74. cosmotech_api/model/runner_resource_sizing.py +1 -1
  75. cosmotech_api/model/runner_role.py +1 -1
  76. cosmotech_api/model/runner_run_template_parameter_value.py +1 -1
  77. cosmotech_api/model/runner_security.py +1 -1
  78. cosmotech_api/model/runner_validation_status.py +1 -1
  79. cosmotech_api/model/scenario.py +1 -1
  80. cosmotech_api/model/scenario_access_control.py +1 -1
  81. cosmotech_api/model/scenario_changed_parameter_value.py +1 -1
  82. cosmotech_api/model/scenario_comparison_result.py +1 -1
  83. cosmotech_api/model/scenario_data_download_info.py +1 -1
  84. cosmotech_api/model/scenario_data_download_job.py +1 -1
  85. cosmotech_api/model/scenario_job_state.py +1 -1
  86. cosmotech_api/model/scenario_last_run.py +1 -1
  87. cosmotech_api/model/scenario_resource_sizing.py +1 -1
  88. cosmotech_api/model/scenario_role.py +1 -1
  89. cosmotech_api/model/scenario_run.py +1 -1
  90. cosmotech_api/model/scenario_run_container.py +1 -1
  91. cosmotech_api/model/scenario_run_container_artifact.py +1 -1
  92. cosmotech_api/model/scenario_run_container_logs.py +1 -1
  93. cosmotech_api/model/scenario_run_logs.py +1 -1
  94. cosmotech_api/model/scenario_run_resource_requested.py +1 -1
  95. cosmotech_api/model/scenario_run_result.py +1 -1
  96. cosmotech_api/model/scenario_run_search.py +1 -1
  97. cosmotech_api/model/scenario_run_start_containers.py +1 -1
  98. cosmotech_api/model/scenario_run_state.py +1 -1
  99. cosmotech_api/model/scenario_run_status.py +1 -1
  100. cosmotech_api/model/scenario_run_status_node.py +1 -1
  101. cosmotech_api/model/scenario_run_template_parameter_value.py +1 -1
  102. cosmotech_api/model/scenario_security.py +1 -1
  103. cosmotech_api/model/scenario_validation_status.py +1 -1
  104. cosmotech_api/model/solution.py +1 -1
  105. cosmotech_api/model/solution_access_control.py +1 -1
  106. cosmotech_api/model/solution_role.py +1 -1
  107. cosmotech_api/model/solution_security.py +1 -1
  108. cosmotech_api/model/source_info.py +1 -1
  109. cosmotech_api/model/sub_dataset_graph_query.py +1 -1
  110. cosmotech_api/model/translated_labels.py +1 -1
  111. cosmotech_api/model/twin_graph_batch_result.py +1 -1
  112. cosmotech_api/model/twin_graph_hash.py +1 -1
  113. cosmotech_api/model/twin_graph_query.py +1 -1
  114. cosmotech_api/model/validator.py +1 -1
  115. cosmotech_api/model/validator_run.py +1 -1
  116. cosmotech_api/model/workspace.py +1 -1
  117. cosmotech_api/model/workspace_access_control.py +1 -1
  118. cosmotech_api/model/workspace_file.py +1 -1
  119. cosmotech_api/model/workspace_role.py +1 -1
  120. cosmotech_api/model/workspace_secret.py +1 -1
  121. cosmotech_api/model/workspace_security.py +1 -1
  122. cosmotech_api/model/workspace_solution.py +1 -1
  123. cosmotech_api/model/workspace_web_app.py +1 -1
  124. cosmotech_api/model_utils.py +1 -1
  125. cosmotech_api/models/__init__.py +5 -1
  126. cosmotech_api/models/about_info.py +92 -0
  127. cosmotech_api/models/about_info_version.py +100 -0
  128. cosmotech_api/models/component_role_permissions.py +7 -7
  129. cosmotech_api/models/connector.py +10 -10
  130. cosmotech_api/models/connector_parameter.py +7 -7
  131. cosmotech_api/models/connector_parameter_group.py +10 -10
  132. cosmotech_api/models/container_resource_size_info.py +7 -7
  133. cosmotech_api/models/container_resource_sizing.py +7 -7
  134. cosmotech_api/models/created_run.py +88 -0
  135. cosmotech_api/models/dataset.py +10 -10
  136. cosmotech_api/models/dataset_access_control.py +7 -7
  137. cosmotech_api/models/dataset_compatibility.py +7 -7
  138. cosmotech_api/models/dataset_connector.py +7 -7
  139. cosmotech_api/models/dataset_copy_parameters.py +7 -7
  140. cosmotech_api/models/dataset_role.py +7 -7
  141. cosmotech_api/models/dataset_search.py +7 -7
  142. cosmotech_api/models/dataset_security.py +10 -10
  143. cosmotech_api/models/dataset_source_type.py +1 -1
  144. cosmotech_api/models/dataset_twin_graph_hash.py +7 -7
  145. cosmotech_api/models/dataset_twin_graph_info.py +7 -7
  146. cosmotech_api/models/dataset_twin_graph_query.py +7 -7
  147. cosmotech_api/models/delete_historical_data.py +7 -7
  148. cosmotech_api/models/file_upload_metadata.py +7 -7
  149. cosmotech_api/models/file_upload_validation.py +13 -13
  150. cosmotech_api/models/graph_properties.py +7 -7
  151. cosmotech_api/models/ingestion_status_enum.py +1 -1
  152. cosmotech_api/models/io_types_enum.py +1 -1
  153. cosmotech_api/models/organization.py +7 -7
  154. cosmotech_api/models/organization_access_control.py +7 -7
  155. cosmotech_api/models/organization_create_request.py +95 -0
  156. cosmotech_api/models/organization_role.py +7 -7
  157. cosmotech_api/models/organization_security.py +10 -10
  158. cosmotech_api/models/organization_service.py +7 -7
  159. cosmotech_api/models/organization_services.py +7 -7
  160. cosmotech_api/models/organization_update_request.py +89 -0
  161. cosmotech_api/models/query_result.py +7 -7
  162. cosmotech_api/models/resource_size_info.py +7 -7
  163. cosmotech_api/models/run.py +13 -13
  164. cosmotech_api/models/run_container.py +10 -10
  165. cosmotech_api/models/run_container_artifact.py +7 -7
  166. cosmotech_api/models/run_container_logs.py +7 -7
  167. cosmotech_api/models/run_data.py +7 -7
  168. cosmotech_api/models/run_data_query.py +7 -7
  169. cosmotech_api/models/run_logs.py +10 -10
  170. cosmotech_api/models/run_logs_entry.py +88 -0
  171. cosmotech_api/models/run_resource_requested.py +7 -7
  172. cosmotech_api/models/run_search.py +7 -7
  173. cosmotech_api/models/run_search_state.py +1 -1
  174. cosmotech_api/models/run_start_containers.py +10 -10
  175. cosmotech_api/models/run_state.py +1 -1
  176. cosmotech_api/models/run_status.py +10 -10
  177. cosmotech_api/models/run_status_node.py +7 -7
  178. cosmotech_api/models/run_template.py +7 -7
  179. cosmotech_api/models/run_template_handler_id.py +1 -1
  180. cosmotech_api/models/run_template_orchestrator.py +1 -1
  181. cosmotech_api/models/run_template_parameter.py +7 -7
  182. cosmotech_api/models/run_template_parameter_group.py +7 -7
  183. cosmotech_api/models/run_template_parameter_value.py +7 -7
  184. cosmotech_api/models/run_template_resource_sizing.py +7 -7
  185. cosmotech_api/models/run_template_step_source.py +1 -1
  186. cosmotech_api/models/runner.py +32 -13
  187. cosmotech_api/models/runner_access_control.py +7 -7
  188. cosmotech_api/models/runner_changed_parameter_value.py +7 -7
  189. cosmotech_api/models/runner_comparison_result.py +10 -10
  190. cosmotech_api/models/runner_create_request.py +154 -0
  191. cosmotech_api/models/runner_data_download_info.py +12 -9
  192. cosmotech_api/models/runner_data_download_job.py +7 -7
  193. cosmotech_api/models/runner_job_state.py +1 -1
  194. cosmotech_api/models/runner_last_run.py +7 -7
  195. cosmotech_api/models/runner_parent_last_run.py +7 -7
  196. cosmotech_api/models/runner_resource_sizing.py +7 -7
  197. cosmotech_api/models/runner_role.py +7 -7
  198. cosmotech_api/models/runner_root_last_run.py +7 -7
  199. cosmotech_api/models/runner_run_template_parameter_value.py +7 -7
  200. cosmotech_api/models/runner_security.py +10 -10
  201. cosmotech_api/models/runner_update_request.py +123 -0
  202. cosmotech_api/models/runner_validation_status.py +1 -1
  203. cosmotech_api/models/scenario.py +11 -11
  204. cosmotech_api/models/scenario_access_control.py +7 -7
  205. cosmotech_api/models/scenario_changed_parameter_value.py +7 -7
  206. cosmotech_api/models/scenario_comparison_result.py +10 -10
  207. cosmotech_api/models/scenario_data_download_info.py +7 -7
  208. cosmotech_api/models/scenario_data_download_job.py +7 -7
  209. cosmotech_api/models/scenario_job_state.py +1 -1
  210. cosmotech_api/models/scenario_last_run.py +7 -7
  211. cosmotech_api/models/scenario_resource_sizing.py +7 -7
  212. cosmotech_api/models/scenario_role.py +7 -7
  213. cosmotech_api/models/scenario_run.py +13 -13
  214. cosmotech_api/models/scenario_run_container.py +10 -10
  215. cosmotech_api/models/scenario_run_container_artifact.py +7 -7
  216. cosmotech_api/models/scenario_run_container_logs.py +7 -7
  217. cosmotech_api/models/scenario_run_logs.py +10 -10
  218. cosmotech_api/models/scenario_run_resource_requested.py +7 -7
  219. cosmotech_api/models/scenario_run_search.py +7 -7
  220. cosmotech_api/models/scenario_run_search_state.py +1 -1
  221. cosmotech_api/models/scenario_run_start_containers.py +10 -10
  222. cosmotech_api/models/scenario_run_state.py +1 -1
  223. cosmotech_api/models/scenario_run_status.py +10 -10
  224. cosmotech_api/models/scenario_run_status_node.py +7 -7
  225. cosmotech_api/models/scenario_run_template_parameter_value.py +7 -7
  226. cosmotech_api/models/scenario_security.py +10 -10
  227. cosmotech_api/models/scenario_validation_status.py +1 -1
  228. cosmotech_api/models/send_run_data_request.py +7 -7
  229. cosmotech_api/models/solution.py +16 -16
  230. cosmotech_api/models/solution_access_control.py +7 -7
  231. cosmotech_api/models/solution_create_request.py +143 -0
  232. cosmotech_api/models/solution_role.py +7 -7
  233. cosmotech_api/models/solution_security.py +10 -10
  234. cosmotech_api/models/solution_update_request.py +107 -0
  235. cosmotech_api/models/source_info.py +7 -7
  236. cosmotech_api/models/sub_dataset_graph_query.py +7 -7
  237. cosmotech_api/models/twin_graph_batch_result.py +7 -7
  238. cosmotech_api/models/twin_graph_hash.py +7 -7
  239. cosmotech_api/models/twin_graph_query.py +7 -7
  240. cosmotech_api/models/twincache_status_enum.py +1 -1
  241. cosmotech_api/models/validator.py +7 -7
  242. cosmotech_api/models/workspace.py +7 -7
  243. cosmotech_api/models/workspace_access_control.py +7 -7
  244. cosmotech_api/models/workspace_create_request.py +117 -0
  245. cosmotech_api/models/workspace_file.py +7 -7
  246. cosmotech_api/models/workspace_role.py +7 -7
  247. cosmotech_api/models/workspace_secret.py +7 -7
  248. cosmotech_api/models/workspace_security.py +10 -10
  249. cosmotech_api/models/workspace_solution.py +7 -7
  250. cosmotech_api/models/workspace_update_request.py +109 -0
  251. cosmotech_api/models/workspace_web_app.py +7 -7
  252. cosmotech_api/rest.py +3 -1
  253. {cosmotech_api-3.2.6.dev2.dist-info → cosmotech_api-3.3.4.dist-info}/METADATA +13 -5
  254. cosmotech_api-3.3.4.dist-info/RECORD +273 -0
  255. {cosmotech_api-3.2.6.dev2.dist-info → cosmotech_api-3.3.4.dist-info}/WHEEL +1 -1
  256. cosmotech_api-3.2.6.dev2.dist-info/RECORD +0 -260
  257. {cosmotech_api-3.2.6.dev2.dist-info → cosmotech_api-3.3.4.dist-info}/LICENSE +0 -0
  258. {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.2.6
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, StrictInt, StrictStr, field_validator
21
- from typing import 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.dataset import Dataset
24
24
  from cosmotech_api.models.dataset_access_control import DatasetAccessControl
@@ -294,7 +294,7 @@ class DatasetApi:
294
294
  _query_params: List[Tuple[str, str]] = []
295
295
  _header_params: Dict[str, Optional[str]] = _headers or {}
296
296
  _form_params: List[Tuple[str, str]] = []
297
- _files: Dict[str, str] = {}
297
+ _files: Dict[str, Union[str, bytes]] = {}
298
298
  _body_params: Optional[bytes] = None
299
299
 
300
300
  # process the path parameters
@@ -311,11 +311,12 @@ class DatasetApi:
311
311
 
312
312
 
313
313
  # set the HTTP header `Accept`
314
- _header_params['Accept'] = self.api_client.select_header_accept(
315
- [
316
- 'application/json'
317
- ]
318
- )
314
+ if 'Accept' not in _header_params:
315
+ _header_params['Accept'] = self.api_client.select_header_accept(
316
+ [
317
+ 'application/json'
318
+ ]
319
+ )
319
320
 
320
321
  # set the HTTP header `Content-Type`
321
322
  if _content_type:
@@ -600,7 +601,7 @@ class DatasetApi:
600
601
  _query_params: List[Tuple[str, str]] = []
601
602
  _header_params: Dict[str, Optional[str]] = _headers or {}
602
603
  _form_params: List[Tuple[str, str]] = []
603
- _files: Dict[str, str] = {}
604
+ _files: Dict[str, Union[str, bytes]] = {}
604
605
  _body_params: Optional[bytes] = None
605
606
 
606
607
  # process the path parameters
@@ -617,11 +618,12 @@ class DatasetApi:
617
618
 
618
619
 
619
620
  # set the HTTP header `Accept`
620
- _header_params['Accept'] = self.api_client.select_header_accept(
621
- [
622
- 'application/json'
623
- ]
624
- )
621
+ if 'Accept' not in _header_params:
622
+ _header_params['Accept'] = self.api_client.select_header_accept(
623
+ [
624
+ 'application/json'
625
+ ]
626
+ )
625
627
 
626
628
  # set the HTTP header `Content-Type`
627
629
  if _content_type:
@@ -894,7 +896,7 @@ class DatasetApi:
894
896
  _query_params: List[Tuple[str, str]] = []
895
897
  _header_params: Dict[str, Optional[str]] = _headers or {}
896
898
  _form_params: List[Tuple[str, str]] = []
897
- _files: Dict[str, str] = {}
899
+ _files: Dict[str, Union[str, bytes]] = {}
898
900
  _body_params: Optional[bytes] = None
899
901
 
900
902
  # process the path parameters
@@ -909,11 +911,12 @@ class DatasetApi:
909
911
 
910
912
 
911
913
  # set the HTTP header `Accept`
912
- _header_params['Accept'] = self.api_client.select_header_accept(
913
- [
914
- 'application/json'
915
- ]
916
- )
914
+ if 'Accept' not in _header_params:
915
+ _header_params['Accept'] = self.api_client.select_header_accept(
916
+ [
917
+ 'application/json'
918
+ ]
919
+ )
917
920
 
918
921
  # set the HTTP header `Content-Type`
919
922
  if _content_type:
@@ -1181,7 +1184,7 @@ class DatasetApi:
1181
1184
  _query_params: List[Tuple[str, str]] = []
1182
1185
  _header_params: Dict[str, Optional[str]] = _headers or {}
1183
1186
  _form_params: List[Tuple[str, str]] = []
1184
- _files: Dict[str, str] = {}
1187
+ _files: Dict[str, Union[str, bytes]] = {}
1185
1188
  _body_params: Optional[bytes] = None
1186
1189
 
1187
1190
  # process the path parameters
@@ -1196,11 +1199,12 @@ class DatasetApi:
1196
1199
 
1197
1200
 
1198
1201
  # set the HTTP header `Accept`
1199
- _header_params['Accept'] = self.api_client.select_header_accept(
1200
- [
1201
- 'application/json'
1202
- ]
1203
- )
1202
+ if 'Accept' not in _header_params:
1203
+ _header_params['Accept'] = self.api_client.select_header_accept(
1204
+ [
1205
+ 'application/json'
1206
+ ]
1207
+ )
1204
1208
 
1205
1209
  # set the HTTP header `Content-Type`
1206
1210
  if _content_type:
@@ -1261,7 +1265,7 @@ class DatasetApi:
1261
1265
  ) -> Dataset:
1262
1266
  """Create a sub-dataset from the dataset in parameter
1263
1267
 
1264
- Create a copy of the dataset using the results of the list of queries given in parameter.
1268
+ Create a copy of the dataset using the results of the list of queries given in parameter. Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
1265
1269
 
1266
1270
  :param organization_id: the Organization identifier (required)
1267
1271
  :type organization_id: str
@@ -1336,7 +1340,7 @@ class DatasetApi:
1336
1340
  ) -> ApiResponse[Dataset]:
1337
1341
  """Create a sub-dataset from the dataset in parameter
1338
1342
 
1339
- Create a copy of the dataset using the results of the list of queries given in parameter.
1343
+ Create a copy of the dataset using the results of the list of queries given in parameter. Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
1340
1344
 
1341
1345
  :param organization_id: the Organization identifier (required)
1342
1346
  :type organization_id: str
@@ -1411,7 +1415,7 @@ class DatasetApi:
1411
1415
  ) -> RESTResponseType:
1412
1416
  """Create a sub-dataset from the dataset in parameter
1413
1417
 
1414
- Create a copy of the dataset using the results of the list of queries given in parameter.
1418
+ Create a copy of the dataset using the results of the list of queries given in parameter. Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
1415
1419
 
1416
1420
  :param organization_id: the Organization identifier (required)
1417
1421
  :type organization_id: str
@@ -1481,7 +1485,7 @@ class DatasetApi:
1481
1485
  _query_params: List[Tuple[str, str]] = []
1482
1486
  _header_params: Dict[str, Optional[str]] = _headers or {}
1483
1487
  _form_params: List[Tuple[str, str]] = []
1484
- _files: Dict[str, str] = {}
1488
+ _files: Dict[str, Union[str, bytes]] = {}
1485
1489
  _body_params: Optional[bytes] = None
1486
1490
 
1487
1491
  # process the path parameters
@@ -1498,11 +1502,12 @@ class DatasetApi:
1498
1502
 
1499
1503
 
1500
1504
  # set the HTTP header `Accept`
1501
- _header_params['Accept'] = self.api_client.select_header_accept(
1502
- [
1503
- 'application/json'
1504
- ]
1505
- )
1505
+ if 'Accept' not in _header_params:
1506
+ _header_params['Accept'] = self.api_client.select_header_accept(
1507
+ [
1508
+ 'application/json'
1509
+ ]
1510
+ )
1506
1511
 
1507
1512
  # set the HTTP header `Content-Type`
1508
1513
  if _content_type:
@@ -1511,7 +1516,8 @@ class DatasetApi:
1511
1516
  _default_content_type = (
1512
1517
  self.api_client.select_header_content_type(
1513
1518
  [
1514
- 'application/json'
1519
+ 'application/json',
1520
+ 'application/yaml'
1515
1521
  ]
1516
1522
  )
1517
1523
  )
@@ -1563,7 +1569,7 @@ class DatasetApi:
1563
1569
  ) -> str:
1564
1570
  """Create new entities in a graph instance
1565
1571
 
1566
- create new entities in a graph instance
1572
+ Create new entities in a graph instance Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
1567
1573
 
1568
1574
  :param organization_id: the Organization identifier (required)
1569
1575
  :type organization_id: str
@@ -1642,7 +1648,7 @@ class DatasetApi:
1642
1648
  ) -> ApiResponse[str]:
1643
1649
  """Create new entities in a graph instance
1644
1650
 
1645
- create new entities in a graph instance
1651
+ Create new entities in a graph instance Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
1646
1652
 
1647
1653
  :param organization_id: the Organization identifier (required)
1648
1654
  :type organization_id: str
@@ -1721,7 +1727,7 @@ class DatasetApi:
1721
1727
  ) -> RESTResponseType:
1722
1728
  """Create new entities in a graph instance
1723
1729
 
1724
- create new entities in a graph instance
1730
+ Create new entities in a graph instance Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
1725
1731
 
1726
1732
  :param organization_id: the Organization identifier (required)
1727
1733
  :type organization_id: str
@@ -1796,7 +1802,7 @@ class DatasetApi:
1796
1802
  _query_params: List[Tuple[str, str]] = []
1797
1803
  _header_params: Dict[str, Optional[str]] = _headers or {}
1798
1804
  _form_params: List[Tuple[str, str]] = []
1799
- _files: Dict[str, str] = {}
1805
+ _files: Dict[str, Union[str, bytes]] = {}
1800
1806
  _body_params: Optional[bytes] = None
1801
1807
 
1802
1808
  # process the path parameters
@@ -1815,11 +1821,12 @@ class DatasetApi:
1815
1821
 
1816
1822
 
1817
1823
  # set the HTTP header `Accept`
1818
- _header_params['Accept'] = self.api_client.select_header_accept(
1819
- [
1820
- 'application/json'
1821
- ]
1822
- )
1824
+ if 'Accept' not in _header_params:
1825
+ _header_params['Accept'] = self.api_client.select_header_accept(
1826
+ [
1827
+ 'application/json'
1828
+ ]
1829
+ )
1823
1830
 
1824
1831
  # set the HTTP header `Content-Type`
1825
1832
  if _content_type:
@@ -1828,7 +1835,8 @@ class DatasetApi:
1828
1835
  _default_content_type = (
1829
1836
  self.api_client.select_header_content_type(
1830
1837
  [
1831
- 'application/json'
1838
+ 'application/json',
1839
+ 'application/yaml'
1832
1840
  ]
1833
1841
  )
1834
1842
  )
@@ -2086,7 +2094,7 @@ class DatasetApi:
2086
2094
  _query_params: List[Tuple[str, str]] = []
2087
2095
  _header_params: Dict[str, Optional[str]] = _headers or {}
2088
2096
  _form_params: List[Tuple[str, str]] = []
2089
- _files: Dict[str, str] = {}
2097
+ _files: Dict[str, Union[str, bytes]] = {}
2090
2098
  _body_params: Optional[bytes] = None
2091
2099
 
2092
2100
  # process the path parameters
@@ -2147,7 +2155,7 @@ class DatasetApi:
2147
2155
  ) -> None:
2148
2156
  """Delete entities in a graph instance
2149
2157
 
2150
- delete entities in a graph instance
2158
+ Delete entities in a graph instance Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
2151
2159
 
2152
2160
  :param organization_id: the Organization identifier (required)
2153
2161
  :type organization_id: str
@@ -2191,7 +2199,7 @@ class DatasetApi:
2191
2199
  )
2192
2200
 
2193
2201
  _response_types_map: Dict[str, Optional[str]] = {
2194
- '200': None,
2202
+ '204': None,
2195
2203
  }
2196
2204
  response_data = self.api_client.call_api(
2197
2205
  *_param,
@@ -2226,7 +2234,7 @@ class DatasetApi:
2226
2234
  ) -> ApiResponse[None]:
2227
2235
  """Delete entities in a graph instance
2228
2236
 
2229
- delete entities in a graph instance
2237
+ Delete entities in a graph instance Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
2230
2238
 
2231
2239
  :param organization_id: the Organization identifier (required)
2232
2240
  :type organization_id: str
@@ -2270,7 +2278,7 @@ class DatasetApi:
2270
2278
  )
2271
2279
 
2272
2280
  _response_types_map: Dict[str, Optional[str]] = {
2273
- '200': None,
2281
+ '204': None,
2274
2282
  }
2275
2283
  response_data = self.api_client.call_api(
2276
2284
  *_param,
@@ -2305,7 +2313,7 @@ class DatasetApi:
2305
2313
  ) -> RESTResponseType:
2306
2314
  """Delete entities in a graph instance
2307
2315
 
2308
- delete entities in a graph instance
2316
+ Delete entities in a graph instance Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
2309
2317
 
2310
2318
  :param organization_id: the Organization identifier (required)
2311
2319
  :type organization_id: str
@@ -2349,7 +2357,7 @@ class DatasetApi:
2349
2357
  )
2350
2358
 
2351
2359
  _response_types_map: Dict[str, Optional[str]] = {
2352
- '200': None,
2360
+ '204': None,
2353
2361
  }
2354
2362
  response_data = self.api_client.call_api(
2355
2363
  *_param,
@@ -2380,7 +2388,7 @@ class DatasetApi:
2380
2388
  _query_params: List[Tuple[str, str]] = []
2381
2389
  _header_params: Dict[str, Optional[str]] = _headers or {}
2382
2390
  _form_params: List[Tuple[str, str]] = []
2383
- _files: Dict[str, str] = {}
2391
+ _files: Dict[str, Union[str, bytes]] = {}
2384
2392
  _body_params: Optional[bytes] = None
2385
2393
 
2386
2394
  # process the path parameters
@@ -2445,7 +2453,7 @@ class DatasetApi:
2445
2453
  ) -> bytearray:
2446
2454
  """Download a graph as a zip file
2447
2455
 
2448
- Download the compressed graph reference by the hash in a zip file
2456
+ Download the compressed graph reference by the hash in a zip file Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
2449
2457
 
2450
2458
  :param organization_id: the Organization identifier (required)
2451
2459
  :type organization_id: str
@@ -2516,7 +2524,7 @@ class DatasetApi:
2516
2524
  ) -> ApiResponse[bytearray]:
2517
2525
  """Download a graph as a zip file
2518
2526
 
2519
- Download the compressed graph reference by the hash in a zip file
2527
+ Download the compressed graph reference by the hash in a zip file Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
2520
2528
 
2521
2529
  :param organization_id: the Organization identifier (required)
2522
2530
  :type organization_id: str
@@ -2587,7 +2595,7 @@ class DatasetApi:
2587
2595
  ) -> RESTResponseType:
2588
2596
  """Download a graph as a zip file
2589
2597
 
2590
- Download the compressed graph reference by the hash in a zip file
2598
+ Download the compressed graph reference by the hash in a zip file Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
2591
2599
 
2592
2600
  :param organization_id: the Organization identifier (required)
2593
2601
  :type organization_id: str
@@ -2653,7 +2661,7 @@ class DatasetApi:
2653
2661
  _query_params: List[Tuple[str, str]] = []
2654
2662
  _header_params: Dict[str, Optional[str]] = _headers or {}
2655
2663
  _form_params: List[Tuple[str, str]] = []
2656
- _files: Dict[str, str] = {}
2664
+ _files: Dict[str, Union[str, bytes]] = {}
2657
2665
  _body_params: Optional[bytes] = None
2658
2666
 
2659
2667
  # process the path parameters
@@ -2668,11 +2676,12 @@ class DatasetApi:
2668
2676
 
2669
2677
 
2670
2678
  # set the HTTP header `Accept`
2671
- _header_params['Accept'] = self.api_client.select_header_accept(
2672
- [
2673
- 'application/octet-stream'
2674
- ]
2675
- )
2679
+ if 'Accept' not in _header_params:
2680
+ _header_params['Accept'] = self.api_client.select_header_accept(
2681
+ [
2682
+ 'application/octet-stream'
2683
+ ]
2684
+ )
2676
2685
 
2677
2686
 
2678
2687
  # authentication setting
@@ -2936,7 +2945,7 @@ class DatasetApi:
2936
2945
  _query_params: List[Tuple[str, str]] = []
2937
2946
  _header_params: Dict[str, Optional[str]] = _headers or {}
2938
2947
  _form_params: List[Tuple[str, str]] = []
2939
- _files: Dict[str, str] = {}
2948
+ _files: Dict[str, Union[str, bytes]] = {}
2940
2949
  _body_params: Optional[bytes] = None
2941
2950
 
2942
2951
  # process the path parameters
@@ -2957,11 +2966,12 @@ class DatasetApi:
2957
2966
 
2958
2967
 
2959
2968
  # set the HTTP header `Accept`
2960
- _header_params['Accept'] = self.api_client.select_header_accept(
2961
- [
2962
- 'application/json'
2963
- ]
2964
- )
2969
+ if 'Accept' not in _header_params:
2970
+ _header_params['Accept'] = self.api_client.select_header_accept(
2971
+ [
2972
+ 'application/json'
2973
+ ]
2974
+ )
2965
2975
 
2966
2976
 
2967
2977
  # authentication setting
@@ -3215,7 +3225,7 @@ class DatasetApi:
3215
3225
  _query_params: List[Tuple[str, str]] = []
3216
3226
  _header_params: Dict[str, Optional[str]] = _headers or {}
3217
3227
  _form_params: List[Tuple[str, str]] = []
3218
- _files: Dict[str, str] = {}
3228
+ _files: Dict[str, Union[str, bytes]] = {}
3219
3229
  _body_params: Optional[bytes] = None
3220
3230
 
3221
3231
  # process the path parameters
@@ -3230,11 +3240,12 @@ class DatasetApi:
3230
3240
 
3231
3241
 
3232
3242
  # set the HTTP header `Accept`
3233
- _header_params['Accept'] = self.api_client.select_header_accept(
3234
- [
3235
- 'application/json'
3236
- ]
3237
- )
3243
+ if 'Accept' not in _header_params:
3244
+ _header_params['Accept'] = self.api_client.select_header_accept(
3245
+ [
3246
+ 'application/json'
3247
+ ]
3248
+ )
3238
3249
 
3239
3250
 
3240
3251
  # authentication setting
@@ -3501,7 +3512,7 @@ class DatasetApi:
3501
3512
  _query_params: List[Tuple[str, str]] = []
3502
3513
  _header_params: Dict[str, Optional[str]] = _headers or {}
3503
3514
  _form_params: List[Tuple[str, str]] = []
3504
- _files: Dict[str, str] = {}
3515
+ _files: Dict[str, Union[str, bytes]] = {}
3505
3516
  _body_params: Optional[bytes] = None
3506
3517
 
3507
3518
  # process the path parameters
@@ -3518,11 +3529,12 @@ class DatasetApi:
3518
3529
 
3519
3530
 
3520
3531
  # set the HTTP header `Accept`
3521
- _header_params['Accept'] = self.api_client.select_header_accept(
3522
- [
3523
- 'application/json'
3524
- ]
3525
- )
3532
+ if 'Accept' not in _header_params:
3533
+ _header_params['Accept'] = self.api_client.select_header_accept(
3534
+ [
3535
+ 'application/json'
3536
+ ]
3537
+ )
3526
3538
 
3527
3539
 
3528
3540
  # authentication setting
@@ -3776,7 +3788,7 @@ class DatasetApi:
3776
3788
  _query_params: List[Tuple[str, str]] = []
3777
3789
  _header_params: Dict[str, Optional[str]] = _headers or {}
3778
3790
  _form_params: List[Tuple[str, str]] = []
3779
- _files: Dict[str, str] = {}
3791
+ _files: Dict[str, Union[str, bytes]] = {}
3780
3792
  _body_params: Optional[bytes] = None
3781
3793
 
3782
3794
  # process the path parameters
@@ -3791,11 +3803,12 @@ class DatasetApi:
3791
3803
 
3792
3804
 
3793
3805
  # set the HTTP header `Accept`
3794
- _header_params['Accept'] = self.api_client.select_header_accept(
3795
- [
3796
- 'application/json'
3797
- ]
3798
- )
3806
+ if 'Accept' not in _header_params:
3807
+ _header_params['Accept'] = self.api_client.select_header_accept(
3808
+ [
3809
+ 'application/json'
3810
+ ]
3811
+ )
3799
3812
 
3800
3813
 
3801
3814
  # authentication setting
@@ -4049,7 +4062,7 @@ class DatasetApi:
4049
4062
  _query_params: List[Tuple[str, str]] = []
4050
4063
  _header_params: Dict[str, Optional[str]] = _headers or {}
4051
4064
  _form_params: List[Tuple[str, str]] = []
4052
- _files: Dict[str, str] = {}
4065
+ _files: Dict[str, Union[str, bytes]] = {}
4053
4066
  _body_params: Optional[bytes] = None
4054
4067
 
4055
4068
  # process the path parameters
@@ -4064,11 +4077,12 @@ class DatasetApi:
4064
4077
 
4065
4078
 
4066
4079
  # set the HTTP header `Accept`
4067
- _header_params['Accept'] = self.api_client.select_header_accept(
4068
- [
4069
- 'application/json'
4070
- ]
4071
- )
4080
+ if 'Accept' not in _header_params:
4081
+ _header_params['Accept'] = self.api_client.select_header_accept(
4082
+ [
4083
+ 'application/json'
4084
+ ]
4085
+ )
4072
4086
 
4073
4087
 
4074
4088
  # authentication setting
@@ -4322,7 +4336,7 @@ class DatasetApi:
4322
4336
  _query_params: List[Tuple[str, str]] = []
4323
4337
  _header_params: Dict[str, Optional[str]] = _headers or {}
4324
4338
  _form_params: List[Tuple[str, str]] = []
4325
- _files: Dict[str, str] = {}
4339
+ _files: Dict[str, Union[str, bytes]] = {}
4326
4340
  _body_params: Optional[bytes] = None
4327
4341
 
4328
4342
  # process the path parameters
@@ -4337,12 +4351,13 @@ class DatasetApi:
4337
4351
 
4338
4352
 
4339
4353
  # set the HTTP header `Accept`
4340
- _header_params['Accept'] = self.api_client.select_header_accept(
4341
- [
4342
- 'application/yaml',
4343
- 'application/json'
4344
- ]
4345
- )
4354
+ if 'Accept' not in _header_params:
4355
+ _header_params['Accept'] = self.api_client.select_header_accept(
4356
+ [
4357
+ 'application/yaml',
4358
+ 'application/json'
4359
+ ]
4360
+ )
4346
4361
 
4347
4362
 
4348
4363
  # authentication setting
@@ -4390,7 +4405,7 @@ class DatasetApi:
4390
4405
  ) -> str:
4391
4406
  """Get entities in a graph instance
4392
4407
 
4393
- get entities in a graph instance
4408
+ Get entities in a graph instance Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
4394
4409
 
4395
4410
  :param organization_id: the Organization identifier (required)
4396
4411
  :type organization_id: str
@@ -4469,7 +4484,7 @@ class DatasetApi:
4469
4484
  ) -> ApiResponse[str]:
4470
4485
  """Get entities in a graph instance
4471
4486
 
4472
- get entities in a graph instance
4487
+ Get entities in a graph instance Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
4473
4488
 
4474
4489
  :param organization_id: the Organization identifier (required)
4475
4490
  :type organization_id: str
@@ -4548,7 +4563,7 @@ class DatasetApi:
4548
4563
  ) -> RESTResponseType:
4549
4564
  """Get entities in a graph instance
4550
4565
 
4551
- get entities in a graph instance
4566
+ Get entities in a graph instance Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
4552
4567
 
4553
4568
  :param organization_id: the Organization identifier (required)
4554
4569
  :type organization_id: str
@@ -4623,7 +4638,7 @@ class DatasetApi:
4623
4638
  _query_params: List[Tuple[str, str]] = []
4624
4639
  _header_params: Dict[str, Optional[str]] = _headers or {}
4625
4640
  _form_params: List[Tuple[str, str]] = []
4626
- _files: Dict[str, str] = {}
4641
+ _files: Dict[str, Union[str, bytes]] = {}
4627
4642
  _body_params: Optional[bytes] = None
4628
4643
 
4629
4644
  # process the path parameters
@@ -4644,11 +4659,12 @@ class DatasetApi:
4644
4659
 
4645
4660
 
4646
4661
  # set the HTTP header `Accept`
4647
- _header_params['Accept'] = self.api_client.select_header_accept(
4648
- [
4649
- 'application/json'
4650
- ]
4651
- )
4662
+ if 'Accept' not in _header_params:
4663
+ _header_params['Accept'] = self.api_client.select_header_accept(
4664
+ [
4665
+ 'application/json'
4666
+ ]
4667
+ )
4652
4668
 
4653
4669
 
4654
4670
  # authentication setting
@@ -4918,7 +4934,7 @@ class DatasetApi:
4918
4934
  _query_params: List[Tuple[str, str]] = []
4919
4935
  _header_params: Dict[str, Optional[str]] = _headers or {}
4920
4936
  _form_params: List[Tuple[str, str]] = []
4921
- _files: Dict[str, str] = {}
4937
+ _files: Dict[str, Union[str, bytes]] = {}
4922
4938
  _body_params: Optional[bytes] = None
4923
4939
 
4924
4940
  # process the path parameters
@@ -4937,11 +4953,12 @@ class DatasetApi:
4937
4953
 
4938
4954
 
4939
4955
  # set the HTTP header `Accept`
4940
- _header_params['Accept'] = self.api_client.select_header_accept(
4941
- [
4942
- 'application/json'
4943
- ]
4944
- )
4956
+ if 'Accept' not in _header_params:
4957
+ _header_params['Accept'] = self.api_client.select_header_accept(
4958
+ [
4959
+ 'application/json'
4960
+ ]
4961
+ )
4945
4962
 
4946
4963
 
4947
4964
  # authentication setting
@@ -4987,7 +5004,7 @@ class DatasetApi:
4987
5004
  ) -> DatasetTwinGraphInfo:
4988
5005
  """Refresh data on dataset from dataset's source
4989
5006
 
4990
- Refresh dataset from parent source. At date, sources can be: dataset (refresh from another dataset) Azure Digital twin Azure storage Local File (import a new file) During refresh, datas are overwritten
5007
+ Refresh dataset from parent source. At date, sources can be: dataset (refresh from another dataset) Azure Digital twin Azure storage Local File (import a new file) During refresh, datas are overwritten Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
4991
5008
 
4992
5009
  :param organization_id: the Organization identifier (required)
4993
5010
  :type organization_id: str
@@ -5058,7 +5075,7 @@ class DatasetApi:
5058
5075
  ) -> ApiResponse[DatasetTwinGraphInfo]:
5059
5076
  """Refresh data on dataset from dataset's source
5060
5077
 
5061
- Refresh dataset from parent source. At date, sources can be: dataset (refresh from another dataset) Azure Digital twin Azure storage Local File (import a new file) During refresh, datas are overwritten
5078
+ Refresh dataset from parent source. At date, sources can be: dataset (refresh from another dataset) Azure Digital twin Azure storage Local File (import a new file) During refresh, datas are overwritten Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
5062
5079
 
5063
5080
  :param organization_id: the Organization identifier (required)
5064
5081
  :type organization_id: str
@@ -5129,7 +5146,7 @@ class DatasetApi:
5129
5146
  ) -> RESTResponseType:
5130
5147
  """Refresh data on dataset from dataset's source
5131
5148
 
5132
- Refresh dataset from parent source. At date, sources can be: dataset (refresh from another dataset) Azure Digital twin Azure storage Local File (import a new file) During refresh, datas are overwritten
5149
+ Refresh dataset from parent source. At date, sources can be: dataset (refresh from another dataset) Azure Digital twin Azure storage Local File (import a new file) During refresh, datas are overwritten Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
5133
5150
 
5134
5151
  :param organization_id: the Organization identifier (required)
5135
5152
  :type organization_id: str
@@ -5195,7 +5212,7 @@ class DatasetApi:
5195
5212
  _query_params: List[Tuple[str, str]] = []
5196
5213
  _header_params: Dict[str, Optional[str]] = _headers or {}
5197
5214
  _form_params: List[Tuple[str, str]] = []
5198
- _files: Dict[str, str] = {}
5215
+ _files: Dict[str, Union[str, bytes]] = {}
5199
5216
  _body_params: Optional[bytes] = None
5200
5217
 
5201
5218
  # process the path parameters
@@ -5210,11 +5227,12 @@ class DatasetApi:
5210
5227
 
5211
5228
 
5212
5229
  # set the HTTP header `Accept`
5213
- _header_params['Accept'] = self.api_client.select_header_accept(
5214
- [
5215
- 'application/json'
5216
- ]
5217
- )
5230
+ if 'Accept' not in _header_params:
5231
+ _header_params['Accept'] = self.api_client.select_header_accept(
5232
+ [
5233
+ 'application/json'
5234
+ ]
5235
+ )
5218
5236
 
5219
5237
 
5220
5238
  # authentication setting
@@ -5468,7 +5486,7 @@ class DatasetApi:
5468
5486
  _query_params: List[Tuple[str, str]] = []
5469
5487
  _header_params: Dict[str, Optional[str]] = _headers or {}
5470
5488
  _form_params: List[Tuple[str, str]] = []
5471
- _files: Dict[str, str] = {}
5489
+ _files: Dict[str, Union[str, bytes]] = {}
5472
5490
  _body_params: Optional[bytes] = None
5473
5491
 
5474
5492
  # process the path parameters
@@ -5748,7 +5766,7 @@ class DatasetApi:
5748
5766
  _query_params: List[Tuple[str, str]] = []
5749
5767
  _header_params: Dict[str, Optional[str]] = _headers or {}
5750
5768
  _form_params: List[Tuple[str, str]] = []
5751
- _files: Dict[str, str] = {}
5769
+ _files: Dict[str, Union[str, bytes]] = {}
5752
5770
  _body_params: Optional[bytes] = None
5753
5771
 
5754
5772
  # process the path parameters
@@ -5809,7 +5827,7 @@ class DatasetApi:
5809
5827
  ) -> str:
5810
5828
  """Rollback the dataset after a failed refresh
5811
5829
 
5812
- Rollback the twingraph on a dataset after a failed refresh
5830
+ Rollback the twingraph on a dataset after a failed refresh Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
5813
5831
 
5814
5832
  :param organization_id: the Organization identifier (required)
5815
5833
  :type organization_id: str
@@ -5880,7 +5898,7 @@ class DatasetApi:
5880
5898
  ) -> ApiResponse[str]:
5881
5899
  """Rollback the dataset after a failed refresh
5882
5900
 
5883
- Rollback the twingraph on a dataset after a failed refresh
5901
+ Rollback the twingraph on a dataset after a failed refresh Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
5884
5902
 
5885
5903
  :param organization_id: the Organization identifier (required)
5886
5904
  :type organization_id: str
@@ -5951,7 +5969,7 @@ class DatasetApi:
5951
5969
  ) -> RESTResponseType:
5952
5970
  """Rollback the dataset after a failed refresh
5953
5971
 
5954
- Rollback the twingraph on a dataset after a failed refresh
5972
+ Rollback the twingraph on a dataset after a failed refresh Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
5955
5973
 
5956
5974
  :param organization_id: the Organization identifier (required)
5957
5975
  :type organization_id: str
@@ -6017,7 +6035,7 @@ class DatasetApi:
6017
6035
  _query_params: List[Tuple[str, str]] = []
6018
6036
  _header_params: Dict[str, Optional[str]] = _headers or {}
6019
6037
  _form_params: List[Tuple[str, str]] = []
6020
- _files: Dict[str, str] = {}
6038
+ _files: Dict[str, Union[str, bytes]] = {}
6021
6039
  _body_params: Optional[bytes] = None
6022
6040
 
6023
6041
  # process the path parameters
@@ -6032,11 +6050,12 @@ class DatasetApi:
6032
6050
 
6033
6051
 
6034
6052
  # set the HTTP header `Accept`
6035
- _header_params['Accept'] = self.api_client.select_header_accept(
6036
- [
6037
- 'application/json'
6038
- ]
6039
- )
6053
+ if 'Accept' not in _header_params:
6054
+ _header_params['Accept'] = self.api_client.select_header_accept(
6055
+ [
6056
+ 'application/json'
6057
+ ]
6058
+ )
6040
6059
 
6041
6060
 
6042
6061
  # authentication setting
@@ -6313,7 +6332,7 @@ class DatasetApi:
6313
6332
  _query_params: List[Tuple[str, str]] = []
6314
6333
  _header_params: Dict[str, Optional[str]] = _headers or {}
6315
6334
  _form_params: List[Tuple[str, str]] = []
6316
- _files: Dict[str, str] = {}
6335
+ _files: Dict[str, Union[str, bytes]] = {}
6317
6336
  _body_params: Optional[bytes] = None
6318
6337
 
6319
6338
  # process the path parameters
@@ -6336,11 +6355,12 @@ class DatasetApi:
6336
6355
 
6337
6356
 
6338
6357
  # set the HTTP header `Accept`
6339
- _header_params['Accept'] = self.api_client.select_header_accept(
6340
- [
6341
- 'application/json'
6342
- ]
6343
- )
6358
+ if 'Accept' not in _header_params:
6359
+ _header_params['Accept'] = self.api_client.select_header_accept(
6360
+ [
6361
+ 'application/json'
6362
+ ]
6363
+ )
6344
6364
 
6345
6365
  # set the HTTP header `Content-Type`
6346
6366
  if _content_type:
@@ -6621,7 +6641,7 @@ class DatasetApi:
6621
6641
  _query_params: List[Tuple[str, str]] = []
6622
6642
  _header_params: Dict[str, Optional[str]] = _headers or {}
6623
6643
  _form_params: List[Tuple[str, str]] = []
6624
- _files: Dict[str, str] = {}
6644
+ _files: Dict[str, Union[str, bytes]] = {}
6625
6645
  _body_params: Optional[bytes] = None
6626
6646
 
6627
6647
  # process the path parameters
@@ -6638,11 +6658,12 @@ class DatasetApi:
6638
6658
 
6639
6659
 
6640
6660
  # set the HTTP header `Accept`
6641
- _header_params['Accept'] = self.api_client.select_header_accept(
6642
- [
6643
- 'application/json'
6644
- ]
6645
- )
6661
+ if 'Accept' not in _header_params:
6662
+ _header_params['Accept'] = self.api_client.select_header_accept(
6663
+ [
6664
+ 'application/json'
6665
+ ]
6666
+ )
6646
6667
 
6647
6668
  # set the HTTP header `Content-Type`
6648
6669
  if _content_type:
@@ -6703,7 +6724,7 @@ class DatasetApi:
6703
6724
  ) -> DatasetTwinGraphHash:
6704
6725
  """Run a query on a graph instance and return the result as a zip file in async mode
6705
6726
 
6706
- Run a query on a graph instance and return the result as a zip file in async mode
6727
+ Run a query on a graph instance and return the result as a zip file in async mode Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
6707
6728
 
6708
6729
  :param organization_id: the Organization identifier (required)
6709
6730
  :type organization_id: str
@@ -6778,7 +6799,7 @@ class DatasetApi:
6778
6799
  ) -> ApiResponse[DatasetTwinGraphHash]:
6779
6800
  """Run a query on a graph instance and return the result as a zip file in async mode
6780
6801
 
6781
- Run a query on a graph instance and return the result as a zip file in async mode
6802
+ Run a query on a graph instance and return the result as a zip file in async mode Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
6782
6803
 
6783
6804
  :param organization_id: the Organization identifier (required)
6784
6805
  :type organization_id: str
@@ -6853,7 +6874,7 @@ class DatasetApi:
6853
6874
  ) -> RESTResponseType:
6854
6875
  """Run a query on a graph instance and return the result as a zip file in async mode
6855
6876
 
6856
- Run a query on a graph instance and return the result as a zip file in async mode
6877
+ Run a query on a graph instance and return the result as a zip file in async mode Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
6857
6878
 
6858
6879
  :param organization_id: the Organization identifier (required)
6859
6880
  :type organization_id: str
@@ -6923,7 +6944,7 @@ class DatasetApi:
6923
6944
  _query_params: List[Tuple[str, str]] = []
6924
6945
  _header_params: Dict[str, Optional[str]] = _headers or {}
6925
6946
  _form_params: List[Tuple[str, str]] = []
6926
- _files: Dict[str, str] = {}
6947
+ _files: Dict[str, Union[str, bytes]] = {}
6927
6948
  _body_params: Optional[bytes] = None
6928
6949
 
6929
6950
  # process the path parameters
@@ -6940,11 +6961,12 @@ class DatasetApi:
6940
6961
 
6941
6962
 
6942
6963
  # set the HTTP header `Accept`
6943
- _header_params['Accept'] = self.api_client.select_header_accept(
6944
- [
6945
- 'application/json'
6946
- ]
6947
- )
6964
+ if 'Accept' not in _header_params:
6965
+ _header_params['Accept'] = self.api_client.select_header_accept(
6966
+ [
6967
+ 'application/json'
6968
+ ]
6969
+ )
6948
6970
 
6949
6971
  # set the HTTP header `Content-Type`
6950
6972
  if _content_type:
@@ -7003,9 +7025,9 @@ class DatasetApi:
7003
7025
  _headers: Optional[Dict[StrictStr, Any]] = None,
7004
7026
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
7005
7027
  ) -> TwinGraphBatchResult:
7006
- """Async batch update by loading a CSV file on a graph instance
7028
+ """Async batch update by loading a CSV file on a graph instance
7007
7029
 
7008
- Async batch update by loading a CSV file on a graph instance
7030
+ Async batch update by loading a CSV file on a graph instance Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
7009
7031
 
7010
7032
  :param organization_id: the Organization identifier (required)
7011
7033
  :type organization_id: str
@@ -7083,9 +7105,9 @@ class DatasetApi:
7083
7105
  _headers: Optional[Dict[StrictStr, Any]] = None,
7084
7106
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
7085
7107
  ) -> ApiResponse[TwinGraphBatchResult]:
7086
- """Async batch update by loading a CSV file on a graph instance
7108
+ """Async batch update by loading a CSV file on a graph instance
7087
7109
 
7088
- Async batch update by loading a CSV file on a graph instance
7110
+ Async batch update by loading a CSV file on a graph instance Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
7089
7111
 
7090
7112
  :param organization_id: the Organization identifier (required)
7091
7113
  :type organization_id: str
@@ -7163,9 +7185,9 @@ class DatasetApi:
7163
7185
  _headers: Optional[Dict[StrictStr, Any]] = None,
7164
7186
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
7165
7187
  ) -> RESTResponseType:
7166
- """Async batch update by loading a CSV file on a graph instance
7188
+ """Async batch update by loading a CSV file on a graph instance
7167
7189
 
7168
- Async batch update by loading a CSV file on a graph instance
7190
+ Async batch update by loading a CSV file on a graph instance Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
7169
7191
 
7170
7192
  :param organization_id: the Organization identifier (required)
7171
7193
  :type organization_id: str
@@ -7240,7 +7262,7 @@ class DatasetApi:
7240
7262
  _query_params: List[Tuple[str, str]] = []
7241
7263
  _header_params: Dict[str, Optional[str]] = _headers or {}
7242
7264
  _form_params: List[Tuple[str, str]] = []
7243
- _files: Dict[str, str] = {}
7265
+ _files: Dict[str, Union[str, bytes]] = {}
7244
7266
  _body_params: Optional[bytes] = None
7245
7267
 
7246
7268
  # process the path parameters
@@ -7266,11 +7288,12 @@ class DatasetApi:
7266
7288
 
7267
7289
 
7268
7290
  # set the HTTP header `Accept`
7269
- _header_params['Accept'] = self.api_client.select_header_accept(
7270
- [
7271
- 'application/json'
7272
- ]
7273
- )
7291
+ if 'Accept' not in _header_params:
7292
+ _header_params['Accept'] = self.api_client.select_header_accept(
7293
+ [
7294
+ 'application/json'
7295
+ ]
7296
+ )
7274
7297
 
7275
7298
  # set the HTTP header `Content-Type`
7276
7299
  if _content_type:
@@ -7331,7 +7354,7 @@ class DatasetApi:
7331
7354
  ) -> List[object]:
7332
7355
  """Return the result of a query made on the graph instance as a json
7333
7356
 
7334
- Run a query on a graph instance and return the result as a json
7357
+ Run a query on a graph instance and return the result as a json Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
7335
7358
 
7336
7359
  :param organization_id: the Organization identifier (required)
7337
7360
  :type organization_id: str
@@ -7406,7 +7429,7 @@ class DatasetApi:
7406
7429
  ) -> ApiResponse[List[object]]:
7407
7430
  """Return the result of a query made on the graph instance as a json
7408
7431
 
7409
- Run a query on a graph instance and return the result as a json
7432
+ Run a query on a graph instance and return the result as a json Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
7410
7433
 
7411
7434
  :param organization_id: the Organization identifier (required)
7412
7435
  :type organization_id: str
@@ -7481,7 +7504,7 @@ class DatasetApi:
7481
7504
  ) -> RESTResponseType:
7482
7505
  """Return the result of a query made on the graph instance as a json
7483
7506
 
7484
- Run a query on a graph instance and return the result as a json
7507
+ Run a query on a graph instance and return the result as a json Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
7485
7508
 
7486
7509
  :param organization_id: the Organization identifier (required)
7487
7510
  :type organization_id: str
@@ -7551,7 +7574,7 @@ class DatasetApi:
7551
7574
  _query_params: List[Tuple[str, str]] = []
7552
7575
  _header_params: Dict[str, Optional[str]] = _headers or {}
7553
7576
  _form_params: List[Tuple[str, str]] = []
7554
- _files: Dict[str, str] = {}
7577
+ _files: Dict[str, Union[str, bytes]] = {}
7555
7578
  _body_params: Optional[bytes] = None
7556
7579
 
7557
7580
  # process the path parameters
@@ -7568,11 +7591,12 @@ class DatasetApi:
7568
7591
 
7569
7592
 
7570
7593
  # set the HTTP header `Accept`
7571
- _header_params['Accept'] = self.api_client.select_header_accept(
7572
- [
7573
- 'application/json'
7574
- ]
7575
- )
7594
+ if 'Accept' not in _header_params:
7595
+ _header_params['Accept'] = self.api_client.select_header_accept(
7596
+ [
7597
+ 'application/json'
7598
+ ]
7599
+ )
7576
7600
 
7577
7601
  # set the HTTP header `Content-Type`
7578
7602
  if _content_type:
@@ -7581,7 +7605,8 @@ class DatasetApi:
7581
7605
  _default_content_type = (
7582
7606
  self.api_client.select_header_content_type(
7583
7607
  [
7584
- 'application/json'
7608
+ 'application/json',
7609
+ 'application/yaml'
7585
7610
  ]
7586
7611
  )
7587
7612
  )
@@ -7855,7 +7880,7 @@ class DatasetApi:
7855
7880
  _query_params: List[Tuple[str, str]] = []
7856
7881
  _header_params: Dict[str, Optional[str]] = _headers or {}
7857
7882
  _form_params: List[Tuple[str, str]] = []
7858
- _files: Dict[str, str] = {}
7883
+ _files: Dict[str, Union[str, bytes]] = {}
7859
7884
  _body_params: Optional[bytes] = None
7860
7885
 
7861
7886
  # process the path parameters
@@ -7874,11 +7899,12 @@ class DatasetApi:
7874
7899
 
7875
7900
 
7876
7901
  # set the HTTP header `Accept`
7877
- _header_params['Accept'] = self.api_client.select_header_accept(
7878
- [
7879
- 'application/json'
7880
- ]
7881
- )
7902
+ if 'Accept' not in _header_params:
7903
+ _header_params['Accept'] = self.api_client.select_header_accept(
7904
+ [
7905
+ 'application/json'
7906
+ ]
7907
+ )
7882
7908
 
7883
7909
 
7884
7910
  # authentication setting
@@ -7909,7 +7935,7 @@ class DatasetApi:
7909
7935
  self,
7910
7936
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
7911
7937
  dataset_id: Annotated[StrictStr, Field(description="the Dataset identifier")],
7912
- dataset: Annotated[Dataset, Field(description="the new Dataset details. This endpoint can't be used to update security")],
7938
+ dataset: Annotated[Dataset, Field(description="The new Dataset details. This endpoint can't be used to update : - id - security ")],
7913
7939
  _request_timeout: Union[
7914
7940
  None,
7915
7941
  Annotated[StrictFloat, Field(gt=0)],
@@ -7930,7 +7956,7 @@ class DatasetApi:
7930
7956
  :type organization_id: str
7931
7957
  :param dataset_id: the Dataset identifier (required)
7932
7958
  :type dataset_id: str
7933
- :param dataset: the new Dataset details. This endpoint can't be used to update security (required)
7959
+ :param dataset: The new Dataset details. This endpoint can't be used to update : - id - security (required)
7934
7960
  :type dataset: Dataset
7935
7961
  :param _request_timeout: timeout setting for this request. If one
7936
7962
  number provided, it will be total request
@@ -7985,7 +8011,7 @@ class DatasetApi:
7985
8011
  self,
7986
8012
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
7987
8013
  dataset_id: Annotated[StrictStr, Field(description="the Dataset identifier")],
7988
- dataset: Annotated[Dataset, Field(description="the new Dataset details. This endpoint can't be used to update security")],
8014
+ dataset: Annotated[Dataset, Field(description="The new Dataset details. This endpoint can't be used to update : - id - security ")],
7989
8015
  _request_timeout: Union[
7990
8016
  None,
7991
8017
  Annotated[StrictFloat, Field(gt=0)],
@@ -8006,7 +8032,7 @@ class DatasetApi:
8006
8032
  :type organization_id: str
8007
8033
  :param dataset_id: the Dataset identifier (required)
8008
8034
  :type dataset_id: str
8009
- :param dataset: the new Dataset details. This endpoint can't be used to update security (required)
8035
+ :param dataset: The new Dataset details. This endpoint can't be used to update : - id - security (required)
8010
8036
  :type dataset: Dataset
8011
8037
  :param _request_timeout: timeout setting for this request. If one
8012
8038
  number provided, it will be total request
@@ -8061,7 +8087,7 @@ class DatasetApi:
8061
8087
  self,
8062
8088
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
8063
8089
  dataset_id: Annotated[StrictStr, Field(description="the Dataset identifier")],
8064
- dataset: Annotated[Dataset, Field(description="the new Dataset details. This endpoint can't be used to update security")],
8090
+ dataset: Annotated[Dataset, Field(description="The new Dataset details. This endpoint can't be used to update : - id - security ")],
8065
8091
  _request_timeout: Union[
8066
8092
  None,
8067
8093
  Annotated[StrictFloat, Field(gt=0)],
@@ -8082,7 +8108,7 @@ class DatasetApi:
8082
8108
  :type organization_id: str
8083
8109
  :param dataset_id: the Dataset identifier (required)
8084
8110
  :type dataset_id: str
8085
- :param dataset: the new Dataset details. This endpoint can't be used to update security (required)
8111
+ :param dataset: The new Dataset details. This endpoint can't be used to update : - id - security (required)
8086
8112
  :type dataset: Dataset
8087
8113
  :param _request_timeout: timeout setting for this request. If one
8088
8114
  number provided, it will be total request
@@ -8148,7 +8174,7 @@ class DatasetApi:
8148
8174
  _query_params: List[Tuple[str, str]] = []
8149
8175
  _header_params: Dict[str, Optional[str]] = _headers or {}
8150
8176
  _form_params: List[Tuple[str, str]] = []
8151
- _files: Dict[str, str] = {}
8177
+ _files: Dict[str, Union[str, bytes]] = {}
8152
8178
  _body_params: Optional[bytes] = None
8153
8179
 
8154
8180
  # process the path parameters
@@ -8165,11 +8191,12 @@ class DatasetApi:
8165
8191
 
8166
8192
 
8167
8193
  # set the HTTP header `Accept`
8168
- _header_params['Accept'] = self.api_client.select_header_accept(
8169
- [
8170
- 'application/json'
8171
- ]
8172
- )
8194
+ if 'Accept' not in _header_params:
8195
+ _header_params['Accept'] = self.api_client.select_header_accept(
8196
+ [
8197
+ 'application/json'
8198
+ ]
8199
+ )
8173
8200
 
8174
8201
  # set the HTTP header `Content-Type`
8175
8202
  if _content_type:
@@ -8463,7 +8490,7 @@ class DatasetApi:
8463
8490
  _query_params: List[Tuple[str, str]] = []
8464
8491
  _header_params: Dict[str, Optional[str]] = _headers or {}
8465
8492
  _form_params: List[Tuple[str, str]] = []
8466
- _files: Dict[str, str] = {}
8493
+ _files: Dict[str, Union[str, bytes]] = {}
8467
8494
  _body_params: Optional[bytes] = None
8468
8495
 
8469
8496
  # process the path parameters
@@ -8482,11 +8509,12 @@ class DatasetApi:
8482
8509
 
8483
8510
 
8484
8511
  # set the HTTP header `Accept`
8485
- _header_params['Accept'] = self.api_client.select_header_accept(
8486
- [
8487
- 'application/json'
8488
- ]
8489
- )
8512
+ if 'Accept' not in _header_params:
8513
+ _header_params['Accept'] = self.api_client.select_header_accept(
8514
+ [
8515
+ 'application/json'
8516
+ ]
8517
+ )
8490
8518
 
8491
8519
  # set the HTTP header `Content-Type`
8492
8520
  if _content_type:
@@ -8531,7 +8559,7 @@ class DatasetApi:
8531
8559
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
8532
8560
  dataset_id: Annotated[StrictStr, Field(description="the Dataset Identifier")],
8533
8561
  type: Annotated[StrictStr, Field(description="the entity model type")],
8534
- graph_properties: Annotated[List[GraphProperties], Field(description="the entities to update")],
8562
+ graph_properties: Annotated[List[GraphProperties], Field(description="The entities to update Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true ")],
8535
8563
  _request_timeout: Union[
8536
8564
  None,
8537
8565
  Annotated[StrictFloat, Field(gt=0)],
@@ -8555,7 +8583,7 @@ class DatasetApi:
8555
8583
  :type dataset_id: str
8556
8584
  :param type: the entity model type (required)
8557
8585
  :type type: str
8558
- :param graph_properties: the entities to update (required)
8586
+ :param graph_properties: The entities to update Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true (required)
8559
8587
  :type graph_properties: List[GraphProperties]
8560
8588
  :param _request_timeout: timeout setting for this request. If one
8561
8589
  number provided, it will be total request
@@ -8610,7 +8638,7 @@ class DatasetApi:
8610
8638
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
8611
8639
  dataset_id: Annotated[StrictStr, Field(description="the Dataset Identifier")],
8612
8640
  type: Annotated[StrictStr, Field(description="the entity model type")],
8613
- graph_properties: Annotated[List[GraphProperties], Field(description="the entities to update")],
8641
+ graph_properties: Annotated[List[GraphProperties], Field(description="The entities to update Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true ")],
8614
8642
  _request_timeout: Union[
8615
8643
  None,
8616
8644
  Annotated[StrictFloat, Field(gt=0)],
@@ -8634,7 +8662,7 @@ class DatasetApi:
8634
8662
  :type dataset_id: str
8635
8663
  :param type: the entity model type (required)
8636
8664
  :type type: str
8637
- :param graph_properties: the entities to update (required)
8665
+ :param graph_properties: The entities to update Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true (required)
8638
8666
  :type graph_properties: List[GraphProperties]
8639
8667
  :param _request_timeout: timeout setting for this request. If one
8640
8668
  number provided, it will be total request
@@ -8689,7 +8717,7 @@ class DatasetApi:
8689
8717
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
8690
8718
  dataset_id: Annotated[StrictStr, Field(description="the Dataset Identifier")],
8691
8719
  type: Annotated[StrictStr, Field(description="the entity model type")],
8692
- graph_properties: Annotated[List[GraphProperties], Field(description="the entities to update")],
8720
+ graph_properties: Annotated[List[GraphProperties], Field(description="The entities to update Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true ")],
8693
8721
  _request_timeout: Union[
8694
8722
  None,
8695
8723
  Annotated[StrictFloat, Field(gt=0)],
@@ -8713,7 +8741,7 @@ class DatasetApi:
8713
8741
  :type dataset_id: str
8714
8742
  :param type: the entity model type (required)
8715
8743
  :type type: str
8716
- :param graph_properties: the entities to update (required)
8744
+ :param graph_properties: The entities to update Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true (required)
8717
8745
  :type graph_properties: List[GraphProperties]
8718
8746
  :param _request_timeout: timeout setting for this request. If one
8719
8747
  number provided, it will be total request
@@ -8780,7 +8808,7 @@ class DatasetApi:
8780
8808
  _query_params: List[Tuple[str, str]] = []
8781
8809
  _header_params: Dict[str, Optional[str]] = _headers or {}
8782
8810
  _form_params: List[Tuple[str, str]] = []
8783
- _files: Dict[str, str] = {}
8811
+ _files: Dict[str, Union[str, bytes]] = {}
8784
8812
  _body_params: Optional[bytes] = None
8785
8813
 
8786
8814
  # process the path parameters
@@ -8799,11 +8827,12 @@ class DatasetApi:
8799
8827
 
8800
8828
 
8801
8829
  # set the HTTP header `Accept`
8802
- _header_params['Accept'] = self.api_client.select_header_accept(
8803
- [
8804
- 'application/json'
8805
- ]
8806
- )
8830
+ if 'Accept' not in _header_params:
8831
+ _header_params['Accept'] = self.api_client.select_header_accept(
8832
+ [
8833
+ 'application/json'
8834
+ ]
8835
+ )
8807
8836
 
8808
8837
  # set the HTTP header `Content-Type`
8809
8838
  if _content_type:
@@ -8812,7 +8841,8 @@ class DatasetApi:
8812
8841
  _default_content_type = (
8813
8842
  self.api_client.select_header_content_type(
8814
8843
  [
8815
- 'application/json'
8844
+ 'application/json',
8845
+ 'application/yaml'
8816
8846
  ]
8817
8847
  )
8818
8848
  )
@@ -8863,7 +8893,7 @@ class DatasetApi:
8863
8893
  ) -> FileUploadValidation:
8864
8894
  """Upload data from zip file to dataset's twingraph
8865
8895
 
8866
- To create a new graph from flat files, you need to create a Zip file. This Zip file must countain two folders named Edges and Nodes. .zip hierarchy: *main_folder/Nodes *main_folder/Edges In each folder you can place one or multiple csv files containing your Nodes or Edges data. Your csv files must follow the following header (column name) requirements: The Nodes CSVs requires at least one column (the 1st).Column name = 'id'. It will represent the nodes ID Ids must be populated with string The Edges CSVs require three columns named, in order, * source * target * id those colomns represent * The source of the edge * The target of the edge * The id of the edge All following columns content are up to you.
8896
+ To create a new graph from flat files, you need to create a Zip file. This Zip file must countain two folders named Edges and Nodes. .zip hierarchy: *main_folder/Nodes *main_folder/Edges In each folder you can place one or multiple csv files containing your Nodes or Edges data. Your csv files must follow the following header (column name) requirements: The Nodes CSVs requires at least one column (the 1st).Column name = 'id'. It will represent the nodes ID Ids must be populated with string The Edges CSVs require three columns named, in order, * source * target * id those colomns represent * The source of the edge * The target of the edge * The id of the edge All following columns content are up to you. Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
8867
8897
 
8868
8898
  :param organization_id: the Organization identifier (required)
8869
8899
  :type organization_id: str
@@ -8938,7 +8968,7 @@ class DatasetApi:
8938
8968
  ) -> ApiResponse[FileUploadValidation]:
8939
8969
  """Upload data from zip file to dataset's twingraph
8940
8970
 
8941
- To create a new graph from flat files, you need to create a Zip file. This Zip file must countain two folders named Edges and Nodes. .zip hierarchy: *main_folder/Nodes *main_folder/Edges In each folder you can place one or multiple csv files containing your Nodes or Edges data. Your csv files must follow the following header (column name) requirements: The Nodes CSVs requires at least one column (the 1st).Column name = 'id'. It will represent the nodes ID Ids must be populated with string The Edges CSVs require three columns named, in order, * source * target * id those colomns represent * The source of the edge * The target of the edge * The id of the edge All following columns content are up to you.
8971
+ To create a new graph from flat files, you need to create a Zip file. This Zip file must countain two folders named Edges and Nodes. .zip hierarchy: *main_folder/Nodes *main_folder/Edges In each folder you can place one or multiple csv files containing your Nodes or Edges data. Your csv files must follow the following header (column name) requirements: The Nodes CSVs requires at least one column (the 1st).Column name = 'id'. It will represent the nodes ID Ids must be populated with string The Edges CSVs require three columns named, in order, * source * target * id those colomns represent * The source of the edge * The target of the edge * The id of the edge All following columns content are up to you. Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
8942
8972
 
8943
8973
  :param organization_id: the Organization identifier (required)
8944
8974
  :type organization_id: str
@@ -9013,7 +9043,7 @@ class DatasetApi:
9013
9043
  ) -> RESTResponseType:
9014
9044
  """Upload data from zip file to dataset's twingraph
9015
9045
 
9016
- To create a new graph from flat files, you need to create a Zip file. This Zip file must countain two folders named Edges and Nodes. .zip hierarchy: *main_folder/Nodes *main_folder/Edges In each folder you can place one or multiple csv files containing your Nodes or Edges data. Your csv files must follow the following header (column name) requirements: The Nodes CSVs requires at least one column (the 1st).Column name = 'id'. It will represent the nodes ID Ids must be populated with string The Edges CSVs require three columns named, in order, * source * target * id those colomns represent * The source of the edge * The target of the edge * The id of the edge All following columns content are up to you.
9046
+ To create a new graph from flat files, you need to create a Zip file. This Zip file must countain two folders named Edges and Nodes. .zip hierarchy: *main_folder/Nodes *main_folder/Edges In each folder you can place one or multiple csv files containing your Nodes or Edges data. Your csv files must follow the following header (column name) requirements: The Nodes CSVs requires at least one column (the 1st).Column name = 'id'. It will represent the nodes ID Ids must be populated with string The Edges CSVs require three columns named, in order, * source * target * id those colomns represent * The source of the edge * The target of the edge * The id of the edge All following columns content are up to you. Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
9017
9047
 
9018
9048
  :param organization_id: the Organization identifier (required)
9019
9049
  :type organization_id: str
@@ -9083,7 +9113,7 @@ class DatasetApi:
9083
9113
  _query_params: List[Tuple[str, str]] = []
9084
9114
  _header_params: Dict[str, Optional[str]] = _headers or {}
9085
9115
  _form_params: List[Tuple[str, str]] = []
9086
- _files: Dict[str, str] = {}
9116
+ _files: Dict[str, Union[str, bytes]] = {}
9087
9117
  _body_params: Optional[bytes] = None
9088
9118
 
9089
9119
  # process the path parameters
@@ -9105,11 +9135,12 @@ class DatasetApi:
9105
9135
 
9106
9136
 
9107
9137
  # set the HTTP header `Accept`
9108
- _header_params['Accept'] = self.api_client.select_header_accept(
9109
- [
9110
- 'application/json'
9111
- ]
9112
- )
9138
+ if 'Accept' not in _header_params:
9139
+ _header_params['Accept'] = self.api_client.select_header_accept(
9140
+ [
9141
+ 'application/json'
9142
+ ]
9143
+ )
9113
9144
 
9114
9145
  # set the HTTP header `Content-Type`
9115
9146
  if _content_type: