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, StrictInt, StrictStr
21
- from typing import Optional
21
+ from typing import List, Optional
22
22
  from typing_extensions import Annotated
23
23
  from cosmotech_api.models.query_result import QueryResult
24
24
  from cosmotech_api.models.run import Run
@@ -303,7 +303,7 @@ class RunApi:
303
303
  _query_params: List[Tuple[str, str]] = []
304
304
  _header_params: Dict[str, Optional[str]] = _headers or {}
305
305
  _form_params: List[Tuple[str, str]] = []
306
- _files: Dict[str, str] = {}
306
+ _files: Dict[str, Union[str, bytes]] = {}
307
307
  _body_params: Optional[bytes] = None
308
308
 
309
309
  # process the path parameters
@@ -600,7 +600,7 @@ class RunApi:
600
600
  _query_params: List[Tuple[str, str]] = []
601
601
  _header_params: Dict[str, Optional[str]] = _headers or {}
602
602
  _form_params: List[Tuple[str, str]] = []
603
- _files: Dict[str, str] = {}
603
+ _files: Dict[str, Union[str, bytes]] = {}
604
604
  _body_params: Optional[bytes] = None
605
605
 
606
606
  # process the path parameters
@@ -619,11 +619,12 @@ class RunApi:
619
619
 
620
620
 
621
621
  # set the HTTP header `Accept`
622
- _header_params['Accept'] = self.api_client.select_header_accept(
623
- [
624
- 'application/json'
625
- ]
626
- )
622
+ if 'Accept' not in _header_params:
623
+ _header_params['Accept'] = self.api_client.select_header_accept(
624
+ [
625
+ 'application/json'
626
+ ]
627
+ )
627
628
 
628
629
 
629
630
  # authentication setting
@@ -900,7 +901,7 @@ class RunApi:
900
901
  _query_params: List[Tuple[str, str]] = []
901
902
  _header_params: Dict[str, Optional[str]] = _headers or {}
902
903
  _form_params: List[Tuple[str, str]] = []
903
- _files: Dict[str, str] = {}
904
+ _files: Dict[str, Union[str, bytes]] = {}
904
905
  _body_params: Optional[bytes] = None
905
906
 
906
907
  # process the path parameters
@@ -919,11 +920,12 @@ class RunApi:
919
920
 
920
921
 
921
922
  # set the HTTP header `Accept`
922
- _header_params['Accept'] = self.api_client.select_header_accept(
923
- [
924
- 'application/json'
925
- ]
926
- )
923
+ if 'Accept' not in _header_params:
924
+ _header_params['Accept'] = self.api_client.select_header_accept(
925
+ [
926
+ 'application/json'
927
+ ]
928
+ )
927
929
 
928
930
 
929
931
  # authentication setting
@@ -1200,7 +1202,7 @@ class RunApi:
1200
1202
  _query_params: List[Tuple[str, str]] = []
1201
1203
  _header_params: Dict[str, Optional[str]] = _headers or {}
1202
1204
  _form_params: List[Tuple[str, str]] = []
1203
- _files: Dict[str, str] = {}
1205
+ _files: Dict[str, Union[str, bytes]] = {}
1204
1206
  _body_params: Optional[bytes] = None
1205
1207
 
1206
1208
  # process the path parameters
@@ -1219,11 +1221,12 @@ class RunApi:
1219
1221
 
1220
1222
 
1221
1223
  # set the HTTP header `Accept`
1222
- _header_params['Accept'] = self.api_client.select_header_accept(
1223
- [
1224
- 'application/json'
1225
- ]
1226
- )
1224
+ if 'Accept' not in _header_params:
1225
+ _header_params['Accept'] = self.api_client.select_header_accept(
1226
+ [
1227
+ 'application/json'
1228
+ ]
1229
+ )
1227
1230
 
1228
1231
 
1229
1232
  # authentication setting
@@ -1513,7 +1516,7 @@ class RunApi:
1513
1516
  _query_params: List[Tuple[str, str]] = []
1514
1517
  _header_params: Dict[str, Optional[str]] = _headers or {}
1515
1518
  _form_params: List[Tuple[str, str]] = []
1516
- _files: Dict[str, str] = {}
1519
+ _files: Dict[str, Union[str, bytes]] = {}
1517
1520
  _body_params: Optional[bytes] = None
1518
1521
 
1519
1522
  # process the path parameters
@@ -1538,11 +1541,12 @@ class RunApi:
1538
1541
 
1539
1542
 
1540
1543
  # set the HTTP header `Accept`
1541
- _header_params['Accept'] = self.api_client.select_header_accept(
1542
- [
1543
- 'application/json'
1544
- ]
1545
- )
1544
+ if 'Accept' not in _header_params:
1545
+ _header_params['Accept'] = self.api_client.select_header_accept(
1546
+ [
1547
+ 'application/json'
1548
+ ]
1549
+ )
1546
1550
 
1547
1551
 
1548
1552
  # authentication setting
@@ -1832,7 +1836,7 @@ class RunApi:
1832
1836
  _query_params: List[Tuple[str, str]] = []
1833
1837
  _header_params: Dict[str, Optional[str]] = _headers or {}
1834
1838
  _form_params: List[Tuple[str, str]] = []
1835
- _files: Dict[str, str] = {}
1839
+ _files: Dict[str, Union[str, bytes]] = {}
1836
1840
  _body_params: Optional[bytes] = None
1837
1841
 
1838
1842
  # process the path parameters
@@ -1853,11 +1857,12 @@ class RunApi:
1853
1857
 
1854
1858
 
1855
1859
  # set the HTTP header `Accept`
1856
- _header_params['Accept'] = self.api_client.select_header_accept(
1857
- [
1858
- 'application/json'
1859
- ]
1860
- )
1860
+ if 'Accept' not in _header_params:
1861
+ _header_params['Accept'] = self.api_client.select_header_accept(
1862
+ [
1863
+ 'application/json'
1864
+ ]
1865
+ )
1861
1866
 
1862
1867
  # set the HTTP header `Content-Type`
1863
1868
  if _content_type:
@@ -1866,7 +1871,8 @@ class RunApi:
1866
1871
  _default_content_type = (
1867
1872
  self.api_client.select_header_content_type(
1868
1873
  [
1869
- 'application/json'
1874
+ 'application/json',
1875
+ 'application/yaml'
1870
1876
  ]
1871
1877
  )
1872
1878
  )
@@ -2163,7 +2169,7 @@ class RunApi:
2163
2169
  _query_params: List[Tuple[str, str]] = []
2164
2170
  _header_params: Dict[str, Optional[str]] = _headers or {}
2165
2171
  _form_params: List[Tuple[str, str]] = []
2166
- _files: Dict[str, str] = {}
2172
+ _files: Dict[str, Union[str, bytes]] = {}
2167
2173
  _body_params: Optional[bytes] = None
2168
2174
 
2169
2175
  # process the path parameters
@@ -2184,11 +2190,12 @@ class RunApi:
2184
2190
 
2185
2191
 
2186
2192
  # set the HTTP header `Accept`
2187
- _header_params['Accept'] = self.api_client.select_header_accept(
2188
- [
2189
- 'application/json'
2190
- ]
2191
- )
2193
+ if 'Accept' not in _header_params:
2194
+ _header_params['Accept'] = self.api_client.select_header_accept(
2195
+ [
2196
+ 'application/json'
2197
+ ]
2198
+ )
2192
2199
 
2193
2200
  # set the HTTP header `Content-Type`
2194
2201
  if _content_type:
@@ -2197,7 +2204,8 @@ class RunApi:
2197
2204
  _default_content_type = (
2198
2205
  self.api_client.select_header_content_type(
2199
2206
  [
2200
- 'application/json'
2207
+ 'application/json',
2208
+ 'application/yaml'
2201
2209
  ]
2202
2210
  )
2203
2211
  )
@@ -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,10 +18,11 @@ from typing import Any, Dict, List, Optional, Tuple, Union
18
18
  from typing_extensions import Annotated
19
19
 
20
20
  from pydantic import Field, StrictInt, StrictStr
21
- from typing import Optional
21
+ from typing import List, Optional
22
22
  from typing_extensions import Annotated
23
23
  from cosmotech_api.models.runner import Runner
24
24
  from cosmotech_api.models.runner_access_control import RunnerAccessControl
25
+ from cosmotech_api.models.runner_last_run import RunnerLastRun
25
26
  from cosmotech_api.models.runner_role import RunnerRole
26
27
  from cosmotech_api.models.runner_security import RunnerSecurity
27
28
 
@@ -297,7 +298,7 @@ class RunnerApi:
297
298
  _query_params: List[Tuple[str, str]] = []
298
299
  _header_params: Dict[str, Optional[str]] = _headers or {}
299
300
  _form_params: List[Tuple[str, str]] = []
300
- _files: Dict[str, str] = {}
301
+ _files: Dict[str, Union[str, bytes]] = {}
301
302
  _body_params: Optional[bytes] = None
302
303
 
303
304
  # process the path parameters
@@ -316,11 +317,12 @@ class RunnerApi:
316
317
 
317
318
 
318
319
  # set the HTTP header `Accept`
319
- _header_params['Accept'] = self.api_client.select_header_accept(
320
- [
321
- 'application/json'
322
- ]
323
- )
320
+ if 'Accept' not in _header_params:
321
+ _header_params['Accept'] = self.api_client.select_header_accept(
322
+ [
323
+ 'application/json'
324
+ ]
325
+ )
324
326
 
325
327
  # set the HTTP header `Content-Type`
326
328
  if _content_type:
@@ -601,7 +603,7 @@ class RunnerApi:
601
603
  _query_params: List[Tuple[str, str]] = []
602
604
  _header_params: Dict[str, Optional[str]] = _headers or {}
603
605
  _form_params: List[Tuple[str, str]] = []
604
- _files: Dict[str, str] = {}
606
+ _files: Dict[str, Union[str, bytes]] = {}
605
607
  _body_params: Optional[bytes] = None
606
608
 
607
609
  # process the path parameters
@@ -618,11 +620,12 @@ class RunnerApi:
618
620
 
619
621
 
620
622
  # set the HTTP header `Accept`
621
- _header_params['Accept'] = self.api_client.select_header_accept(
622
- [
623
- 'application/json'
624
- ]
625
- )
623
+ if 'Accept' not in _header_params:
624
+ _header_params['Accept'] = self.api_client.select_header_accept(
625
+ [
626
+ 'application/json'
627
+ ]
628
+ )
626
629
 
627
630
  # set the HTTP header `Content-Type`
628
631
  if _content_type:
@@ -903,7 +906,7 @@ class RunnerApi:
903
906
  _query_params: List[Tuple[str, str]] = []
904
907
  _header_params: Dict[str, Optional[str]] = _headers or {}
905
908
  _form_params: List[Tuple[str, str]] = []
906
- _files: Dict[str, str] = {}
909
+ _files: Dict[str, Union[str, bytes]] = {}
907
910
  _body_params: Optional[bytes] = None
908
911
 
909
912
  # process the path parameters
@@ -1185,7 +1188,7 @@ class RunnerApi:
1185
1188
  _query_params: List[Tuple[str, str]] = []
1186
1189
  _header_params: Dict[str, Optional[str]] = _headers or {}
1187
1190
  _form_params: List[Tuple[str, str]] = []
1188
- _files: Dict[str, str] = {}
1191
+ _files: Dict[str, Union[str, bytes]] = {}
1189
1192
  _body_params: Optional[bytes] = None
1190
1193
 
1191
1194
  # process the path parameters
@@ -1202,11 +1205,12 @@ class RunnerApi:
1202
1205
 
1203
1206
 
1204
1207
  # set the HTTP header `Accept`
1205
- _header_params['Accept'] = self.api_client.select_header_accept(
1206
- [
1207
- 'application/json'
1208
- ]
1209
- )
1208
+ if 'Accept' not in _header_params:
1209
+ _header_params['Accept'] = self.api_client.select_header_accept(
1210
+ [
1211
+ 'application/json'
1212
+ ]
1213
+ )
1210
1214
 
1211
1215
 
1212
1216
  # authentication setting
@@ -1486,7 +1490,7 @@ class RunnerApi:
1486
1490
  _query_params: List[Tuple[str, str]] = []
1487
1491
  _header_params: Dict[str, Optional[str]] = _headers or {}
1488
1492
  _form_params: List[Tuple[str, str]] = []
1489
- _files: Dict[str, str] = {}
1493
+ _files: Dict[str, Union[str, bytes]] = {}
1490
1494
  _body_params: Optional[bytes] = None
1491
1495
 
1492
1496
  # process the path parameters
@@ -1505,11 +1509,12 @@ class RunnerApi:
1505
1509
 
1506
1510
 
1507
1511
  # set the HTTP header `Accept`
1508
- _header_params['Accept'] = self.api_client.select_header_accept(
1509
- [
1510
- 'application/json'
1511
- ]
1512
- )
1512
+ if 'Accept' not in _header_params:
1513
+ _header_params['Accept'] = self.api_client.select_header_accept(
1514
+ [
1515
+ 'application/json'
1516
+ ]
1517
+ )
1513
1518
 
1514
1519
 
1515
1520
  # authentication setting
@@ -1786,7 +1791,7 @@ class RunnerApi:
1786
1791
  _query_params: List[Tuple[str, str]] = []
1787
1792
  _header_params: Dict[str, Optional[str]] = _headers or {}
1788
1793
  _form_params: List[Tuple[str, str]] = []
1789
- _files: Dict[str, str] = {}
1794
+ _files: Dict[str, Union[str, bytes]] = {}
1790
1795
  _body_params: Optional[bytes] = None
1791
1796
 
1792
1797
  # process the path parameters
@@ -1805,11 +1810,12 @@ class RunnerApi:
1805
1810
 
1806
1811
 
1807
1812
  # set the HTTP header `Accept`
1808
- _header_params['Accept'] = self.api_client.select_header_accept(
1809
- [
1810
- 'application/json'
1811
- ]
1812
- )
1813
+ if 'Accept' not in _header_params:
1814
+ _header_params['Accept'] = self.api_client.select_header_accept(
1815
+ [
1816
+ 'application/json'
1817
+ ]
1818
+ )
1813
1819
 
1814
1820
 
1815
1821
  # authentication setting
@@ -2076,7 +2082,7 @@ class RunnerApi:
2076
2082
  _query_params: List[Tuple[str, str]] = []
2077
2083
  _header_params: Dict[str, Optional[str]] = _headers or {}
2078
2084
  _form_params: List[Tuple[str, str]] = []
2079
- _files: Dict[str, str] = {}
2085
+ _files: Dict[str, Union[str, bytes]] = {}
2080
2086
  _body_params: Optional[bytes] = None
2081
2087
 
2082
2088
  # process the path parameters
@@ -2093,11 +2099,12 @@ class RunnerApi:
2093
2099
 
2094
2100
 
2095
2101
  # set the HTTP header `Accept`
2096
- _header_params['Accept'] = self.api_client.select_header_accept(
2097
- [
2098
- 'application/json'
2099
- ]
2100
- )
2102
+ if 'Accept' not in _header_params:
2103
+ _header_params['Accept'] = self.api_client.select_header_accept(
2104
+ [
2105
+ 'application/json'
2106
+ ]
2107
+ )
2101
2108
 
2102
2109
 
2103
2110
  # authentication setting
@@ -2364,7 +2371,7 @@ class RunnerApi:
2364
2371
  _query_params: List[Tuple[str, str]] = []
2365
2372
  _header_params: Dict[str, Optional[str]] = _headers or {}
2366
2373
  _form_params: List[Tuple[str, str]] = []
2367
- _files: Dict[str, str] = {}
2374
+ _files: Dict[str, Union[str, bytes]] = {}
2368
2375
  _body_params: Optional[bytes] = None
2369
2376
 
2370
2377
  # process the path parameters
@@ -2381,11 +2388,12 @@ class RunnerApi:
2381
2388
 
2382
2389
 
2383
2390
  # set the HTTP header `Accept`
2384
- _header_params['Accept'] = self.api_client.select_header_accept(
2385
- [
2386
- 'application/json'
2387
- ]
2388
- )
2391
+ if 'Accept' not in _header_params:
2392
+ _header_params['Accept'] = self.api_client.select_header_accept(
2393
+ [
2394
+ 'application/json'
2395
+ ]
2396
+ )
2389
2397
 
2390
2398
 
2391
2399
  # authentication setting
@@ -2662,7 +2670,7 @@ class RunnerApi:
2662
2670
  _query_params: List[Tuple[str, str]] = []
2663
2671
  _header_params: Dict[str, Optional[str]] = _headers or {}
2664
2672
  _form_params: List[Tuple[str, str]] = []
2665
- _files: Dict[str, str] = {}
2673
+ _files: Dict[str, Union[str, bytes]] = {}
2666
2674
  _body_params: Optional[bytes] = None
2667
2675
 
2668
2676
  # process the path parameters
@@ -2685,11 +2693,12 @@ class RunnerApi:
2685
2693
 
2686
2694
 
2687
2695
  # set the HTTP header `Accept`
2688
- _header_params['Accept'] = self.api_client.select_header_accept(
2689
- [
2690
- 'application/json'
2691
- ]
2692
- )
2696
+ if 'Accept' not in _header_params:
2697
+ _header_params['Accept'] = self.api_client.select_header_accept(
2698
+ [
2699
+ 'application/json'
2700
+ ]
2701
+ )
2693
2702
 
2694
2703
 
2695
2704
  # authentication setting
@@ -2969,7 +2978,7 @@ class RunnerApi:
2969
2978
  _query_params: List[Tuple[str, str]] = []
2970
2979
  _header_params: Dict[str, Optional[str]] = _headers or {}
2971
2980
  _form_params: List[Tuple[str, str]] = []
2972
- _files: Dict[str, str] = {}
2981
+ _files: Dict[str, Union[str, bytes]] = {}
2973
2982
  _body_params: Optional[bytes] = None
2974
2983
 
2975
2984
  # process the path parameters
@@ -3266,7 +3275,7 @@ class RunnerApi:
3266
3275
  _query_params: List[Tuple[str, str]] = []
3267
3276
  _header_params: Dict[str, Optional[str]] = _headers or {}
3268
3277
  _form_params: List[Tuple[str, str]] = []
3269
- _files: Dict[str, str] = {}
3278
+ _files: Dict[str, Union[str, bytes]] = {}
3270
3279
  _body_params: Optional[bytes] = None
3271
3280
 
3272
3281
  # process the path parameters
@@ -3285,11 +3294,12 @@ class RunnerApi:
3285
3294
 
3286
3295
 
3287
3296
  # set the HTTP header `Accept`
3288
- _header_params['Accept'] = self.api_client.select_header_accept(
3289
- [
3290
- 'application/json'
3291
- ]
3292
- )
3297
+ if 'Accept' not in _header_params:
3298
+ _header_params['Accept'] = self.api_client.select_header_accept(
3299
+ [
3300
+ 'application/json'
3301
+ ]
3302
+ )
3293
3303
 
3294
3304
  # set the HTTP header `Content-Type`
3295
3305
  if _content_type:
@@ -3347,7 +3357,7 @@ class RunnerApi:
3347
3357
  _content_type: Optional[StrictStr] = None,
3348
3358
  _headers: Optional[Dict[StrictStr, Any]] = None,
3349
3359
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3350
- ) -> str:
3360
+ ) -> RunnerLastRun:
3351
3361
  """Start a run with runner parameters
3352
3362
 
3353
3363
 
@@ -3390,7 +3400,7 @@ class RunnerApi:
3390
3400
  )
3391
3401
 
3392
3402
  _response_types_map: Dict[str, Optional[str]] = {
3393
- '202': "str",
3403
+ '202': "RunnerLastRun",
3394
3404
  '404': None,
3395
3405
  }
3396
3406
  response_data = self.api_client.call_api(
@@ -3422,7 +3432,7 @@ class RunnerApi:
3422
3432
  _content_type: Optional[StrictStr] = None,
3423
3433
  _headers: Optional[Dict[StrictStr, Any]] = None,
3424
3434
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3425
- ) -> ApiResponse[str]:
3435
+ ) -> ApiResponse[RunnerLastRun]:
3426
3436
  """Start a run with runner parameters
3427
3437
 
3428
3438
 
@@ -3465,7 +3475,7 @@ class RunnerApi:
3465
3475
  )
3466
3476
 
3467
3477
  _response_types_map: Dict[str, Optional[str]] = {
3468
- '202': "str",
3478
+ '202': "RunnerLastRun",
3469
3479
  '404': None,
3470
3480
  }
3471
3481
  response_data = self.api_client.call_api(
@@ -3540,7 +3550,7 @@ class RunnerApi:
3540
3550
  )
3541
3551
 
3542
3552
  _response_types_map: Dict[str, Optional[str]] = {
3543
- '202': "str",
3553
+ '202': "RunnerLastRun",
3544
3554
  '404': None,
3545
3555
  }
3546
3556
  response_data = self.api_client.call_api(
@@ -3570,7 +3580,7 @@ class RunnerApi:
3570
3580
  _query_params: List[Tuple[str, str]] = []
3571
3581
  _header_params: Dict[str, Optional[str]] = _headers or {}
3572
3582
  _form_params: List[Tuple[str, str]] = []
3573
- _files: Dict[str, str] = {}
3583
+ _files: Dict[str, Union[str, bytes]] = {}
3574
3584
  _body_params: Optional[bytes] = None
3575
3585
 
3576
3586
  # process the path parameters
@@ -3587,11 +3597,12 @@ class RunnerApi:
3587
3597
 
3588
3598
 
3589
3599
  # set the HTTP header `Accept`
3590
- _header_params['Accept'] = self.api_client.select_header_accept(
3591
- [
3592
- 'application/json'
3593
- ]
3594
- )
3600
+ if 'Accept' not in _header_params:
3601
+ _header_params['Accept'] = self.api_client.select_header_accept(
3602
+ [
3603
+ 'application/json'
3604
+ ]
3605
+ )
3595
3606
 
3596
3607
 
3597
3608
  # authentication setting
@@ -3858,7 +3869,7 @@ class RunnerApi:
3858
3869
  _query_params: List[Tuple[str, str]] = []
3859
3870
  _header_params: Dict[str, Optional[str]] = _headers or {}
3860
3871
  _form_params: List[Tuple[str, str]] = []
3861
- _files: Dict[str, str] = {}
3872
+ _files: Dict[str, Union[str, bytes]] = {}
3862
3873
  _body_params: Optional[bytes] = None
3863
3874
 
3864
3875
  # process the path parameters
@@ -3905,7 +3916,7 @@ class RunnerApi:
3905
3916
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
3906
3917
  workspace_id: Annotated[StrictStr, Field(description="the Workspace identifier")],
3907
3918
  runner_id: Annotated[StrictStr, Field(description="the Runner identifier")],
3908
- runner: Annotated[Runner, Field(description="the new Runner details. This endpoint can't be used to update security")],
3919
+ runner: Annotated[Runner, Field(description="The new Runner details. This endpoint can't be used to update : - id - ownerId - organizationId - workspaceId - creationDate - security ")],
3909
3920
  _request_timeout: Union[
3910
3921
  None,
3911
3922
  Annotated[StrictFloat, Field(gt=0)],
@@ -3928,7 +3939,7 @@ class RunnerApi:
3928
3939
  :type workspace_id: str
3929
3940
  :param runner_id: the Runner identifier (required)
3930
3941
  :type runner_id: str
3931
- :param runner: the new Runner details. This endpoint can't be used to update security (required)
3942
+ :param runner: The new Runner details. This endpoint can't be used to update : - id - ownerId - organizationId - workspaceId - creationDate - security (required)
3932
3943
  :type runner: Runner
3933
3944
  :param _request_timeout: timeout setting for this request. If one
3934
3945
  number provided, it will be total request
@@ -3985,7 +3996,7 @@ class RunnerApi:
3985
3996
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
3986
3997
  workspace_id: Annotated[StrictStr, Field(description="the Workspace identifier")],
3987
3998
  runner_id: Annotated[StrictStr, Field(description="the Runner identifier")],
3988
- runner: Annotated[Runner, Field(description="the new Runner details. This endpoint can't be used to update security")],
3999
+ runner: Annotated[Runner, Field(description="The new Runner details. This endpoint can't be used to update : - id - ownerId - organizationId - workspaceId - creationDate - security ")],
3989
4000
  _request_timeout: Union[
3990
4001
  None,
3991
4002
  Annotated[StrictFloat, Field(gt=0)],
@@ -4008,7 +4019,7 @@ class RunnerApi:
4008
4019
  :type workspace_id: str
4009
4020
  :param runner_id: the Runner identifier (required)
4010
4021
  :type runner_id: str
4011
- :param runner: the new Runner details. This endpoint can't be used to update security (required)
4022
+ :param runner: The new Runner details. This endpoint can't be used to update : - id - ownerId - organizationId - workspaceId - creationDate - security (required)
4012
4023
  :type runner: Runner
4013
4024
  :param _request_timeout: timeout setting for this request. If one
4014
4025
  number provided, it will be total request
@@ -4065,7 +4076,7 @@ class RunnerApi:
4065
4076
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
4066
4077
  workspace_id: Annotated[StrictStr, Field(description="the Workspace identifier")],
4067
4078
  runner_id: Annotated[StrictStr, Field(description="the Runner identifier")],
4068
- runner: Annotated[Runner, Field(description="the new Runner details. This endpoint can't be used to update security")],
4079
+ runner: Annotated[Runner, Field(description="The new Runner details. This endpoint can't be used to update : - id - ownerId - organizationId - workspaceId - creationDate - security ")],
4069
4080
  _request_timeout: Union[
4070
4081
  None,
4071
4082
  Annotated[StrictFloat, Field(gt=0)],
@@ -4088,7 +4099,7 @@ class RunnerApi:
4088
4099
  :type workspace_id: str
4089
4100
  :param runner_id: the Runner identifier (required)
4090
4101
  :type runner_id: str
4091
- :param runner: the new Runner details. This endpoint can't be used to update security (required)
4102
+ :param runner: The new Runner details. This endpoint can't be used to update : - id - ownerId - organizationId - workspaceId - creationDate - security (required)
4092
4103
  :type runner: Runner
4093
4104
  :param _request_timeout: timeout setting for this request. If one
4094
4105
  number provided, it will be total request
@@ -4156,7 +4167,7 @@ class RunnerApi:
4156
4167
  _query_params: List[Tuple[str, str]] = []
4157
4168
  _header_params: Dict[str, Optional[str]] = _headers or {}
4158
4169
  _form_params: List[Tuple[str, str]] = []
4159
- _files: Dict[str, str] = {}
4170
+ _files: Dict[str, Union[str, bytes]] = {}
4160
4171
  _body_params: Optional[bytes] = None
4161
4172
 
4162
4173
  # process the path parameters
@@ -4175,11 +4186,12 @@ class RunnerApi:
4175
4186
 
4176
4187
 
4177
4188
  # set the HTTP header `Accept`
4178
- _header_params['Accept'] = self.api_client.select_header_accept(
4179
- [
4180
- 'application/json'
4181
- ]
4182
- )
4189
+ if 'Accept' not in _header_params:
4190
+ _header_params['Accept'] = self.api_client.select_header_accept(
4191
+ [
4192
+ 'application/json'
4193
+ ]
4194
+ )
4183
4195
 
4184
4196
  # set the HTTP header `Content-Type`
4185
4197
  if _content_type:
@@ -4486,7 +4498,7 @@ class RunnerApi:
4486
4498
  _query_params: List[Tuple[str, str]] = []
4487
4499
  _header_params: Dict[str, Optional[str]] = _headers or {}
4488
4500
  _form_params: List[Tuple[str, str]] = []
4489
- _files: Dict[str, str] = {}
4501
+ _files: Dict[str, Union[str, bytes]] = {}
4490
4502
  _body_params: Optional[bytes] = None
4491
4503
 
4492
4504
  # process the path parameters
@@ -4507,11 +4519,12 @@ class RunnerApi:
4507
4519
 
4508
4520
 
4509
4521
  # set the HTTP header `Accept`
4510
- _header_params['Accept'] = self.api_client.select_header_accept(
4511
- [
4512
- 'application/json'
4513
- ]
4514
- )
4522
+ if 'Accept' not in _header_params:
4523
+ _header_params['Accept'] = self.api_client.select_header_accept(
4524
+ [
4525
+ 'application/json'
4526
+ ]
4527
+ )
4515
4528
 
4516
4529
  # set the HTTP header `Content-Type`
4517
4530
  if _content_type:
@@ -4520,7 +4533,8 @@ class RunnerApi:
4520
4533
  _default_content_type = (
4521
4534
  self.api_client.select_header_content_type(
4522
4535
  [
4523
- 'application/json'
4536
+ 'application/json',
4537
+ 'application/yaml'
4524
4538
  ]
4525
4539
  )
4526
4540
  )