cosmotech-api 3.2.6.dev2__py3-none-any.whl → 4.0.0.dev8__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of cosmotech-api might be problematic. Click here for more details.

Files changed (244) hide show
  1. cosmotech_api/__init__.py +3 -45
  2. cosmotech_api/api/__init__.py +0 -3
  3. cosmotech_api/api/connector_api.py +30 -282
  4. cosmotech_api/api/dataset_api.py +214 -187
  5. cosmotech_api/api/organization_api.py +94 -943
  6. cosmotech_api/api/run_api.py +51 -45
  7. cosmotech_api/api/runner_api.py +101 -88
  8. cosmotech_api/api/scenario_api.py +1 -1
  9. cosmotech_api/api/scenariorun_api.py +1 -1
  10. cosmotech_api/api/scenariorunresult_api.py +1 -1
  11. cosmotech_api/api/solution_api.py +487 -1124
  12. cosmotech_api/api/twingraph_api.py +1 -1
  13. cosmotech_api/api/validator_api.py +1 -1
  14. cosmotech_api/api/workspace_api.py +129 -416
  15. cosmotech_api/api_client.py +59 -29
  16. cosmotech_api/configuration.py +21 -15
  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 +3 -42
  126. cosmotech_api/models/component_role_permissions.py +7 -7
  127. cosmotech_api/models/connector.py +11 -15
  128. cosmotech_api/models/connector_parameter.py +7 -7
  129. cosmotech_api/models/connector_parameter_group.py +10 -10
  130. cosmotech_api/models/container_resource_size_info.py +7 -7
  131. cosmotech_api/models/container_resource_sizing.py +7 -7
  132. cosmotech_api/models/created_run.py +88 -0
  133. cosmotech_api/models/dataset.py +10 -10
  134. cosmotech_api/models/dataset_access_control.py +7 -7
  135. cosmotech_api/models/dataset_compatibility.py +7 -7
  136. cosmotech_api/models/dataset_connector.py +7 -7
  137. cosmotech_api/models/dataset_copy_parameters.py +7 -7
  138. cosmotech_api/models/dataset_role.py +7 -7
  139. cosmotech_api/models/dataset_search.py +7 -7
  140. cosmotech_api/models/dataset_security.py +10 -10
  141. cosmotech_api/models/dataset_source_type.py +1 -1
  142. cosmotech_api/models/dataset_twin_graph_hash.py +7 -7
  143. cosmotech_api/models/dataset_twin_graph_info.py +7 -7
  144. cosmotech_api/models/dataset_twin_graph_query.py +7 -7
  145. cosmotech_api/models/delete_historical_data.py +7 -7
  146. cosmotech_api/models/file_upload_metadata.py +7 -7
  147. cosmotech_api/models/file_upload_validation.py +13 -13
  148. cosmotech_api/models/graph_properties.py +7 -7
  149. cosmotech_api/models/ingestion_status_enum.py +1 -1
  150. cosmotech_api/models/io_types_enum.py +1 -1
  151. cosmotech_api/models/organization.py +8 -14
  152. cosmotech_api/models/organization_access_control.py +7 -7
  153. cosmotech_api/models/organization_role.py +7 -7
  154. cosmotech_api/models/organization_security.py +10 -10
  155. cosmotech_api/models/organization_service.py +1 -1
  156. cosmotech_api/models/organization_services.py +1 -1
  157. cosmotech_api/models/query_result.py +7 -7
  158. cosmotech_api/models/resource_size_info.py +7 -7
  159. cosmotech_api/models/run.py +13 -13
  160. cosmotech_api/models/run_container.py +9 -19
  161. cosmotech_api/models/run_container_artifact.py +1 -1
  162. cosmotech_api/models/run_container_logs.py +1 -1
  163. cosmotech_api/models/run_data.py +7 -7
  164. cosmotech_api/models/run_data_query.py +7 -7
  165. cosmotech_api/models/run_logs.py +22 -27
  166. cosmotech_api/models/run_logs_entry.py +88 -0
  167. cosmotech_api/models/run_resource_requested.py +7 -7
  168. cosmotech_api/models/run_search.py +1 -1
  169. cosmotech_api/models/run_search_state.py +1 -1
  170. cosmotech_api/models/run_start_containers.py +1 -1
  171. cosmotech_api/models/run_state.py +1 -1
  172. cosmotech_api/models/run_status.py +10 -10
  173. cosmotech_api/models/run_status_node.py +7 -7
  174. cosmotech_api/models/run_template.py +7 -7
  175. cosmotech_api/models/run_template_handler_id.py +1 -1
  176. cosmotech_api/models/run_template_orchestrator.py +1 -1
  177. cosmotech_api/models/run_template_parameter.py +7 -7
  178. cosmotech_api/models/run_template_parameter_group.py +7 -7
  179. cosmotech_api/models/run_template_parameter_value.py +7 -7
  180. cosmotech_api/models/run_template_resource_sizing.py +7 -7
  181. cosmotech_api/models/run_template_step_source.py +1 -1
  182. cosmotech_api/models/runner.py +11 -11
  183. cosmotech_api/models/runner_access_control.py +7 -7
  184. cosmotech_api/models/runner_changed_parameter_value.py +1 -1
  185. cosmotech_api/models/runner_comparison_result.py +1 -1
  186. cosmotech_api/models/runner_data_download_info.py +1 -1
  187. cosmotech_api/models/runner_data_download_job.py +1 -1
  188. cosmotech_api/models/runner_resource_sizing.py +7 -7
  189. cosmotech_api/models/runner_role.py +7 -7
  190. cosmotech_api/models/runner_run_template_parameter_value.py +7 -7
  191. cosmotech_api/models/runner_security.py +10 -10
  192. cosmotech_api/models/runner_validation_status.py +1 -1
  193. cosmotech_api/models/scenario.py +2 -2
  194. cosmotech_api/models/scenario_access_control.py +1 -1
  195. cosmotech_api/models/scenario_changed_parameter_value.py +1 -1
  196. cosmotech_api/models/scenario_comparison_result.py +1 -1
  197. cosmotech_api/models/scenario_data_download_info.py +1 -1
  198. cosmotech_api/models/scenario_data_download_job.py +1 -1
  199. cosmotech_api/models/scenario_job_state.py +1 -1
  200. cosmotech_api/models/scenario_last_run.py +1 -1
  201. cosmotech_api/models/scenario_resource_sizing.py +1 -1
  202. cosmotech_api/models/scenario_role.py +1 -1
  203. cosmotech_api/models/scenario_run.py +1 -1
  204. cosmotech_api/models/scenario_run_container.py +1 -1
  205. cosmotech_api/models/scenario_run_container_artifact.py +1 -1
  206. cosmotech_api/models/scenario_run_container_logs.py +1 -1
  207. cosmotech_api/models/scenario_run_logs.py +1 -1
  208. cosmotech_api/models/scenario_run_resource_requested.py +1 -1
  209. cosmotech_api/models/scenario_run_search.py +1 -1
  210. cosmotech_api/models/scenario_run_search_state.py +1 -1
  211. cosmotech_api/models/scenario_run_start_containers.py +1 -1
  212. cosmotech_api/models/scenario_run_state.py +1 -1
  213. cosmotech_api/models/scenario_run_status.py +1 -1
  214. cosmotech_api/models/scenario_run_status_node.py +1 -1
  215. cosmotech_api/models/scenario_run_template_parameter_value.py +1 -1
  216. cosmotech_api/models/scenario_security.py +1 -1
  217. cosmotech_api/models/scenario_validation_status.py +1 -1
  218. cosmotech_api/models/send_run_data_request.py +7 -7
  219. cosmotech_api/models/solution.py +17 -17
  220. cosmotech_api/models/solution_access_control.py +7 -7
  221. cosmotech_api/models/solution_role.py +7 -7
  222. cosmotech_api/models/solution_security.py +10 -10
  223. cosmotech_api/models/source_info.py +7 -7
  224. cosmotech_api/models/sub_dataset_graph_query.py +7 -7
  225. cosmotech_api/models/twin_graph_batch_result.py +7 -7
  226. cosmotech_api/models/twin_graph_hash.py +1 -1
  227. cosmotech_api/models/twin_graph_query.py +1 -1
  228. cosmotech_api/models/twincache_status_enum.py +1 -1
  229. cosmotech_api/models/validator.py +1 -1
  230. cosmotech_api/models/workspace.py +8 -8
  231. cosmotech_api/models/workspace_access_control.py +7 -7
  232. cosmotech_api/models/workspace_file.py +7 -7
  233. cosmotech_api/models/workspace_role.py +7 -7
  234. cosmotech_api/models/workspace_secret.py +1 -1
  235. cosmotech_api/models/workspace_security.py +10 -10
  236. cosmotech_api/models/workspace_solution.py +7 -7
  237. cosmotech_api/models/workspace_web_app.py +7 -7
  238. cosmotech_api/rest.py +3 -1
  239. {cosmotech_api-3.2.6.dev2.dist-info → cosmotech_api-4.0.0.dev8.dist-info}/METADATA +1 -1
  240. cosmotech_api-4.0.0.dev8.dist-info/RECORD +262 -0
  241. {cosmotech_api-3.2.6.dev2.dist-info → cosmotech_api-4.0.0.dev8.dist-info}/WHEEL +1 -1
  242. cosmotech_api-3.2.6.dev2.dist-info/RECORD +0 -260
  243. {cosmotech_api-3.2.6.dev2.dist-info → cosmotech_api-4.0.0.dev8.dist-info}/LICENSE +0 -0
  244. {cosmotech_api-3.2.6.dev2.dist-info → cosmotech_api-4.0.0.dev8.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: 4.0.0-onprem.8
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:
@@ -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:
@@ -1796,7 +1801,7 @@ class DatasetApi:
1796
1801
  _query_params: List[Tuple[str, str]] = []
1797
1802
  _header_params: Dict[str, Optional[str]] = _headers or {}
1798
1803
  _form_params: List[Tuple[str, str]] = []
1799
- _files: Dict[str, str] = {}
1804
+ _files: Dict[str, Union[str, bytes]] = {}
1800
1805
  _body_params: Optional[bytes] = None
1801
1806
 
1802
1807
  # process the path parameters
@@ -1815,11 +1820,12 @@ class DatasetApi:
1815
1820
 
1816
1821
 
1817
1822
  # set the HTTP header `Accept`
1818
- _header_params['Accept'] = self.api_client.select_header_accept(
1819
- [
1820
- 'application/json'
1821
- ]
1822
- )
1823
+ if 'Accept' not in _header_params:
1824
+ _header_params['Accept'] = self.api_client.select_header_accept(
1825
+ [
1826
+ 'application/json'
1827
+ ]
1828
+ )
1823
1829
 
1824
1830
  # set the HTTP header `Content-Type`
1825
1831
  if _content_type:
@@ -2086,7 +2092,7 @@ class DatasetApi:
2086
2092
  _query_params: List[Tuple[str, str]] = []
2087
2093
  _header_params: Dict[str, Optional[str]] = _headers or {}
2088
2094
  _form_params: List[Tuple[str, str]] = []
2089
- _files: Dict[str, str] = {}
2095
+ _files: Dict[str, Union[str, bytes]] = {}
2090
2096
  _body_params: Optional[bytes] = None
2091
2097
 
2092
2098
  # process the path parameters
@@ -2191,7 +2197,7 @@ class DatasetApi:
2191
2197
  )
2192
2198
 
2193
2199
  _response_types_map: Dict[str, Optional[str]] = {
2194
- '200': None,
2200
+ '204': None,
2195
2201
  }
2196
2202
  response_data = self.api_client.call_api(
2197
2203
  *_param,
@@ -2270,7 +2276,7 @@ class DatasetApi:
2270
2276
  )
2271
2277
 
2272
2278
  _response_types_map: Dict[str, Optional[str]] = {
2273
- '200': None,
2279
+ '204': None,
2274
2280
  }
2275
2281
  response_data = self.api_client.call_api(
2276
2282
  *_param,
@@ -2349,7 +2355,7 @@ class DatasetApi:
2349
2355
  )
2350
2356
 
2351
2357
  _response_types_map: Dict[str, Optional[str]] = {
2352
- '200': None,
2358
+ '204': None,
2353
2359
  }
2354
2360
  response_data = self.api_client.call_api(
2355
2361
  *_param,
@@ -2380,7 +2386,7 @@ class DatasetApi:
2380
2386
  _query_params: List[Tuple[str, str]] = []
2381
2387
  _header_params: Dict[str, Optional[str]] = _headers or {}
2382
2388
  _form_params: List[Tuple[str, str]] = []
2383
- _files: Dict[str, str] = {}
2389
+ _files: Dict[str, Union[str, bytes]] = {}
2384
2390
  _body_params: Optional[bytes] = None
2385
2391
 
2386
2392
  # process the path parameters
@@ -2653,7 +2659,7 @@ class DatasetApi:
2653
2659
  _query_params: List[Tuple[str, str]] = []
2654
2660
  _header_params: Dict[str, Optional[str]] = _headers or {}
2655
2661
  _form_params: List[Tuple[str, str]] = []
2656
- _files: Dict[str, str] = {}
2662
+ _files: Dict[str, Union[str, bytes]] = {}
2657
2663
  _body_params: Optional[bytes] = None
2658
2664
 
2659
2665
  # process the path parameters
@@ -2668,11 +2674,12 @@ class DatasetApi:
2668
2674
 
2669
2675
 
2670
2676
  # set the HTTP header `Accept`
2671
- _header_params['Accept'] = self.api_client.select_header_accept(
2672
- [
2673
- 'application/octet-stream'
2674
- ]
2675
- )
2677
+ if 'Accept' not in _header_params:
2678
+ _header_params['Accept'] = self.api_client.select_header_accept(
2679
+ [
2680
+ 'application/octet-stream'
2681
+ ]
2682
+ )
2676
2683
 
2677
2684
 
2678
2685
  # authentication setting
@@ -2702,7 +2709,7 @@ class DatasetApi:
2702
2709
  def find_all_datasets(
2703
2710
  self,
2704
2711
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
2705
- page: Annotated[Optional[StrictInt], Field(description="page number to query")] = None,
2712
+ page: Annotated[Optional[StrictInt], Field(description="page number to query (first page is at index 0)")] = None,
2706
2713
  size: Annotated[Optional[StrictInt], Field(description="amount of result by page")] = None,
2707
2714
  _request_timeout: Union[
2708
2715
  None,
@@ -2722,7 +2729,7 @@ class DatasetApi:
2722
2729
 
2723
2730
  :param organization_id: the Organization identifier (required)
2724
2731
  :type organization_id: str
2725
- :param page: page number to query
2732
+ :param page: page number to query (first page is at index 0)
2726
2733
  :type page: int
2727
2734
  :param size: amount of result by page
2728
2735
  :type size: int
@@ -2776,7 +2783,7 @@ class DatasetApi:
2776
2783
  def find_all_datasets_with_http_info(
2777
2784
  self,
2778
2785
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
2779
- page: Annotated[Optional[StrictInt], Field(description="page number to query")] = None,
2786
+ page: Annotated[Optional[StrictInt], Field(description="page number to query (first page is at index 0)")] = None,
2780
2787
  size: Annotated[Optional[StrictInt], Field(description="amount of result by page")] = None,
2781
2788
  _request_timeout: Union[
2782
2789
  None,
@@ -2796,7 +2803,7 @@ class DatasetApi:
2796
2803
 
2797
2804
  :param organization_id: the Organization identifier (required)
2798
2805
  :type organization_id: str
2799
- :param page: page number to query
2806
+ :param page: page number to query (first page is at index 0)
2800
2807
  :type page: int
2801
2808
  :param size: amount of result by page
2802
2809
  :type size: int
@@ -2850,7 +2857,7 @@ class DatasetApi:
2850
2857
  def find_all_datasets_without_preload_content(
2851
2858
  self,
2852
2859
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
2853
- page: Annotated[Optional[StrictInt], Field(description="page number to query")] = None,
2860
+ page: Annotated[Optional[StrictInt], Field(description="page number to query (first page is at index 0)")] = None,
2854
2861
  size: Annotated[Optional[StrictInt], Field(description="amount of result by page")] = None,
2855
2862
  _request_timeout: Union[
2856
2863
  None,
@@ -2870,7 +2877,7 @@ class DatasetApi:
2870
2877
 
2871
2878
  :param organization_id: the Organization identifier (required)
2872
2879
  :type organization_id: str
2873
- :param page: page number to query
2880
+ :param page: page number to query (first page is at index 0)
2874
2881
  :type page: int
2875
2882
  :param size: amount of result by page
2876
2883
  :type size: int
@@ -2936,7 +2943,7 @@ class DatasetApi:
2936
2943
  _query_params: List[Tuple[str, str]] = []
2937
2944
  _header_params: Dict[str, Optional[str]] = _headers or {}
2938
2945
  _form_params: List[Tuple[str, str]] = []
2939
- _files: Dict[str, str] = {}
2946
+ _files: Dict[str, Union[str, bytes]] = {}
2940
2947
  _body_params: Optional[bytes] = None
2941
2948
 
2942
2949
  # process the path parameters
@@ -2957,11 +2964,12 @@ class DatasetApi:
2957
2964
 
2958
2965
 
2959
2966
  # set the HTTP header `Accept`
2960
- _header_params['Accept'] = self.api_client.select_header_accept(
2961
- [
2962
- 'application/json'
2963
- ]
2964
- )
2967
+ if 'Accept' not in _header_params:
2968
+ _header_params['Accept'] = self.api_client.select_header_accept(
2969
+ [
2970
+ 'application/json'
2971
+ ]
2972
+ )
2965
2973
 
2966
2974
 
2967
2975
  # authentication setting
@@ -3215,7 +3223,7 @@ class DatasetApi:
3215
3223
  _query_params: List[Tuple[str, str]] = []
3216
3224
  _header_params: Dict[str, Optional[str]] = _headers or {}
3217
3225
  _form_params: List[Tuple[str, str]] = []
3218
- _files: Dict[str, str] = {}
3226
+ _files: Dict[str, Union[str, bytes]] = {}
3219
3227
  _body_params: Optional[bytes] = None
3220
3228
 
3221
3229
  # process the path parameters
@@ -3230,11 +3238,12 @@ class DatasetApi:
3230
3238
 
3231
3239
 
3232
3240
  # set the HTTP header `Accept`
3233
- _header_params['Accept'] = self.api_client.select_header_accept(
3234
- [
3235
- 'application/json'
3236
- ]
3237
- )
3241
+ if 'Accept' not in _header_params:
3242
+ _header_params['Accept'] = self.api_client.select_header_accept(
3243
+ [
3244
+ 'application/json'
3245
+ ]
3246
+ )
3238
3247
 
3239
3248
 
3240
3249
  # authentication setting
@@ -3501,7 +3510,7 @@ class DatasetApi:
3501
3510
  _query_params: List[Tuple[str, str]] = []
3502
3511
  _header_params: Dict[str, Optional[str]] = _headers or {}
3503
3512
  _form_params: List[Tuple[str, str]] = []
3504
- _files: Dict[str, str] = {}
3513
+ _files: Dict[str, Union[str, bytes]] = {}
3505
3514
  _body_params: Optional[bytes] = None
3506
3515
 
3507
3516
  # process the path parameters
@@ -3518,11 +3527,12 @@ class DatasetApi:
3518
3527
 
3519
3528
 
3520
3529
  # set the HTTP header `Accept`
3521
- _header_params['Accept'] = self.api_client.select_header_accept(
3522
- [
3523
- 'application/json'
3524
- ]
3525
- )
3530
+ if 'Accept' not in _header_params:
3531
+ _header_params['Accept'] = self.api_client.select_header_accept(
3532
+ [
3533
+ 'application/json'
3534
+ ]
3535
+ )
3526
3536
 
3527
3537
 
3528
3538
  # authentication setting
@@ -3776,7 +3786,7 @@ class DatasetApi:
3776
3786
  _query_params: List[Tuple[str, str]] = []
3777
3787
  _header_params: Dict[str, Optional[str]] = _headers or {}
3778
3788
  _form_params: List[Tuple[str, str]] = []
3779
- _files: Dict[str, str] = {}
3789
+ _files: Dict[str, Union[str, bytes]] = {}
3780
3790
  _body_params: Optional[bytes] = None
3781
3791
 
3782
3792
  # process the path parameters
@@ -3791,11 +3801,12 @@ class DatasetApi:
3791
3801
 
3792
3802
 
3793
3803
  # set the HTTP header `Accept`
3794
- _header_params['Accept'] = self.api_client.select_header_accept(
3795
- [
3796
- 'application/json'
3797
- ]
3798
- )
3804
+ if 'Accept' not in _header_params:
3805
+ _header_params['Accept'] = self.api_client.select_header_accept(
3806
+ [
3807
+ 'application/json'
3808
+ ]
3809
+ )
3799
3810
 
3800
3811
 
3801
3812
  # authentication setting
@@ -4049,7 +4060,7 @@ class DatasetApi:
4049
4060
  _query_params: List[Tuple[str, str]] = []
4050
4061
  _header_params: Dict[str, Optional[str]] = _headers or {}
4051
4062
  _form_params: List[Tuple[str, str]] = []
4052
- _files: Dict[str, str] = {}
4063
+ _files: Dict[str, Union[str, bytes]] = {}
4053
4064
  _body_params: Optional[bytes] = None
4054
4065
 
4055
4066
  # process the path parameters
@@ -4064,11 +4075,12 @@ class DatasetApi:
4064
4075
 
4065
4076
 
4066
4077
  # set the HTTP header `Accept`
4067
- _header_params['Accept'] = self.api_client.select_header_accept(
4068
- [
4069
- 'application/json'
4070
- ]
4071
- )
4078
+ if 'Accept' not in _header_params:
4079
+ _header_params['Accept'] = self.api_client.select_header_accept(
4080
+ [
4081
+ 'application/json'
4082
+ ]
4083
+ )
4072
4084
 
4073
4085
 
4074
4086
  # authentication setting
@@ -4322,7 +4334,7 @@ class DatasetApi:
4322
4334
  _query_params: List[Tuple[str, str]] = []
4323
4335
  _header_params: Dict[str, Optional[str]] = _headers or {}
4324
4336
  _form_params: List[Tuple[str, str]] = []
4325
- _files: Dict[str, str] = {}
4337
+ _files: Dict[str, Union[str, bytes]] = {}
4326
4338
  _body_params: Optional[bytes] = None
4327
4339
 
4328
4340
  # process the path parameters
@@ -4337,12 +4349,13 @@ class DatasetApi:
4337
4349
 
4338
4350
 
4339
4351
  # set the HTTP header `Accept`
4340
- _header_params['Accept'] = self.api_client.select_header_accept(
4341
- [
4342
- 'application/yaml',
4343
- 'application/json'
4344
- ]
4345
- )
4352
+ if 'Accept' not in _header_params:
4353
+ _header_params['Accept'] = self.api_client.select_header_accept(
4354
+ [
4355
+ 'application/yaml',
4356
+ 'application/json'
4357
+ ]
4358
+ )
4346
4359
 
4347
4360
 
4348
4361
  # authentication setting
@@ -4623,7 +4636,7 @@ class DatasetApi:
4623
4636
  _query_params: List[Tuple[str, str]] = []
4624
4637
  _header_params: Dict[str, Optional[str]] = _headers or {}
4625
4638
  _form_params: List[Tuple[str, str]] = []
4626
- _files: Dict[str, str] = {}
4639
+ _files: Dict[str, Union[str, bytes]] = {}
4627
4640
  _body_params: Optional[bytes] = None
4628
4641
 
4629
4642
  # process the path parameters
@@ -4644,11 +4657,12 @@ class DatasetApi:
4644
4657
 
4645
4658
 
4646
4659
  # set the HTTP header `Accept`
4647
- _header_params['Accept'] = self.api_client.select_header_accept(
4648
- [
4649
- 'application/json'
4650
- ]
4651
- )
4660
+ if 'Accept' not in _header_params:
4661
+ _header_params['Accept'] = self.api_client.select_header_accept(
4662
+ [
4663
+ 'application/json'
4664
+ ]
4665
+ )
4652
4666
 
4653
4667
 
4654
4668
  # authentication setting
@@ -4918,7 +4932,7 @@ class DatasetApi:
4918
4932
  _query_params: List[Tuple[str, str]] = []
4919
4933
  _header_params: Dict[str, Optional[str]] = _headers or {}
4920
4934
  _form_params: List[Tuple[str, str]] = []
4921
- _files: Dict[str, str] = {}
4935
+ _files: Dict[str, Union[str, bytes]] = {}
4922
4936
  _body_params: Optional[bytes] = None
4923
4937
 
4924
4938
  # process the path parameters
@@ -4937,11 +4951,12 @@ class DatasetApi:
4937
4951
 
4938
4952
 
4939
4953
  # set the HTTP header `Accept`
4940
- _header_params['Accept'] = self.api_client.select_header_accept(
4941
- [
4942
- 'application/json'
4943
- ]
4944
- )
4954
+ if 'Accept' not in _header_params:
4955
+ _header_params['Accept'] = self.api_client.select_header_accept(
4956
+ [
4957
+ 'application/json'
4958
+ ]
4959
+ )
4945
4960
 
4946
4961
 
4947
4962
  # authentication setting
@@ -4987,7 +5002,7 @@ class DatasetApi:
4987
5002
  ) -> DatasetTwinGraphInfo:
4988
5003
  """Refresh data on dataset from dataset's source
4989
5004
 
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
5005
+ 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
4991
5006
 
4992
5007
  :param organization_id: the Organization identifier (required)
4993
5008
  :type organization_id: str
@@ -5058,7 +5073,7 @@ class DatasetApi:
5058
5073
  ) -> ApiResponse[DatasetTwinGraphInfo]:
5059
5074
  """Refresh data on dataset from dataset's source
5060
5075
 
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
5076
+ 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
5062
5077
 
5063
5078
  :param organization_id: the Organization identifier (required)
5064
5079
  :type organization_id: str
@@ -5129,7 +5144,7 @@ class DatasetApi:
5129
5144
  ) -> RESTResponseType:
5130
5145
  """Refresh data on dataset from dataset's source
5131
5146
 
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
5147
+ 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
5133
5148
 
5134
5149
  :param organization_id: the Organization identifier (required)
5135
5150
  :type organization_id: str
@@ -5195,7 +5210,7 @@ class DatasetApi:
5195
5210
  _query_params: List[Tuple[str, str]] = []
5196
5211
  _header_params: Dict[str, Optional[str]] = _headers or {}
5197
5212
  _form_params: List[Tuple[str, str]] = []
5198
- _files: Dict[str, str] = {}
5213
+ _files: Dict[str, Union[str, bytes]] = {}
5199
5214
  _body_params: Optional[bytes] = None
5200
5215
 
5201
5216
  # process the path parameters
@@ -5210,11 +5225,12 @@ class DatasetApi:
5210
5225
 
5211
5226
 
5212
5227
  # set the HTTP header `Accept`
5213
- _header_params['Accept'] = self.api_client.select_header_accept(
5214
- [
5215
- 'application/json'
5216
- ]
5217
- )
5228
+ if 'Accept' not in _header_params:
5229
+ _header_params['Accept'] = self.api_client.select_header_accept(
5230
+ [
5231
+ 'application/json'
5232
+ ]
5233
+ )
5218
5234
 
5219
5235
 
5220
5236
  # authentication setting
@@ -5468,7 +5484,7 @@ class DatasetApi:
5468
5484
  _query_params: List[Tuple[str, str]] = []
5469
5485
  _header_params: Dict[str, Optional[str]] = _headers or {}
5470
5486
  _form_params: List[Tuple[str, str]] = []
5471
- _files: Dict[str, str] = {}
5487
+ _files: Dict[str, Union[str, bytes]] = {}
5472
5488
  _body_params: Optional[bytes] = None
5473
5489
 
5474
5490
  # process the path parameters
@@ -5748,7 +5764,7 @@ class DatasetApi:
5748
5764
  _query_params: List[Tuple[str, str]] = []
5749
5765
  _header_params: Dict[str, Optional[str]] = _headers or {}
5750
5766
  _form_params: List[Tuple[str, str]] = []
5751
- _files: Dict[str, str] = {}
5767
+ _files: Dict[str, Union[str, bytes]] = {}
5752
5768
  _body_params: Optional[bytes] = None
5753
5769
 
5754
5770
  # process the path parameters
@@ -6017,7 +6033,7 @@ class DatasetApi:
6017
6033
  _query_params: List[Tuple[str, str]] = []
6018
6034
  _header_params: Dict[str, Optional[str]] = _headers or {}
6019
6035
  _form_params: List[Tuple[str, str]] = []
6020
- _files: Dict[str, str] = {}
6036
+ _files: Dict[str, Union[str, bytes]] = {}
6021
6037
  _body_params: Optional[bytes] = None
6022
6038
 
6023
6039
  # process the path parameters
@@ -6032,11 +6048,12 @@ class DatasetApi:
6032
6048
 
6033
6049
 
6034
6050
  # set the HTTP header `Accept`
6035
- _header_params['Accept'] = self.api_client.select_header_accept(
6036
- [
6037
- 'application/json'
6038
- ]
6039
- )
6051
+ if 'Accept' not in _header_params:
6052
+ _header_params['Accept'] = self.api_client.select_header_accept(
6053
+ [
6054
+ 'application/json'
6055
+ ]
6056
+ )
6040
6057
 
6041
6058
 
6042
6059
  # authentication setting
@@ -6067,7 +6084,7 @@ class DatasetApi:
6067
6084
  self,
6068
6085
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
6069
6086
  dataset_search: Annotated[DatasetSearch, Field(description="the Dataset search parameters")],
6070
- page: Annotated[Optional[StrictInt], Field(description="page number to query")] = None,
6087
+ page: Annotated[Optional[StrictInt], Field(description="page number to query (first page is at index 0)")] = None,
6071
6088
  size: Annotated[Optional[StrictInt], Field(description="amount of result by page")] = None,
6072
6089
  _request_timeout: Union[
6073
6090
  None,
@@ -6089,7 +6106,7 @@ class DatasetApi:
6089
6106
  :type organization_id: str
6090
6107
  :param dataset_search: the Dataset search parameters (required)
6091
6108
  :type dataset_search: DatasetSearch
6092
- :param page: page number to query
6109
+ :param page: page number to query (first page is at index 0)
6093
6110
  :type page: int
6094
6111
  :param size: amount of result by page
6095
6112
  :type size: int
@@ -6145,7 +6162,7 @@ class DatasetApi:
6145
6162
  self,
6146
6163
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
6147
6164
  dataset_search: Annotated[DatasetSearch, Field(description="the Dataset search parameters")],
6148
- page: Annotated[Optional[StrictInt], Field(description="page number to query")] = None,
6165
+ page: Annotated[Optional[StrictInt], Field(description="page number to query (first page is at index 0)")] = None,
6149
6166
  size: Annotated[Optional[StrictInt], Field(description="amount of result by page")] = None,
6150
6167
  _request_timeout: Union[
6151
6168
  None,
@@ -6167,7 +6184,7 @@ class DatasetApi:
6167
6184
  :type organization_id: str
6168
6185
  :param dataset_search: the Dataset search parameters (required)
6169
6186
  :type dataset_search: DatasetSearch
6170
- :param page: page number to query
6187
+ :param page: page number to query (first page is at index 0)
6171
6188
  :type page: int
6172
6189
  :param size: amount of result by page
6173
6190
  :type size: int
@@ -6223,7 +6240,7 @@ class DatasetApi:
6223
6240
  self,
6224
6241
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
6225
6242
  dataset_search: Annotated[DatasetSearch, Field(description="the Dataset search parameters")],
6226
- page: Annotated[Optional[StrictInt], Field(description="page number to query")] = None,
6243
+ page: Annotated[Optional[StrictInt], Field(description="page number to query (first page is at index 0)")] = None,
6227
6244
  size: Annotated[Optional[StrictInt], Field(description="amount of result by page")] = None,
6228
6245
  _request_timeout: Union[
6229
6246
  None,
@@ -6245,7 +6262,7 @@ class DatasetApi:
6245
6262
  :type organization_id: str
6246
6263
  :param dataset_search: the Dataset search parameters (required)
6247
6264
  :type dataset_search: DatasetSearch
6248
- :param page: page number to query
6265
+ :param page: page number to query (first page is at index 0)
6249
6266
  :type page: int
6250
6267
  :param size: amount of result by page
6251
6268
  :type size: int
@@ -6313,7 +6330,7 @@ class DatasetApi:
6313
6330
  _query_params: List[Tuple[str, str]] = []
6314
6331
  _header_params: Dict[str, Optional[str]] = _headers or {}
6315
6332
  _form_params: List[Tuple[str, str]] = []
6316
- _files: Dict[str, str] = {}
6333
+ _files: Dict[str, Union[str, bytes]] = {}
6317
6334
  _body_params: Optional[bytes] = None
6318
6335
 
6319
6336
  # process the path parameters
@@ -6336,11 +6353,12 @@ class DatasetApi:
6336
6353
 
6337
6354
 
6338
6355
  # set the HTTP header `Accept`
6339
- _header_params['Accept'] = self.api_client.select_header_accept(
6340
- [
6341
- 'application/json'
6342
- ]
6343
- )
6356
+ if 'Accept' not in _header_params:
6357
+ _header_params['Accept'] = self.api_client.select_header_accept(
6358
+ [
6359
+ 'application/json'
6360
+ ]
6361
+ )
6344
6362
 
6345
6363
  # set the HTTP header `Content-Type`
6346
6364
  if _content_type:
@@ -6621,7 +6639,7 @@ class DatasetApi:
6621
6639
  _query_params: List[Tuple[str, str]] = []
6622
6640
  _header_params: Dict[str, Optional[str]] = _headers or {}
6623
6641
  _form_params: List[Tuple[str, str]] = []
6624
- _files: Dict[str, str] = {}
6642
+ _files: Dict[str, Union[str, bytes]] = {}
6625
6643
  _body_params: Optional[bytes] = None
6626
6644
 
6627
6645
  # process the path parameters
@@ -6638,11 +6656,12 @@ class DatasetApi:
6638
6656
 
6639
6657
 
6640
6658
  # set the HTTP header `Accept`
6641
- _header_params['Accept'] = self.api_client.select_header_accept(
6642
- [
6643
- 'application/json'
6644
- ]
6645
- )
6659
+ if 'Accept' not in _header_params:
6660
+ _header_params['Accept'] = self.api_client.select_header_accept(
6661
+ [
6662
+ 'application/json'
6663
+ ]
6664
+ )
6646
6665
 
6647
6666
  # set the HTTP header `Content-Type`
6648
6667
  if _content_type:
@@ -6923,7 +6942,7 @@ class DatasetApi:
6923
6942
  _query_params: List[Tuple[str, str]] = []
6924
6943
  _header_params: Dict[str, Optional[str]] = _headers or {}
6925
6944
  _form_params: List[Tuple[str, str]] = []
6926
- _files: Dict[str, str] = {}
6945
+ _files: Dict[str, Union[str, bytes]] = {}
6927
6946
  _body_params: Optional[bytes] = None
6928
6947
 
6929
6948
  # process the path parameters
@@ -6940,11 +6959,12 @@ class DatasetApi:
6940
6959
 
6941
6960
 
6942
6961
  # set the HTTP header `Accept`
6943
- _header_params['Accept'] = self.api_client.select_header_accept(
6944
- [
6945
- 'application/json'
6946
- ]
6947
- )
6962
+ if 'Accept' not in _header_params:
6963
+ _header_params['Accept'] = self.api_client.select_header_accept(
6964
+ [
6965
+ 'application/json'
6966
+ ]
6967
+ )
6948
6968
 
6949
6969
  # set the HTTP header `Content-Type`
6950
6970
  if _content_type:
@@ -7240,7 +7260,7 @@ class DatasetApi:
7240
7260
  _query_params: List[Tuple[str, str]] = []
7241
7261
  _header_params: Dict[str, Optional[str]] = _headers or {}
7242
7262
  _form_params: List[Tuple[str, str]] = []
7243
- _files: Dict[str, str] = {}
7263
+ _files: Dict[str, Union[str, bytes]] = {}
7244
7264
  _body_params: Optional[bytes] = None
7245
7265
 
7246
7266
  # process the path parameters
@@ -7266,11 +7286,12 @@ class DatasetApi:
7266
7286
 
7267
7287
 
7268
7288
  # set the HTTP header `Accept`
7269
- _header_params['Accept'] = self.api_client.select_header_accept(
7270
- [
7271
- 'application/json'
7272
- ]
7273
- )
7289
+ if 'Accept' not in _header_params:
7290
+ _header_params['Accept'] = self.api_client.select_header_accept(
7291
+ [
7292
+ 'application/json'
7293
+ ]
7294
+ )
7274
7295
 
7275
7296
  # set the HTTP header `Content-Type`
7276
7297
  if _content_type:
@@ -7551,7 +7572,7 @@ class DatasetApi:
7551
7572
  _query_params: List[Tuple[str, str]] = []
7552
7573
  _header_params: Dict[str, Optional[str]] = _headers or {}
7553
7574
  _form_params: List[Tuple[str, str]] = []
7554
- _files: Dict[str, str] = {}
7575
+ _files: Dict[str, Union[str, bytes]] = {}
7555
7576
  _body_params: Optional[bytes] = None
7556
7577
 
7557
7578
  # process the path parameters
@@ -7568,11 +7589,12 @@ class DatasetApi:
7568
7589
 
7569
7590
 
7570
7591
  # set the HTTP header `Accept`
7571
- _header_params['Accept'] = self.api_client.select_header_accept(
7572
- [
7573
- 'application/json'
7574
- ]
7575
- )
7592
+ if 'Accept' not in _header_params:
7593
+ _header_params['Accept'] = self.api_client.select_header_accept(
7594
+ [
7595
+ 'application/json'
7596
+ ]
7597
+ )
7576
7598
 
7577
7599
  # set the HTTP header `Content-Type`
7578
7600
  if _content_type:
@@ -7855,7 +7877,7 @@ class DatasetApi:
7855
7877
  _query_params: List[Tuple[str, str]] = []
7856
7878
  _header_params: Dict[str, Optional[str]] = _headers or {}
7857
7879
  _form_params: List[Tuple[str, str]] = []
7858
- _files: Dict[str, str] = {}
7880
+ _files: Dict[str, Union[str, bytes]] = {}
7859
7881
  _body_params: Optional[bytes] = None
7860
7882
 
7861
7883
  # process the path parameters
@@ -7874,11 +7896,12 @@ class DatasetApi:
7874
7896
 
7875
7897
 
7876
7898
  # set the HTTP header `Accept`
7877
- _header_params['Accept'] = self.api_client.select_header_accept(
7878
- [
7879
- 'application/json'
7880
- ]
7881
- )
7899
+ if 'Accept' not in _header_params:
7900
+ _header_params['Accept'] = self.api_client.select_header_accept(
7901
+ [
7902
+ 'application/json'
7903
+ ]
7904
+ )
7882
7905
 
7883
7906
 
7884
7907
  # authentication setting
@@ -8148,7 +8171,7 @@ class DatasetApi:
8148
8171
  _query_params: List[Tuple[str, str]] = []
8149
8172
  _header_params: Dict[str, Optional[str]] = _headers or {}
8150
8173
  _form_params: List[Tuple[str, str]] = []
8151
- _files: Dict[str, str] = {}
8174
+ _files: Dict[str, Union[str, bytes]] = {}
8152
8175
  _body_params: Optional[bytes] = None
8153
8176
 
8154
8177
  # process the path parameters
@@ -8165,11 +8188,12 @@ class DatasetApi:
8165
8188
 
8166
8189
 
8167
8190
  # set the HTTP header `Accept`
8168
- _header_params['Accept'] = self.api_client.select_header_accept(
8169
- [
8170
- 'application/json'
8171
- ]
8172
- )
8191
+ if 'Accept' not in _header_params:
8192
+ _header_params['Accept'] = self.api_client.select_header_accept(
8193
+ [
8194
+ 'application/json'
8195
+ ]
8196
+ )
8173
8197
 
8174
8198
  # set the HTTP header `Content-Type`
8175
8199
  if _content_type:
@@ -8463,7 +8487,7 @@ class DatasetApi:
8463
8487
  _query_params: List[Tuple[str, str]] = []
8464
8488
  _header_params: Dict[str, Optional[str]] = _headers or {}
8465
8489
  _form_params: List[Tuple[str, str]] = []
8466
- _files: Dict[str, str] = {}
8490
+ _files: Dict[str, Union[str, bytes]] = {}
8467
8491
  _body_params: Optional[bytes] = None
8468
8492
 
8469
8493
  # process the path parameters
@@ -8482,11 +8506,12 @@ class DatasetApi:
8482
8506
 
8483
8507
 
8484
8508
  # set the HTTP header `Accept`
8485
- _header_params['Accept'] = self.api_client.select_header_accept(
8486
- [
8487
- 'application/json'
8488
- ]
8489
- )
8509
+ if 'Accept' not in _header_params:
8510
+ _header_params['Accept'] = self.api_client.select_header_accept(
8511
+ [
8512
+ 'application/json'
8513
+ ]
8514
+ )
8490
8515
 
8491
8516
  # set the HTTP header `Content-Type`
8492
8517
  if _content_type:
@@ -8780,7 +8805,7 @@ class DatasetApi:
8780
8805
  _query_params: List[Tuple[str, str]] = []
8781
8806
  _header_params: Dict[str, Optional[str]] = _headers or {}
8782
8807
  _form_params: List[Tuple[str, str]] = []
8783
- _files: Dict[str, str] = {}
8808
+ _files: Dict[str, Union[str, bytes]] = {}
8784
8809
  _body_params: Optional[bytes] = None
8785
8810
 
8786
8811
  # process the path parameters
@@ -8799,11 +8824,12 @@ class DatasetApi:
8799
8824
 
8800
8825
 
8801
8826
  # set the HTTP header `Accept`
8802
- _header_params['Accept'] = self.api_client.select_header_accept(
8803
- [
8804
- 'application/json'
8805
- ]
8806
- )
8827
+ if 'Accept' not in _header_params:
8828
+ _header_params['Accept'] = self.api_client.select_header_accept(
8829
+ [
8830
+ 'application/json'
8831
+ ]
8832
+ )
8807
8833
 
8808
8834
  # set the HTTP header `Content-Type`
8809
8835
  if _content_type:
@@ -9083,7 +9109,7 @@ class DatasetApi:
9083
9109
  _query_params: List[Tuple[str, str]] = []
9084
9110
  _header_params: Dict[str, Optional[str]] = _headers or {}
9085
9111
  _form_params: List[Tuple[str, str]] = []
9086
- _files: Dict[str, str] = {}
9112
+ _files: Dict[str, Union[str, bytes]] = {}
9087
9113
  _body_params: Optional[bytes] = None
9088
9114
 
9089
9115
  # process the path parameters
@@ -9105,11 +9131,12 @@ class DatasetApi:
9105
9131
 
9106
9132
 
9107
9133
  # set the HTTP header `Accept`
9108
- _header_params['Accept'] = self.api_client.select_header_accept(
9109
- [
9110
- 'application/json'
9111
- ]
9112
- )
9134
+ if 'Accept' not in _header_params:
9135
+ _header_params['Accept'] = self.api_client.select_header_accept(
9136
+ [
9137
+ 'application/json'
9138
+ ]
9139
+ )
9113
9140
 
9114
9141
  # set the HTTP header `Content-Type`
9115
9142
  if _content_type: