cosmotech-api 4.0.0.dev9__py3-none-any.whl → 5.0.0b3__py3-none-any.whl

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

Potentially problematic release.


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

Files changed (280) hide show
  1. cosmotech_api/__init__.py +32 -27
  2. cosmotech_api/api/__init__.py +1 -1
  3. cosmotech_api/api/connector_api.py +19 -8
  4. cosmotech_api/api/dataset_api.py +1496 -4126
  5. cosmotech_api/api/meta_api.py +281 -0
  6. cosmotech_api/api/organization_api.py +605 -562
  7. cosmotech_api/api/run_api.py +42 -22
  8. cosmotech_api/api/runner_api.py +512 -467
  9. cosmotech_api/api/scenario_api.py +141 -121
  10. cosmotech_api/api/scenariorun_api.py +76 -66
  11. cosmotech_api/api/scenariorunresult_api.py +1 -1
  12. cosmotech_api/api/solution_api.py +2980 -795
  13. cosmotech_api/api/twingraph_api.py +83 -72
  14. cosmotech_api/api/validator_api.py +1 -1
  15. cosmotech_api/api/workspace_api.py +795 -1331
  16. cosmotech_api/api_client.py +14 -5
  17. cosmotech_api/configuration.py +167 -40
  18. cosmotech_api/exceptions.py +18 -1
  19. cosmotech_api/model/component_role_permissions.py +1 -1
  20. cosmotech_api/model/connector.py +1 -1
  21. cosmotech_api/model/connector_parameter.py +1 -1
  22. cosmotech_api/model/connector_parameter_group.py +1 -1
  23. cosmotech_api/model/container_resource_size_info.py +1 -1
  24. cosmotech_api/model/container_resource_sizing.py +1 -1
  25. cosmotech_api/model/dataset.py +1 -1
  26. cosmotech_api/model/dataset_access_control.py +1 -1
  27. cosmotech_api/model/dataset_compatibility.py +1 -1
  28. cosmotech_api/model/dataset_connector.py +1 -1
  29. cosmotech_api/model/dataset_copy_parameters.py +1 -1
  30. cosmotech_api/model/dataset_role.py +1 -1
  31. cosmotech_api/model/dataset_search.py +1 -1
  32. cosmotech_api/model/dataset_security.py +1 -1
  33. cosmotech_api/model/dataset_source_type.py +1 -1
  34. cosmotech_api/model/dataset_twin_graph_hash.py +1 -1
  35. cosmotech_api/model/dataset_twin_graph_info.py +1 -1
  36. cosmotech_api/model/dataset_twin_graph_query.py +1 -1
  37. cosmotech_api/model/delete_historical_data.py +1 -1
  38. cosmotech_api/model/file_upload_metadata.py +1 -1
  39. cosmotech_api/model/file_upload_validation.py +1 -1
  40. cosmotech_api/model/graph_properties.py +1 -1
  41. cosmotech_api/model/organization.py +1 -1
  42. cosmotech_api/model/organization_access_control.py +1 -1
  43. cosmotech_api/model/organization_role.py +1 -1
  44. cosmotech_api/model/organization_security.py +1 -1
  45. cosmotech_api/model/organization_service.py +1 -1
  46. cosmotech_api/model/organization_services.py +1 -1
  47. cosmotech_api/model/resource_size_info.py +1 -1
  48. cosmotech_api/model/run.py +1 -1
  49. cosmotech_api/model/run_container.py +1 -1
  50. cosmotech_api/model/run_container_artifact.py +1 -1
  51. cosmotech_api/model/run_container_logs.py +1 -1
  52. cosmotech_api/model/run_logs.py +1 -1
  53. cosmotech_api/model/run_resource_requested.py +1 -1
  54. cosmotech_api/model/run_search.py +1 -1
  55. cosmotech_api/model/run_start_containers.py +1 -1
  56. cosmotech_api/model/run_state.py +1 -1
  57. cosmotech_api/model/run_status.py +1 -1
  58. cosmotech_api/model/run_status_node.py +1 -1
  59. cosmotech_api/model/run_template.py +1 -1
  60. cosmotech_api/model/run_template_handler_id.py +1 -1
  61. cosmotech_api/model/run_template_orchestrator.py +1 -1
  62. cosmotech_api/model/run_template_parameter.py +1 -1
  63. cosmotech_api/model/run_template_parameter_group.py +1 -1
  64. cosmotech_api/model/run_template_parameter_value.py +1 -1
  65. cosmotech_api/model/run_template_resource_sizing.py +1 -1
  66. cosmotech_api/model/run_template_step_source.py +1 -1
  67. cosmotech_api/model/runner.py +1 -1
  68. cosmotech_api/model/runner_access_control.py +1 -1
  69. cosmotech_api/model/runner_changed_parameter_value.py +1 -1
  70. cosmotech_api/model/runner_comparison_result.py +1 -1
  71. cosmotech_api/model/runner_data_download_info.py +1 -1
  72. cosmotech_api/model/runner_data_download_job.py +1 -1
  73. cosmotech_api/model/runner_job_state.py +1 -1
  74. cosmotech_api/model/runner_last_run.py +1 -1
  75. cosmotech_api/model/runner_resource_sizing.py +1 -1
  76. cosmotech_api/model/runner_role.py +1 -1
  77. cosmotech_api/model/runner_run_template_parameter_value.py +1 -1
  78. cosmotech_api/model/runner_security.py +1 -1
  79. cosmotech_api/model/runner_validation_status.py +1 -1
  80. cosmotech_api/model/scenario.py +1 -1
  81. cosmotech_api/model/scenario_access_control.py +1 -1
  82. cosmotech_api/model/scenario_changed_parameter_value.py +1 -1
  83. cosmotech_api/model/scenario_comparison_result.py +1 -1
  84. cosmotech_api/model/scenario_data_download_info.py +1 -1
  85. cosmotech_api/model/scenario_data_download_job.py +1 -1
  86. cosmotech_api/model/scenario_job_state.py +1 -1
  87. cosmotech_api/model/scenario_last_run.py +1 -1
  88. cosmotech_api/model/scenario_resource_sizing.py +1 -1
  89. cosmotech_api/model/scenario_role.py +1 -1
  90. cosmotech_api/model/scenario_run.py +1 -1
  91. cosmotech_api/model/scenario_run_container.py +1 -1
  92. cosmotech_api/model/scenario_run_container_artifact.py +1 -1
  93. cosmotech_api/model/scenario_run_container_logs.py +1 -1
  94. cosmotech_api/model/scenario_run_logs.py +1 -1
  95. cosmotech_api/model/scenario_run_resource_requested.py +1 -1
  96. cosmotech_api/model/scenario_run_result.py +1 -1
  97. cosmotech_api/model/scenario_run_search.py +1 -1
  98. cosmotech_api/model/scenario_run_start_containers.py +1 -1
  99. cosmotech_api/model/scenario_run_state.py +1 -1
  100. cosmotech_api/model/scenario_run_status.py +1 -1
  101. cosmotech_api/model/scenario_run_status_node.py +1 -1
  102. cosmotech_api/model/scenario_run_template_parameter_value.py +1 -1
  103. cosmotech_api/model/scenario_security.py +1 -1
  104. cosmotech_api/model/scenario_validation_status.py +1 -1
  105. cosmotech_api/model/solution.py +1 -1
  106. cosmotech_api/model/solution_access_control.py +1 -1
  107. cosmotech_api/model/solution_role.py +1 -1
  108. cosmotech_api/model/solution_security.py +1 -1
  109. cosmotech_api/model/source_info.py +1 -1
  110. cosmotech_api/model/sub_dataset_graph_query.py +1 -1
  111. cosmotech_api/model/translated_labels.py +1 -1
  112. cosmotech_api/model/twin_graph_batch_result.py +1 -1
  113. cosmotech_api/model/twin_graph_hash.py +1 -1
  114. cosmotech_api/model/twin_graph_query.py +1 -1
  115. cosmotech_api/model/validator.py +1 -1
  116. cosmotech_api/model/validator_run.py +1 -1
  117. cosmotech_api/model/workspace.py +1 -1
  118. cosmotech_api/model/workspace_access_control.py +1 -1
  119. cosmotech_api/model/workspace_file.py +1 -1
  120. cosmotech_api/model/workspace_role.py +1 -1
  121. cosmotech_api/model/workspace_secret.py +1 -1
  122. cosmotech_api/model/workspace_security.py +1 -1
  123. cosmotech_api/model/workspace_solution.py +1 -1
  124. cosmotech_api/model/workspace_web_app.py +1 -1
  125. cosmotech_api/model_utils.py +1 -1
  126. cosmotech_api/models/__init__.py +31 -26
  127. cosmotech_api/models/about_info.py +92 -0
  128. cosmotech_api/models/about_info_version.py +100 -0
  129. cosmotech_api/models/component_role_permissions.py +5 -5
  130. cosmotech_api/models/connector.py +1 -1
  131. cosmotech_api/models/connector_parameter.py +1 -1
  132. cosmotech_api/models/connector_parameter_group.py +1 -1
  133. cosmotech_api/models/container_resource_size_info.py +1 -1
  134. cosmotech_api/models/container_resource_sizing.py +1 -1
  135. cosmotech_api/models/create_info.py +103 -0
  136. cosmotech_api/models/created_run.py +2 -2
  137. cosmotech_api/models/dataset.py +42 -81
  138. cosmotech_api/models/dataset_access_control.py +1 -1
  139. cosmotech_api/models/dataset_compatibility.py +1 -1
  140. cosmotech_api/models/dataset_connector.py +1 -1
  141. cosmotech_api/models/dataset_copy_parameters.py +1 -1
  142. cosmotech_api/models/dataset_create_request.py +121 -0
  143. cosmotech_api/models/dataset_part.py +130 -0
  144. cosmotech_api/models/dataset_part_create_request.py +98 -0
  145. cosmotech_api/models/dataset_part_type_enum.py +38 -0
  146. cosmotech_api/models/dataset_part_update_request.py +90 -0
  147. cosmotech_api/models/dataset_role.py +1 -1
  148. cosmotech_api/models/dataset_search.py +1 -1
  149. cosmotech_api/models/dataset_security.py +1 -1
  150. cosmotech_api/models/dataset_source_type.py +1 -1
  151. cosmotech_api/models/dataset_twin_graph_hash.py +1 -1
  152. cosmotech_api/models/dataset_twin_graph_info.py +1 -1
  153. cosmotech_api/models/dataset_twin_graph_query.py +1 -1
  154. cosmotech_api/models/dataset_update_request.py +109 -0
  155. cosmotech_api/models/delete_historical_data.py +1 -1
  156. cosmotech_api/models/edit_info.py +90 -0
  157. cosmotech_api/models/file_upload_metadata.py +1 -1
  158. cosmotech_api/models/file_upload_validation.py +1 -1
  159. cosmotech_api/models/graph_properties.py +1 -1
  160. cosmotech_api/models/ingestion_status_enum.py +1 -1
  161. cosmotech_api/models/io_types_enum.py +1 -1
  162. cosmotech_api/models/last_run_info.py +100 -0
  163. cosmotech_api/models/organization.py +18 -11
  164. cosmotech_api/models/organization_access_control.py +4 -4
  165. cosmotech_api/models/organization_create_request.py +95 -0
  166. cosmotech_api/models/organization_edit_info.py +90 -0
  167. cosmotech_api/models/organization_role.py +3 -3
  168. cosmotech_api/models/organization_security.py +4 -4
  169. cosmotech_api/models/organization_service.py +7 -7
  170. cosmotech_api/models/organization_services.py +7 -7
  171. cosmotech_api/models/organization_update_request.py +89 -0
  172. cosmotech_api/models/query_result.py +1 -1
  173. cosmotech_api/models/resource_size_info.py +1 -1
  174. cosmotech_api/models/run.py +8 -10
  175. cosmotech_api/models/run_container.py +1 -1
  176. cosmotech_api/models/run_container_artifact.py +7 -7
  177. cosmotech_api/models/run_container_logs.py +7 -7
  178. cosmotech_api/models/run_data.py +2 -2
  179. cosmotech_api/models/run_data_query.py +1 -1
  180. cosmotech_api/models/run_edit_info.py +90 -0
  181. cosmotech_api/models/run_logs.py +1 -1
  182. cosmotech_api/models/run_logs_entry.py +1 -1
  183. cosmotech_api/models/run_resource_requested.py +1 -1
  184. cosmotech_api/models/run_search.py +7 -7
  185. cosmotech_api/models/run_search_state.py +1 -1
  186. cosmotech_api/models/run_start_containers.py +10 -10
  187. cosmotech_api/models/run_state.py +2 -1
  188. cosmotech_api/models/run_status.py +8 -2
  189. cosmotech_api/models/run_status_node.py +1 -1
  190. cosmotech_api/models/run_template.py +14 -69
  191. cosmotech_api/models/run_template_create_request.py +109 -0
  192. cosmotech_api/models/run_template_handler_id.py +1 -1
  193. cosmotech_api/models/run_template_orchestrator.py +1 -1
  194. cosmotech_api/models/run_template_parameter.py +14 -11
  195. cosmotech_api/models/run_template_parameter_create_request.py +105 -0
  196. cosmotech_api/models/run_template_parameter_group.py +12 -9
  197. cosmotech_api/models/run_template_parameter_group_create_request.py +101 -0
  198. cosmotech_api/models/run_template_parameter_group_update_request.py +98 -0
  199. cosmotech_api/models/run_template_parameter_update_request.py +103 -0
  200. cosmotech_api/models/run_template_parameter_value.py +1 -1
  201. cosmotech_api/models/run_template_resource_sizing.py +2 -2
  202. cosmotech_api/models/run_template_step_source.py +1 -1
  203. cosmotech_api/models/run_template_update_request.py +107 -0
  204. cosmotech_api/models/runner.py +31 -28
  205. cosmotech_api/models/runner_access_control.py +1 -1
  206. cosmotech_api/models/runner_changed_parameter_value.py +7 -7
  207. cosmotech_api/models/runner_comparison_result.py +10 -10
  208. cosmotech_api/models/runner_create_request.py +154 -0
  209. cosmotech_api/models/runner_data_download_info.py +12 -9
  210. cosmotech_api/models/runner_data_download_job.py +7 -7
  211. cosmotech_api/models/runner_edit_info.py +90 -0
  212. cosmotech_api/models/runner_job_state.py +1 -1
  213. cosmotech_api/models/runner_last_run.py +7 -7
  214. cosmotech_api/models/runner_parent_last_run.py +7 -7
  215. cosmotech_api/models/runner_resource_sizing.py +1 -1
  216. cosmotech_api/models/runner_role.py +1 -1
  217. cosmotech_api/models/runner_root_last_run.py +7 -7
  218. cosmotech_api/models/runner_run_template_parameter_value.py +1 -1
  219. cosmotech_api/models/runner_security.py +1 -1
  220. cosmotech_api/models/runner_update_request.py +123 -0
  221. cosmotech_api/models/runner_validation_status.py +1 -1
  222. cosmotech_api/models/scenario.py +10 -10
  223. cosmotech_api/models/scenario_access_control.py +7 -7
  224. cosmotech_api/models/scenario_changed_parameter_value.py +7 -7
  225. cosmotech_api/models/scenario_comparison_result.py +10 -10
  226. cosmotech_api/models/scenario_data_download_info.py +7 -7
  227. cosmotech_api/models/scenario_data_download_job.py +7 -7
  228. cosmotech_api/models/scenario_job_state.py +1 -1
  229. cosmotech_api/models/scenario_last_run.py +7 -7
  230. cosmotech_api/models/scenario_resource_sizing.py +7 -7
  231. cosmotech_api/models/scenario_role.py +7 -7
  232. cosmotech_api/models/scenario_run.py +13 -13
  233. cosmotech_api/models/scenario_run_container.py +10 -10
  234. cosmotech_api/models/scenario_run_container_artifact.py +7 -7
  235. cosmotech_api/models/scenario_run_container_logs.py +7 -7
  236. cosmotech_api/models/scenario_run_logs.py +10 -10
  237. cosmotech_api/models/scenario_run_resource_requested.py +7 -7
  238. cosmotech_api/models/scenario_run_search.py +7 -7
  239. cosmotech_api/models/scenario_run_search_state.py +1 -1
  240. cosmotech_api/models/scenario_run_start_containers.py +10 -10
  241. cosmotech_api/models/scenario_run_state.py +1 -1
  242. cosmotech_api/models/scenario_run_status.py +10 -10
  243. cosmotech_api/models/scenario_run_status_node.py +7 -7
  244. cosmotech_api/models/scenario_run_template_parameter_value.py +7 -7
  245. cosmotech_api/models/scenario_security.py +10 -10
  246. cosmotech_api/models/scenario_validation_status.py +1 -1
  247. cosmotech_api/models/send_run_data_request.py +5 -5
  248. cosmotech_api/models/solution.py +45 -29
  249. cosmotech_api/models/solution_access_control.py +4 -4
  250. cosmotech_api/models/solution_create_request.py +139 -0
  251. cosmotech_api/models/solution_edit_info.py +90 -0
  252. cosmotech_api/models/solution_role.py +3 -3
  253. cosmotech_api/models/solution_security.py +4 -4
  254. cosmotech_api/models/solution_update_request.py +133 -0
  255. cosmotech_api/models/source_info.py +1 -1
  256. cosmotech_api/models/sub_dataset_graph_query.py +1 -1
  257. cosmotech_api/models/twin_graph_batch_result.py +1 -1
  258. cosmotech_api/models/twin_graph_hash.py +7 -7
  259. cosmotech_api/models/twin_graph_query.py +7 -7
  260. cosmotech_api/models/twincache_status_enum.py +1 -1
  261. cosmotech_api/models/validator.py +7 -7
  262. cosmotech_api/models/workspace.py +38 -30
  263. cosmotech_api/models/workspace_access_control.py +4 -4
  264. cosmotech_api/models/workspace_create_request.py +117 -0
  265. cosmotech_api/models/workspace_edit_info.py +90 -0
  266. cosmotech_api/models/workspace_file.py +4 -4
  267. cosmotech_api/models/workspace_role.py +3 -3
  268. cosmotech_api/models/workspace_secret.py +7 -7
  269. cosmotech_api/models/workspace_security.py +4 -4
  270. cosmotech_api/models/workspace_solution.py +14 -6
  271. cosmotech_api/models/workspace_update_request.py +109 -0
  272. cosmotech_api/models/workspace_web_app.py +4 -4
  273. cosmotech_api/rest.py +3 -2
  274. cosmotech_api-5.0.0b3.dist-info/METADATA +27 -0
  275. cosmotech_api-5.0.0b3.dist-info/RECORD +293 -0
  276. {cosmotech_api-4.0.0.dev9.dist-info → cosmotech_api-5.0.0b3.dist-info}/WHEEL +1 -1
  277. {cosmotech_api-4.0.0.dev9.dist-info → cosmotech_api-5.0.0b3.dist-info/licenses}/LICENSE +1 -1
  278. cosmotech_api-4.0.0.dev9.dist-info/METADATA +0 -18
  279. cosmotech_api-4.0.0.dev9.dist-info/RECORD +0 -262
  280. {cosmotech_api-4.0.0.dev9.dist-info → cosmotech_api-5.0.0b3.dist-info}/top_level.txt +0 -0
@@ -5,7 +5,7 @@
5
5
 
6
6
  Cosmo Tech Platform API
7
7
 
8
- The version of the OpenAPI document: 3.2.10
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
 
@@ -309,7 +309,7 @@ class ScenarioApi:
309
309
  _query_params: List[Tuple[str, str]] = []
310
310
  _header_params: Dict[str, Optional[str]] = _headers or {}
311
311
  _form_params: List[Tuple[str, str]] = []
312
- _files: Dict[str, str] = {}
312
+ _files: Dict[str, Union[str, bytes]] = {}
313
313
  _body_params: Optional[bytes] = None
314
314
 
315
315
  # process the path parameters
@@ -328,11 +328,12 @@ class ScenarioApi:
328
328
 
329
329
 
330
330
  # set the HTTP header `Accept`
331
- _header_params['Accept'] = self.api_client.select_header_accept(
332
- [
333
- 'application/json'
334
- ]
335
- )
331
+ if 'Accept' not in _header_params:
332
+ _header_params['Accept'] = self.api_client.select_header_accept(
333
+ [
334
+ 'application/json'
335
+ ]
336
+ )
336
337
 
337
338
  # set the HTTP header `Content-Type`
338
339
  if _content_type:
@@ -341,7 +342,8 @@ class ScenarioApi:
341
342
  _default_content_type = (
342
343
  self.api_client.select_header_content_type(
343
344
  [
344
- 'application/json'
345
+ 'application/json',
346
+ 'application/yaml'
345
347
  ]
346
348
  )
347
349
  )
@@ -628,7 +630,7 @@ class ScenarioApi:
628
630
  _query_params: List[Tuple[str, str]] = []
629
631
  _header_params: Dict[str, Optional[str]] = _headers or {}
630
632
  _form_params: List[Tuple[str, str]] = []
631
- _files: Dict[str, str] = {}
633
+ _files: Dict[str, Union[str, bytes]] = {}
632
634
  _body_params: Optional[bytes] = None
633
635
 
634
636
  # process the path parameters
@@ -647,11 +649,12 @@ class ScenarioApi:
647
649
 
648
650
 
649
651
  # set the HTTP header `Accept`
650
- _header_params['Accept'] = self.api_client.select_header_accept(
651
- [
652
- 'application/json'
653
- ]
654
- )
652
+ if 'Accept' not in _header_params:
653
+ _header_params['Accept'] = self.api_client.select_header_accept(
654
+ [
655
+ 'application/json'
656
+ ]
657
+ )
655
658
 
656
659
  # set the HTTP header `Content-Type`
657
660
  if _content_type:
@@ -948,7 +951,7 @@ class ScenarioApi:
948
951
  _query_params: List[Tuple[str, str]] = []
949
952
  _header_params: Dict[str, Optional[str]] = _headers or {}
950
953
  _form_params: List[Tuple[str, str]] = []
951
- _files: Dict[str, str] = {}
954
+ _files: Dict[str, Union[str, bytes]] = {}
952
955
  _body_params: Optional[bytes] = None
953
956
 
954
957
  # process the path parameters
@@ -967,11 +970,12 @@ class ScenarioApi:
967
970
 
968
971
 
969
972
  # set the HTTP header `Accept`
970
- _header_params['Accept'] = self.api_client.select_header_accept(
971
- [
972
- 'application/json'
973
- ]
974
- )
973
+ if 'Accept' not in _header_params:
974
+ _header_params['Accept'] = self.api_client.select_header_accept(
975
+ [
976
+ 'application/json'
977
+ ]
978
+ )
975
979
 
976
980
 
977
981
  # authentication setting
@@ -1241,7 +1245,7 @@ class ScenarioApi:
1241
1245
  _query_params: List[Tuple[str, str]] = []
1242
1246
  _header_params: Dict[str, Optional[str]] = _headers or {}
1243
1247
  _form_params: List[Tuple[str, str]] = []
1244
- _files: Dict[str, str] = {}
1248
+ _files: Dict[str, Union[str, bytes]] = {}
1245
1249
  _body_params: Optional[bytes] = None
1246
1250
 
1247
1251
  # process the path parameters
@@ -1258,11 +1262,12 @@ class ScenarioApi:
1258
1262
 
1259
1263
 
1260
1264
  # set the HTTP header `Accept`
1261
- _header_params['Accept'] = self.api_client.select_header_accept(
1262
- [
1263
- 'application/json'
1264
- ]
1265
- )
1265
+ if 'Accept' not in _header_params:
1266
+ _header_params['Accept'] = self.api_client.select_header_accept(
1267
+ [
1268
+ 'application/json'
1269
+ ]
1270
+ )
1266
1271
 
1267
1272
  # set the HTTP header `Content-Type`
1268
1273
  if _content_type:
@@ -1533,7 +1538,7 @@ class ScenarioApi:
1533
1538
  _query_params: List[Tuple[str, str]] = []
1534
1539
  _header_params: Dict[str, Optional[str]] = _headers or {}
1535
1540
  _form_params: List[Tuple[str, str]] = []
1536
- _files: Dict[str, str] = {}
1541
+ _files: Dict[str, Union[str, bytes]] = {}
1537
1542
  _body_params: Optional[bytes] = None
1538
1543
 
1539
1544
  # process the path parameters
@@ -1816,7 +1821,7 @@ class ScenarioApi:
1816
1821
  _query_params: List[Tuple[str, str]] = []
1817
1822
  _header_params: Dict[str, Optional[str]] = _headers or {}
1818
1823
  _form_params: List[Tuple[str, str]] = []
1819
- _files: Dict[str, str] = {}
1824
+ _files: Dict[str, Union[str, bytes]] = {}
1820
1825
  _body_params: Optional[bytes] = None
1821
1826
 
1822
1827
  # process the path parameters
@@ -2101,7 +2106,7 @@ class ScenarioApi:
2101
2106
  _query_params: List[Tuple[str, str]] = []
2102
2107
  _header_params: Dict[str, Optional[str]] = _headers or {}
2103
2108
  _form_params: List[Tuple[str, str]] = []
2104
- _files: Dict[str, str] = {}
2109
+ _files: Dict[str, Union[str, bytes]] = {}
2105
2110
  _body_params: Optional[bytes] = None
2106
2111
 
2107
2112
  # process the path parameters
@@ -2118,11 +2123,12 @@ class ScenarioApi:
2118
2123
 
2119
2124
 
2120
2125
  # set the HTTP header `Accept`
2121
- _header_params['Accept'] = self.api_client.select_header_accept(
2122
- [
2123
- 'application/json'
2124
- ]
2125
- )
2126
+ if 'Accept' not in _header_params:
2127
+ _header_params['Accept'] = self.api_client.select_header_accept(
2128
+ [
2129
+ 'application/json'
2130
+ ]
2131
+ )
2126
2132
 
2127
2133
 
2128
2134
  # authentication setting
@@ -2402,7 +2408,7 @@ class ScenarioApi:
2402
2408
  _query_params: List[Tuple[str, str]] = []
2403
2409
  _header_params: Dict[str, Optional[str]] = _headers or {}
2404
2410
  _form_params: List[Tuple[str, str]] = []
2405
- _files: Dict[str, str] = {}
2411
+ _files: Dict[str, Union[str, bytes]] = {}
2406
2412
  _body_params: Optional[bytes] = None
2407
2413
 
2408
2414
  # process the path parameters
@@ -2425,11 +2431,12 @@ class ScenarioApi:
2425
2431
 
2426
2432
 
2427
2433
  # set the HTTP header `Accept`
2428
- _header_params['Accept'] = self.api_client.select_header_accept(
2429
- [
2430
- 'application/json'
2431
- ]
2432
- )
2434
+ if 'Accept' not in _header_params:
2435
+ _header_params['Accept'] = self.api_client.select_header_accept(
2436
+ [
2437
+ 'application/json'
2438
+ ]
2439
+ )
2433
2440
 
2434
2441
 
2435
2442
  # authentication setting
@@ -2722,7 +2729,7 @@ class ScenarioApi:
2722
2729
  _query_params: List[Tuple[str, str]] = []
2723
2730
  _header_params: Dict[str, Optional[str]] = _headers or {}
2724
2731
  _form_params: List[Tuple[str, str]] = []
2725
- _files: Dict[str, str] = {}
2732
+ _files: Dict[str, Union[str, bytes]] = {}
2726
2733
  _body_params: Optional[bytes] = None
2727
2734
 
2728
2735
  # process the path parameters
@@ -2747,11 +2754,12 @@ class ScenarioApi:
2747
2754
 
2748
2755
 
2749
2756
  # set the HTTP header `Accept`
2750
- _header_params['Accept'] = self.api_client.select_header_accept(
2751
- [
2752
- 'application/json'
2753
- ]
2754
- )
2757
+ if 'Accept' not in _header_params:
2758
+ _header_params['Accept'] = self.api_client.select_header_accept(
2759
+ [
2760
+ 'application/json'
2761
+ ]
2762
+ )
2755
2763
 
2756
2764
 
2757
2765
  # authentication setting
@@ -3021,7 +3029,7 @@ class ScenarioApi:
3021
3029
  _query_params: List[Tuple[str, str]] = []
3022
3030
  _header_params: Dict[str, Optional[str]] = _headers or {}
3023
3031
  _form_params: List[Tuple[str, str]] = []
3024
- _files: Dict[str, str] = {}
3032
+ _files: Dict[str, Union[str, bytes]] = {}
3025
3033
  _body_params: Optional[bytes] = None
3026
3034
 
3027
3035
  # process the path parameters
@@ -3038,11 +3046,12 @@ class ScenarioApi:
3038
3046
 
3039
3047
 
3040
3048
  # set the HTTP header `Accept`
3041
- _header_params['Accept'] = self.api_client.select_header_accept(
3042
- [
3043
- 'application/json'
3044
- ]
3045
- )
3049
+ if 'Accept' not in _header_params:
3050
+ _header_params['Accept'] = self.api_client.select_header_accept(
3051
+ [
3052
+ 'application/json'
3053
+ ]
3054
+ )
3046
3055
 
3047
3056
 
3048
3057
  # authentication setting
@@ -3325,7 +3334,7 @@ class ScenarioApi:
3325
3334
  _query_params: List[Tuple[str, str]] = []
3326
3335
  _header_params: Dict[str, Optional[str]] = _headers or {}
3327
3336
  _form_params: List[Tuple[str, str]] = []
3328
- _files: Dict[str, str] = {}
3337
+ _files: Dict[str, Union[str, bytes]] = {}
3329
3338
  _body_params: Optional[bytes] = None
3330
3339
 
3331
3340
  # process the path parameters
@@ -3344,11 +3353,12 @@ class ScenarioApi:
3344
3353
 
3345
3354
 
3346
3355
  # set the HTTP header `Accept`
3347
- _header_params['Accept'] = self.api_client.select_header_accept(
3348
- [
3349
- 'application/json'
3350
- ]
3351
- )
3356
+ if 'Accept' not in _header_params:
3357
+ _header_params['Accept'] = self.api_client.select_header_accept(
3358
+ [
3359
+ 'application/json'
3360
+ ]
3361
+ )
3352
3362
 
3353
3363
 
3354
3364
  # authentication setting
@@ -3631,7 +3641,7 @@ class ScenarioApi:
3631
3641
  _query_params: List[Tuple[str, str]] = []
3632
3642
  _header_params: Dict[str, Optional[str]] = _headers or {}
3633
3643
  _form_params: List[Tuple[str, str]] = []
3634
- _files: Dict[str, str] = {}
3644
+ _files: Dict[str, Union[str, bytes]] = {}
3635
3645
  _body_params: Optional[bytes] = None
3636
3646
 
3637
3647
  # process the path parameters
@@ -3650,11 +3660,12 @@ class ScenarioApi:
3650
3660
 
3651
3661
 
3652
3662
  # set the HTTP header `Accept`
3653
- _header_params['Accept'] = self.api_client.select_header_accept(
3654
- [
3655
- 'application/json'
3656
- ]
3657
- )
3663
+ if 'Accept' not in _header_params:
3664
+ _header_params['Accept'] = self.api_client.select_header_accept(
3665
+ [
3666
+ 'application/json'
3667
+ ]
3668
+ )
3658
3669
 
3659
3670
 
3660
3671
  # authentication setting
@@ -3934,7 +3945,7 @@ class ScenarioApi:
3934
3945
  _query_params: List[Tuple[str, str]] = []
3935
3946
  _header_params: Dict[str, Optional[str]] = _headers or {}
3936
3947
  _form_params: List[Tuple[str, str]] = []
3937
- _files: Dict[str, str] = {}
3948
+ _files: Dict[str, Union[str, bytes]] = {}
3938
3949
  _body_params: Optional[bytes] = None
3939
3950
 
3940
3951
  # process the path parameters
@@ -3953,11 +3964,12 @@ class ScenarioApi:
3953
3964
 
3954
3965
 
3955
3966
  # set the HTTP header `Accept`
3956
- _header_params['Accept'] = self.api_client.select_header_accept(
3957
- [
3958
- 'application/json'
3959
- ]
3960
- )
3967
+ if 'Accept' not in _header_params:
3968
+ _header_params['Accept'] = self.api_client.select_header_accept(
3969
+ [
3970
+ 'application/json'
3971
+ ]
3972
+ )
3961
3973
 
3962
3974
 
3963
3975
  # authentication setting
@@ -4227,7 +4239,7 @@ class ScenarioApi:
4227
4239
  _query_params: List[Tuple[str, str]] = []
4228
4240
  _header_params: Dict[str, Optional[str]] = _headers or {}
4229
4241
  _form_params: List[Tuple[str, str]] = []
4230
- _files: Dict[str, str] = {}
4242
+ _files: Dict[str, Union[str, bytes]] = {}
4231
4243
  _body_params: Optional[bytes] = None
4232
4244
 
4233
4245
  # process the path parameters
@@ -4244,11 +4256,12 @@ class ScenarioApi:
4244
4256
 
4245
4257
 
4246
4258
  # set the HTTP header `Accept`
4247
- _header_params['Accept'] = self.api_client.select_header_accept(
4248
- [
4249
- 'application/json'
4250
- ]
4251
- )
4259
+ if 'Accept' not in _header_params:
4260
+ _header_params['Accept'] = self.api_client.select_header_accept(
4261
+ [
4262
+ 'application/json'
4263
+ ]
4264
+ )
4252
4265
 
4253
4266
 
4254
4267
  # authentication setting
@@ -4518,7 +4531,7 @@ class ScenarioApi:
4518
4531
  _query_params: List[Tuple[str, str]] = []
4519
4532
  _header_params: Dict[str, Optional[str]] = _headers or {}
4520
4533
  _form_params: List[Tuple[str, str]] = []
4521
- _files: Dict[str, str] = {}
4534
+ _files: Dict[str, Union[str, bytes]] = {}
4522
4535
  _body_params: Optional[bytes] = None
4523
4536
 
4524
4537
  # process the path parameters
@@ -4535,11 +4548,12 @@ class ScenarioApi:
4535
4548
 
4536
4549
 
4537
4550
  # set the HTTP header `Accept`
4538
- _header_params['Accept'] = self.api_client.select_header_accept(
4539
- [
4540
- 'application/json'
4541
- ]
4542
- )
4551
+ if 'Accept' not in _header_params:
4552
+ _header_params['Accept'] = self.api_client.select_header_accept(
4553
+ [
4554
+ 'application/json'
4555
+ ]
4556
+ )
4543
4557
 
4544
4558
 
4545
4559
  # authentication setting
@@ -4806,7 +4820,7 @@ class ScenarioApi:
4806
4820
  _query_params: List[Tuple[str, str]] = []
4807
4821
  _header_params: Dict[str, Optional[str]] = _headers or {}
4808
4822
  _form_params: List[Tuple[str, str]] = []
4809
- _files: Dict[str, str] = {}
4823
+ _files: Dict[str, Union[str, bytes]] = {}
4810
4824
  _body_params: Optional[bytes] = None
4811
4825
 
4812
4826
  # process the path parameters
@@ -4823,11 +4837,12 @@ class ScenarioApi:
4823
4837
 
4824
4838
 
4825
4839
  # set the HTTP header `Accept`
4826
- _header_params['Accept'] = self.api_client.select_header_accept(
4827
- [
4828
- 'application/json'
4829
- ]
4830
- )
4840
+ if 'Accept' not in _header_params:
4841
+ _header_params['Accept'] = self.api_client.select_header_accept(
4842
+ [
4843
+ 'application/json'
4844
+ ]
4845
+ )
4831
4846
 
4832
4847
 
4833
4848
  # authentication setting
@@ -5081,7 +5096,7 @@ class ScenarioApi:
5081
5096
  _query_params: List[Tuple[str, str]] = []
5082
5097
  _header_params: Dict[str, Optional[str]] = _headers or {}
5083
5098
  _form_params: List[Tuple[str, str]] = []
5084
- _files: Dict[str, str] = {}
5099
+ _files: Dict[str, Union[str, bytes]] = {}
5085
5100
  _body_params: Optional[bytes] = None
5086
5101
 
5087
5102
  # process the path parameters
@@ -5096,11 +5111,12 @@ class ScenarioApi:
5096
5111
 
5097
5112
 
5098
5113
  # set the HTTP header `Accept`
5099
- _header_params['Accept'] = self.api_client.select_header_accept(
5100
- [
5101
- 'application/json'
5102
- ]
5103
- )
5114
+ if 'Accept' not in _header_params:
5115
+ _header_params['Accept'] = self.api_client.select_header_accept(
5116
+ [
5117
+ 'application/json'
5118
+ ]
5119
+ )
5104
5120
 
5105
5121
 
5106
5122
  # authentication setting
@@ -5370,7 +5386,7 @@ class ScenarioApi:
5370
5386
  _query_params: List[Tuple[str, str]] = []
5371
5387
  _header_params: Dict[str, Optional[str]] = _headers or {}
5372
5388
  _form_params: List[Tuple[str, str]] = []
5373
- _files: Dict[str, str] = {}
5389
+ _files: Dict[str, Union[str, bytes]] = {}
5374
5390
  _body_params: Optional[bytes] = None
5375
5391
 
5376
5392
  # process the path parameters
@@ -5668,7 +5684,7 @@ class ScenarioApi:
5668
5684
  _query_params: List[Tuple[str, str]] = []
5669
5685
  _header_params: Dict[str, Optional[str]] = _headers or {}
5670
5686
  _form_params: List[Tuple[str, str]] = []
5671
- _files: Dict[str, str] = {}
5687
+ _files: Dict[str, Union[str, bytes]] = {}
5672
5688
  _body_params: Optional[bytes] = None
5673
5689
 
5674
5690
  # process the path parameters
@@ -5968,7 +5984,7 @@ class ScenarioApi:
5968
5984
  _query_params: List[Tuple[str, str]] = []
5969
5985
  _header_params: Dict[str, Optional[str]] = _headers or {}
5970
5986
  _form_params: List[Tuple[str, str]] = []
5971
- _files: Dict[str, str] = {}
5987
+ _files: Dict[str, Union[str, bytes]] = {}
5972
5988
  _body_params: Optional[bytes] = None
5973
5989
 
5974
5990
  # process the path parameters
@@ -5987,11 +6003,12 @@ class ScenarioApi:
5987
6003
 
5988
6004
 
5989
6005
  # set the HTTP header `Accept`
5990
- _header_params['Accept'] = self.api_client.select_header_accept(
5991
- [
5992
- 'application/json'
5993
- ]
5994
- )
6006
+ if 'Accept' not in _header_params:
6007
+ _header_params['Accept'] = self.api_client.select_header_accept(
6008
+ [
6009
+ 'application/json'
6010
+ ]
6011
+ )
5995
6012
 
5996
6013
  # set the HTTP header `Content-Type`
5997
6014
  if _content_type:
@@ -6037,7 +6054,7 @@ class ScenarioApi:
6037
6054
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
6038
6055
  workspace_id: Annotated[StrictStr, Field(description="the Workspace identifier")],
6039
6056
  scenario_id: Annotated[StrictStr, Field(description="the Scenario identifier")],
6040
- scenario: Annotated[Scenario, Field(description="the new Scenario details. This endpoint can't be used to update security")],
6057
+ scenario: Annotated[Scenario, Field(description="The new Scenario details. This endpoint can't be used to update : - id - ownerId - datasetList - solutionId - runTemplateId - parametersValues - security ")],
6041
6058
  _request_timeout: Union[
6042
6059
  None,
6043
6060
  Annotated[StrictFloat, Field(gt=0)],
@@ -6060,7 +6077,7 @@ class ScenarioApi:
6060
6077
  :type workspace_id: str
6061
6078
  :param scenario_id: the Scenario identifier (required)
6062
6079
  :type scenario_id: str
6063
- :param scenario: the new Scenario details. This endpoint can't be used to update security (required)
6080
+ :param scenario: The new Scenario details. This endpoint can't be used to update : - id - ownerId - datasetList - solutionId - runTemplateId - parametersValues - security (required)
6064
6081
  :type scenario: Scenario
6065
6082
  :param _request_timeout: timeout setting for this request. If one
6066
6083
  number provided, it will be total request
@@ -6118,7 +6135,7 @@ class ScenarioApi:
6118
6135
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
6119
6136
  workspace_id: Annotated[StrictStr, Field(description="the Workspace identifier")],
6120
6137
  scenario_id: Annotated[StrictStr, Field(description="the Scenario identifier")],
6121
- scenario: Annotated[Scenario, Field(description="the new Scenario details. This endpoint can't be used to update security")],
6138
+ scenario: Annotated[Scenario, Field(description="The new Scenario details. This endpoint can't be used to update : - id - ownerId - datasetList - solutionId - runTemplateId - parametersValues - security ")],
6122
6139
  _request_timeout: Union[
6123
6140
  None,
6124
6141
  Annotated[StrictFloat, Field(gt=0)],
@@ -6141,7 +6158,7 @@ class ScenarioApi:
6141
6158
  :type workspace_id: str
6142
6159
  :param scenario_id: the Scenario identifier (required)
6143
6160
  :type scenario_id: str
6144
- :param scenario: the new Scenario details. This endpoint can't be used to update security (required)
6161
+ :param scenario: The new Scenario details. This endpoint can't be used to update : - id - ownerId - datasetList - solutionId - runTemplateId - parametersValues - security (required)
6145
6162
  :type scenario: Scenario
6146
6163
  :param _request_timeout: timeout setting for this request. If one
6147
6164
  number provided, it will be total request
@@ -6199,7 +6216,7 @@ class ScenarioApi:
6199
6216
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
6200
6217
  workspace_id: Annotated[StrictStr, Field(description="the Workspace identifier")],
6201
6218
  scenario_id: Annotated[StrictStr, Field(description="the Scenario identifier")],
6202
- scenario: Annotated[Scenario, Field(description="the new Scenario details. This endpoint can't be used to update security")],
6219
+ scenario: Annotated[Scenario, Field(description="The new Scenario details. This endpoint can't be used to update : - id - ownerId - datasetList - solutionId - runTemplateId - parametersValues - security ")],
6203
6220
  _request_timeout: Union[
6204
6221
  None,
6205
6222
  Annotated[StrictFloat, Field(gt=0)],
@@ -6222,7 +6239,7 @@ class ScenarioApi:
6222
6239
  :type workspace_id: str
6223
6240
  :param scenario_id: the Scenario identifier (required)
6224
6241
  :type scenario_id: str
6225
- :param scenario: the new Scenario details. This endpoint can't be used to update security (required)
6242
+ :param scenario: The new Scenario details. This endpoint can't be used to update : - id - ownerId - datasetList - solutionId - runTemplateId - parametersValues - security (required)
6226
6243
  :type scenario: Scenario
6227
6244
  :param _request_timeout: timeout setting for this request. If one
6228
6245
  number provided, it will be total request
@@ -6291,7 +6308,7 @@ class ScenarioApi:
6291
6308
  _query_params: List[Tuple[str, str]] = []
6292
6309
  _header_params: Dict[str, Optional[str]] = _headers or {}
6293
6310
  _form_params: List[Tuple[str, str]] = []
6294
- _files: Dict[str, str] = {}
6311
+ _files: Dict[str, Union[str, bytes]] = {}
6295
6312
  _body_params: Optional[bytes] = None
6296
6313
 
6297
6314
  # process the path parameters
@@ -6310,11 +6327,12 @@ class ScenarioApi:
6310
6327
 
6311
6328
 
6312
6329
  # set the HTTP header `Accept`
6313
- _header_params['Accept'] = self.api_client.select_header_accept(
6314
- [
6315
- 'application/json'
6316
- ]
6317
- )
6330
+ if 'Accept' not in _header_params:
6331
+ _header_params['Accept'] = self.api_client.select_header_accept(
6332
+ [
6333
+ 'application/json'
6334
+ ]
6335
+ )
6318
6336
 
6319
6337
  # set the HTTP header `Content-Type`
6320
6338
  if _content_type:
@@ -6624,7 +6642,7 @@ class ScenarioApi:
6624
6642
  _query_params: List[Tuple[str, str]] = []
6625
6643
  _header_params: Dict[str, Optional[str]] = _headers or {}
6626
6644
  _form_params: List[Tuple[str, str]] = []
6627
- _files: Dict[str, str] = {}
6645
+ _files: Dict[str, Union[str, bytes]] = {}
6628
6646
  _body_params: Optional[bytes] = None
6629
6647
 
6630
6648
  # process the path parameters
@@ -6645,11 +6663,12 @@ class ScenarioApi:
6645
6663
 
6646
6664
 
6647
6665
  # set the HTTP header `Accept`
6648
- _header_params['Accept'] = self.api_client.select_header_accept(
6649
- [
6650
- 'application/json'
6651
- ]
6652
- )
6666
+ if 'Accept' not in _header_params:
6667
+ _header_params['Accept'] = self.api_client.select_header_accept(
6668
+ [
6669
+ 'application/json'
6670
+ ]
6671
+ )
6653
6672
 
6654
6673
  # set the HTTP header `Content-Type`
6655
6674
  if _content_type:
@@ -6658,7 +6677,8 @@ class ScenarioApi:
6658
6677
  _default_content_type = (
6659
6678
  self.api_client.select_header_content_type(
6660
6679
  [
6661
- 'application/json'
6680
+ 'application/json',
6681
+ 'application/yaml'
6662
6682
  ]
6663
6683
  )
6664
6684
  )