cosmotech-api 3.3.4__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 (259) hide show
  1. cosmotech_api/__init__.py +3 -49
  2. cosmotech_api/api/__init__.py +0 -3
  3. cosmotech_api/api/connector_api.py +7 -263
  4. cosmotech_api/api/dataset_api.py +65 -69
  5. cosmotech_api/api/organization_api.py +15 -882
  6. cosmotech_api/api/run_api.py +9 -11
  7. cosmotech_api/api/runner_api.py +20 -21
  8. cosmotech_api/api/scenario_api.py +121 -141
  9. cosmotech_api/api/scenariorun_api.py +66 -76
  10. cosmotech_api/api/scenariorunresult_api.py +1 -1
  11. cosmotech_api/api/solution_api.py +397 -1053
  12. cosmotech_api/api/twingraph_api.py +72 -83
  13. cosmotech_api/api/validator_api.py +1 -1
  14. cosmotech_api/api/workspace_api.py +14 -312
  15. cosmotech_api/api_client.py +1 -1
  16. cosmotech_api/configuration.py +5 -13
  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 +1 -1
  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 +1 -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 -46
  126. cosmotech_api/models/component_role_permissions.py +1 -1
  127. cosmotech_api/models/connector.py +3 -7
  128. cosmotech_api/models/connector_parameter.py +1 -1
  129. cosmotech_api/models/connector_parameter_group.py +1 -1
  130. cosmotech_api/models/container_resource_size_info.py +1 -1
  131. cosmotech_api/models/container_resource_sizing.py +1 -1
  132. cosmotech_api/models/created_run.py +1 -1
  133. cosmotech_api/models/dataset.py +1 -1
  134. cosmotech_api/models/dataset_access_control.py +1 -1
  135. cosmotech_api/models/dataset_compatibility.py +1 -1
  136. cosmotech_api/models/dataset_connector.py +1 -1
  137. cosmotech_api/models/dataset_copy_parameters.py +1 -1
  138. cosmotech_api/models/dataset_role.py +1 -1
  139. cosmotech_api/models/dataset_search.py +1 -1
  140. cosmotech_api/models/dataset_security.py +1 -1
  141. cosmotech_api/models/dataset_source_type.py +1 -1
  142. cosmotech_api/models/dataset_twin_graph_hash.py +1 -1
  143. cosmotech_api/models/dataset_twin_graph_info.py +1 -1
  144. cosmotech_api/models/dataset_twin_graph_query.py +1 -1
  145. cosmotech_api/models/delete_historical_data.py +1 -1
  146. cosmotech_api/models/file_upload_metadata.py +1 -1
  147. cosmotech_api/models/file_upload_validation.py +1 -1
  148. cosmotech_api/models/graph_properties.py +1 -1
  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 +2 -8
  152. cosmotech_api/models/organization_access_control.py +1 -1
  153. cosmotech_api/models/organization_role.py +1 -1
  154. cosmotech_api/models/organization_security.py +1 -1
  155. cosmotech_api/models/organization_service.py +7 -7
  156. cosmotech_api/models/organization_services.py +7 -7
  157. cosmotech_api/models/query_result.py +1 -1
  158. cosmotech_api/models/resource_size_info.py +1 -1
  159. cosmotech_api/models/run.py +1 -1
  160. cosmotech_api/models/run_container.py +3 -13
  161. cosmotech_api/models/run_container_artifact.py +7 -7
  162. cosmotech_api/models/run_container_logs.py +7 -7
  163. cosmotech_api/models/run_data.py +1 -1
  164. cosmotech_api/models/run_data_query.py +1 -1
  165. cosmotech_api/models/run_logs.py +16 -21
  166. cosmotech_api/models/run_logs_entry.py +1 -1
  167. cosmotech_api/models/run_resource_requested.py +1 -1
  168. cosmotech_api/models/run_search.py +7 -7
  169. cosmotech_api/models/run_search_state.py +1 -1
  170. cosmotech_api/models/run_start_containers.py +10 -10
  171. cosmotech_api/models/run_state.py +1 -1
  172. cosmotech_api/models/run_status.py +1 -1
  173. cosmotech_api/models/run_status_node.py +1 -1
  174. cosmotech_api/models/run_template.py +1 -1
  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 +1 -1
  178. cosmotech_api/models/run_template_parameter_group.py +1 -1
  179. cosmotech_api/models/run_template_parameter_value.py +1 -1
  180. cosmotech_api/models/run_template_resource_sizing.py +1 -1
  181. cosmotech_api/models/run_template_step_source.py +1 -1
  182. cosmotech_api/models/runner.py +5 -24
  183. cosmotech_api/models/runner_access_control.py +1 -1
  184. cosmotech_api/models/runner_changed_parameter_value.py +7 -7
  185. cosmotech_api/models/runner_comparison_result.py +10 -10
  186. cosmotech_api/models/runner_data_download_info.py +9 -12
  187. cosmotech_api/models/runner_data_download_job.py +7 -7
  188. cosmotech_api/models/runner_job_state.py +1 -1
  189. cosmotech_api/models/runner_last_run.py +7 -7
  190. cosmotech_api/models/runner_parent_last_run.py +7 -7
  191. cosmotech_api/models/runner_resource_sizing.py +1 -1
  192. cosmotech_api/models/runner_role.py +1 -1
  193. cosmotech_api/models/runner_root_last_run.py +7 -7
  194. cosmotech_api/models/runner_run_template_parameter_value.py +1 -1
  195. cosmotech_api/models/runner_security.py +1 -1
  196. cosmotech_api/models/runner_validation_status.py +1 -1
  197. cosmotech_api/models/scenario.py +10 -10
  198. cosmotech_api/models/scenario_access_control.py +7 -7
  199. cosmotech_api/models/scenario_changed_parameter_value.py +7 -7
  200. cosmotech_api/models/scenario_comparison_result.py +10 -10
  201. cosmotech_api/models/scenario_data_download_info.py +7 -7
  202. cosmotech_api/models/scenario_data_download_job.py +7 -7
  203. cosmotech_api/models/scenario_job_state.py +1 -1
  204. cosmotech_api/models/scenario_last_run.py +7 -7
  205. cosmotech_api/models/scenario_resource_sizing.py +7 -7
  206. cosmotech_api/models/scenario_role.py +7 -7
  207. cosmotech_api/models/scenario_run.py +13 -13
  208. cosmotech_api/models/scenario_run_container.py +10 -10
  209. cosmotech_api/models/scenario_run_container_artifact.py +7 -7
  210. cosmotech_api/models/scenario_run_container_logs.py +7 -7
  211. cosmotech_api/models/scenario_run_logs.py +10 -10
  212. cosmotech_api/models/scenario_run_resource_requested.py +7 -7
  213. cosmotech_api/models/scenario_run_search.py +7 -7
  214. cosmotech_api/models/scenario_run_search_state.py +1 -1
  215. cosmotech_api/models/scenario_run_start_containers.py +10 -10
  216. cosmotech_api/models/scenario_run_state.py +1 -1
  217. cosmotech_api/models/scenario_run_status.py +10 -10
  218. cosmotech_api/models/scenario_run_status_node.py +7 -7
  219. cosmotech_api/models/scenario_run_template_parameter_value.py +7 -7
  220. cosmotech_api/models/scenario_security.py +10 -10
  221. cosmotech_api/models/scenario_validation_status.py +1 -1
  222. cosmotech_api/models/send_run_data_request.py +1 -1
  223. cosmotech_api/models/solution.py +2 -2
  224. cosmotech_api/models/solution_access_control.py +1 -1
  225. cosmotech_api/models/solution_role.py +1 -1
  226. cosmotech_api/models/solution_security.py +1 -1
  227. cosmotech_api/models/source_info.py +1 -1
  228. cosmotech_api/models/sub_dataset_graph_query.py +1 -1
  229. cosmotech_api/models/twin_graph_batch_result.py +1 -1
  230. cosmotech_api/models/twin_graph_hash.py +7 -7
  231. cosmotech_api/models/twin_graph_query.py +7 -7
  232. cosmotech_api/models/twincache_status_enum.py +1 -1
  233. cosmotech_api/models/validator.py +7 -7
  234. cosmotech_api/models/workspace.py +2 -2
  235. cosmotech_api/models/workspace_access_control.py +1 -1
  236. cosmotech_api/models/workspace_file.py +1 -1
  237. cosmotech_api/models/workspace_role.py +1 -1
  238. cosmotech_api/models/workspace_secret.py +7 -7
  239. cosmotech_api/models/workspace_security.py +1 -1
  240. cosmotech_api/models/workspace_solution.py +1 -1
  241. cosmotech_api/models/workspace_web_app.py +1 -1
  242. cosmotech_api/rest.py +1 -1
  243. {cosmotech_api-3.3.4.dist-info → cosmotech_api-4.0.0.dev8.dist-info}/METADATA +5 -13
  244. cosmotech_api-4.0.0.dev8.dist-info/RECORD +262 -0
  245. {cosmotech_api-3.3.4.dist-info → cosmotech_api-4.0.0.dev8.dist-info}/WHEEL +1 -1
  246. cosmotech_api/api/meta_api.py +0 -281
  247. cosmotech_api/models/about_info.py +0 -92
  248. cosmotech_api/models/about_info_version.py +0 -100
  249. cosmotech_api/models/organization_create_request.py +0 -95
  250. cosmotech_api/models/organization_update_request.py +0 -89
  251. cosmotech_api/models/runner_create_request.py +0 -154
  252. cosmotech_api/models/runner_update_request.py +0 -123
  253. cosmotech_api/models/solution_create_request.py +0 -143
  254. cosmotech_api/models/solution_update_request.py +0 -107
  255. cosmotech_api/models/workspace_create_request.py +0 -117
  256. cosmotech_api/models/workspace_update_request.py +0 -109
  257. cosmotech_api-3.3.4.dist-info/RECORD +0 -273
  258. {cosmotech_api-3.3.4.dist-info → cosmotech_api-4.0.0.dev8.dist-info}/LICENSE +0 -0
  259. {cosmotech_api-3.3.4.dist-info → cosmotech_api-4.0.0.dev8.dist-info}/top_level.txt +0 -0
cosmotech_api/__init__.py CHANGED
@@ -7,7 +7,7 @@
7
7
 
8
8
  Cosmo Tech Platform API
9
9
 
10
- The version of the OpenAPI document: 3.3.4
10
+ The version of the OpenAPI document: 4.0.0-onprem.8
11
11
  Contact: platform@cosmotech.com
12
12
  Generated by OpenAPI Generator (https://openapi-generator.tech)
13
13
 
@@ -23,10 +23,7 @@ from cosmotech_api.api.dataset_api import DatasetApi
23
23
  from cosmotech_api.api.organization_api import OrganizationApi
24
24
  from cosmotech_api.api.run_api import RunApi
25
25
  from cosmotech_api.api.runner_api import RunnerApi
26
- from cosmotech_api.api.scenario_api import ScenarioApi
27
- from cosmotech_api.api.scenariorun_api import ScenariorunApi
28
26
  from cosmotech_api.api.solution_api import SolutionApi
29
- from cosmotech_api.api.twingraph_api import TwingraphApi
30
27
  from cosmotech_api.api.workspace_api import WorkspaceApi
31
28
 
32
29
  # import ApiClient
@@ -47,6 +44,7 @@ from cosmotech_api.models.connector_parameter import ConnectorParameter
47
44
  from cosmotech_api.models.connector_parameter_group import ConnectorParameterGroup
48
45
  from cosmotech_api.models.container_resource_size_info import ContainerResourceSizeInfo
49
46
  from cosmotech_api.models.container_resource_sizing import ContainerResourceSizing
47
+ from cosmotech_api.models.created_run import CreatedRun
50
48
  from cosmotech_api.models.dataset import Dataset
51
49
  from cosmotech_api.models.dataset_access_control import DatasetAccessControl
52
50
  from cosmotech_api.models.dataset_compatibility import DatasetCompatibility
@@ -69,26 +67,19 @@ from cosmotech_api.models.organization import Organization
69
67
  from cosmotech_api.models.organization_access_control import OrganizationAccessControl
70
68
  from cosmotech_api.models.organization_role import OrganizationRole
71
69
  from cosmotech_api.models.organization_security import OrganizationSecurity
72
- from cosmotech_api.models.organization_service import OrganizationService
73
- from cosmotech_api.models.organization_services import OrganizationServices
74
70
  from cosmotech_api.models.query_result import QueryResult
75
71
  from cosmotech_api.models.resource_size_info import ResourceSizeInfo
76
72
  from cosmotech_api.models.run import Run
77
73
  from cosmotech_api.models.run_container import RunContainer
78
- from cosmotech_api.models.run_container_artifact import RunContainerArtifact
79
- from cosmotech_api.models.run_container_logs import RunContainerLogs
80
74
  from cosmotech_api.models.run_data import RunData
81
75
  from cosmotech_api.models.run_data_query import RunDataQuery
82
76
  from cosmotech_api.models.run_logs import RunLogs
77
+ from cosmotech_api.models.run_logs_entry import RunLogsEntry
83
78
  from cosmotech_api.models.run_resource_requested import RunResourceRequested
84
- from cosmotech_api.models.run_search import RunSearch
85
- from cosmotech_api.models.run_search_state import RunSearchState
86
- from cosmotech_api.models.run_start_containers import RunStartContainers
87
79
  from cosmotech_api.models.run_state import RunState
88
80
  from cosmotech_api.models.run_status import RunStatus
89
81
  from cosmotech_api.models.run_status_node import RunStatusNode
90
82
  from cosmotech_api.models.run_template import RunTemplate
91
- from cosmotech_api.models.run_template_handler_id import RunTemplateHandlerId
92
83
  from cosmotech_api.models.run_template_orchestrator import RunTemplateOrchestrator
93
84
  from cosmotech_api.models.run_template_parameter import RunTemplateParameter
94
85
  from cosmotech_api.models.run_template_parameter_group import RunTemplateParameterGroup
@@ -97,44 +88,11 @@ from cosmotech_api.models.run_template_resource_sizing import RunTemplateResourc
97
88
  from cosmotech_api.models.run_template_step_source import RunTemplateStepSource
98
89
  from cosmotech_api.models.runner import Runner
99
90
  from cosmotech_api.models.runner_access_control import RunnerAccessControl
100
- from cosmotech_api.models.runner_changed_parameter_value import RunnerChangedParameterValue
101
- from cosmotech_api.models.runner_comparison_result import RunnerComparisonResult
102
- from cosmotech_api.models.runner_data_download_info import RunnerDataDownloadInfo
103
- from cosmotech_api.models.runner_data_download_job import RunnerDataDownloadJob
104
- from cosmotech_api.models.runner_job_state import RunnerJobState
105
- from cosmotech_api.models.runner_last_run import RunnerLastRun
106
- from cosmotech_api.models.runner_parent_last_run import RunnerParentLastRun
107
91
  from cosmotech_api.models.runner_resource_sizing import RunnerResourceSizing
108
92
  from cosmotech_api.models.runner_role import RunnerRole
109
- from cosmotech_api.models.runner_root_last_run import RunnerRootLastRun
110
93
  from cosmotech_api.models.runner_run_template_parameter_value import RunnerRunTemplateParameterValue
111
94
  from cosmotech_api.models.runner_security import RunnerSecurity
112
95
  from cosmotech_api.models.runner_validation_status import RunnerValidationStatus
113
- from cosmotech_api.models.scenario import Scenario
114
- from cosmotech_api.models.scenario_access_control import ScenarioAccessControl
115
- from cosmotech_api.models.scenario_changed_parameter_value import ScenarioChangedParameterValue
116
- from cosmotech_api.models.scenario_comparison_result import ScenarioComparisonResult
117
- from cosmotech_api.models.scenario_data_download_info import ScenarioDataDownloadInfo
118
- from cosmotech_api.models.scenario_data_download_job import ScenarioDataDownloadJob
119
- from cosmotech_api.models.scenario_job_state import ScenarioJobState
120
- from cosmotech_api.models.scenario_last_run import ScenarioLastRun
121
- from cosmotech_api.models.scenario_resource_sizing import ScenarioResourceSizing
122
- from cosmotech_api.models.scenario_role import ScenarioRole
123
- from cosmotech_api.models.scenario_run import ScenarioRun
124
- from cosmotech_api.models.scenario_run_container import ScenarioRunContainer
125
- from cosmotech_api.models.scenario_run_container_artifact import ScenarioRunContainerArtifact
126
- from cosmotech_api.models.scenario_run_container_logs import ScenarioRunContainerLogs
127
- from cosmotech_api.models.scenario_run_logs import ScenarioRunLogs
128
- from cosmotech_api.models.scenario_run_resource_requested import ScenarioRunResourceRequested
129
- from cosmotech_api.models.scenario_run_search import ScenarioRunSearch
130
- from cosmotech_api.models.scenario_run_search_state import ScenarioRunSearchState
131
- from cosmotech_api.models.scenario_run_start_containers import ScenarioRunStartContainers
132
- from cosmotech_api.models.scenario_run_state import ScenarioRunState
133
- from cosmotech_api.models.scenario_run_status import ScenarioRunStatus
134
- from cosmotech_api.models.scenario_run_status_node import ScenarioRunStatusNode
135
- from cosmotech_api.models.scenario_run_template_parameter_value import ScenarioRunTemplateParameterValue
136
- from cosmotech_api.models.scenario_security import ScenarioSecurity
137
- from cosmotech_api.models.scenario_validation_status import ScenarioValidationStatus
138
96
  from cosmotech_api.models.send_run_data_request import SendRunDataRequest
139
97
  from cosmotech_api.models.solution import Solution
140
98
  from cosmotech_api.models.solution_access_control import SolutionAccessControl
@@ -143,15 +101,11 @@ from cosmotech_api.models.solution_security import SolutionSecurity
143
101
  from cosmotech_api.models.source_info import SourceInfo
144
102
  from cosmotech_api.models.sub_dataset_graph_query import SubDatasetGraphQuery
145
103
  from cosmotech_api.models.twin_graph_batch_result import TwinGraphBatchResult
146
- from cosmotech_api.models.twin_graph_hash import TwinGraphHash
147
- from cosmotech_api.models.twin_graph_query import TwinGraphQuery
148
104
  from cosmotech_api.models.twincache_status_enum import TwincacheStatusEnum
149
- from cosmotech_api.models.validator import Validator
150
105
  from cosmotech_api.models.workspace import Workspace
151
106
  from cosmotech_api.models.workspace_access_control import WorkspaceAccessControl
152
107
  from cosmotech_api.models.workspace_file import WorkspaceFile
153
108
  from cosmotech_api.models.workspace_role import WorkspaceRole
154
- from cosmotech_api.models.workspace_secret import WorkspaceSecret
155
109
  from cosmotech_api.models.workspace_security import WorkspaceSecurity
156
110
  from cosmotech_api.models.workspace_solution import WorkspaceSolution
157
111
  from cosmotech_api.models.workspace_web_app import WorkspaceWebApp
@@ -6,9 +6,6 @@ from cosmotech_api.api.dataset_api import DatasetApi
6
6
  from cosmotech_api.api.organization_api import OrganizationApi
7
7
  from cosmotech_api.api.run_api import RunApi
8
8
  from cosmotech_api.api.runner_api import RunnerApi
9
- from cosmotech_api.api.scenario_api import ScenarioApi
10
- from cosmotech_api.api.scenariorun_api import ScenariorunApi
11
9
  from cosmotech_api.api.solution_api import SolutionApi
12
- from cosmotech_api.api.twingraph_api import TwingraphApi
13
10
  from cosmotech_api.api.workspace_api import WorkspaceApi
14
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  Cosmo Tech Platform API
7
7
 
8
- The version of the OpenAPI document: 3.3.4
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
 
@@ -43,7 +43,7 @@ class ConnectorApi:
43
43
  @validate_call
44
44
  def find_all_connectors(
45
45
  self,
46
- page: Annotated[Optional[StrictInt], Field(description="page number to query")] = None,
46
+ page: Annotated[Optional[StrictInt], Field(description="page number to query (first page is at index 0)")] = None,
47
47
  size: Annotated[Optional[StrictInt], Field(description="amount of result by page")] = None,
48
48
  _request_timeout: Union[
49
49
  None,
@@ -61,7 +61,7 @@ class ConnectorApi:
61
61
  """List all Connectors
62
62
 
63
63
 
64
- :param page: page number to query
64
+ :param page: page number to query (first page is at index 0)
65
65
  :type page: int
66
66
  :param size: amount of result by page
67
67
  :type size: int
@@ -113,7 +113,7 @@ class ConnectorApi:
113
113
  @validate_call
114
114
  def find_all_connectors_with_http_info(
115
115
  self,
116
- page: Annotated[Optional[StrictInt], Field(description="page number to query")] = None,
116
+ page: Annotated[Optional[StrictInt], Field(description="page number to query (first page is at index 0)")] = None,
117
117
  size: Annotated[Optional[StrictInt], Field(description="amount of result by page")] = None,
118
118
  _request_timeout: Union[
119
119
  None,
@@ -131,7 +131,7 @@ class ConnectorApi:
131
131
  """List all Connectors
132
132
 
133
133
 
134
- :param page: page number to query
134
+ :param page: page number to query (first page is at index 0)
135
135
  :type page: int
136
136
  :param size: amount of result by page
137
137
  :type size: int
@@ -183,7 +183,7 @@ class ConnectorApi:
183
183
  @validate_call
184
184
  def find_all_connectors_without_preload_content(
185
185
  self,
186
- page: Annotated[Optional[StrictInt], Field(description="page number to query")] = None,
186
+ page: Annotated[Optional[StrictInt], Field(description="page number to query (first page is at index 0)")] = None,
187
187
  size: Annotated[Optional[StrictInt], Field(description="amount of result by page")] = None,
188
188
  _request_timeout: Union[
189
189
  None,
@@ -201,7 +201,7 @@ class ConnectorApi:
201
201
  """List all Connectors
202
202
 
203
203
 
204
- :param page: page number to query
204
+ :param page: page number to query (first page is at index 0)
205
205
  :type page: int
206
206
  :param size: amount of result by page
207
207
  :type size: int
@@ -574,262 +574,6 @@ class ConnectorApi:
574
574
 
575
575
 
576
576
 
577
- @validate_call
578
- def find_connector_by_name(
579
- self,
580
- connector_name: Annotated[StrictStr, Field(description="the Connector name")],
581
- _request_timeout: Union[
582
- None,
583
- Annotated[StrictFloat, Field(gt=0)],
584
- Tuple[
585
- Annotated[StrictFloat, Field(gt=0)],
586
- Annotated[StrictFloat, Field(gt=0)]
587
- ]
588
- ] = None,
589
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
590
- _content_type: Optional[StrictStr] = None,
591
- _headers: Optional[Dict[StrictStr, Any]] = None,
592
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
593
- ) -> Connector:
594
- """Get the details of a connector
595
-
596
-
597
- :param connector_name: the Connector name (required)
598
- :type connector_name: str
599
- :param _request_timeout: timeout setting for this request. If one
600
- number provided, it will be total request
601
- timeout. It can also be a pair (tuple) of
602
- (connection, read) timeouts.
603
- :type _request_timeout: int, tuple(int, int), optional
604
- :param _request_auth: set to override the auth_settings for an a single
605
- request; this effectively ignores the
606
- authentication in the spec for a single request.
607
- :type _request_auth: dict, optional
608
- :param _content_type: force content-type for the request.
609
- :type _content_type: str, Optional
610
- :param _headers: set to override the headers for a single
611
- request; this effectively ignores the headers
612
- in the spec for a single request.
613
- :type _headers: dict, optional
614
- :param _host_index: set to override the host_index for a single
615
- request; this effectively ignores the host_index
616
- in the spec for a single request.
617
- :type _host_index: int, optional
618
- :return: Returns the result object.
619
- """ # noqa: E501
620
-
621
- _param = self._find_connector_by_name_serialize(
622
- connector_name=connector_name,
623
- _request_auth=_request_auth,
624
- _content_type=_content_type,
625
- _headers=_headers,
626
- _host_index=_host_index
627
- )
628
-
629
- _response_types_map: Dict[str, Optional[str]] = {
630
- '200': "Connector",
631
- }
632
- response_data = self.api_client.call_api(
633
- *_param,
634
- _request_timeout=_request_timeout
635
- )
636
- response_data.read()
637
- return self.api_client.response_deserialize(
638
- response_data=response_data,
639
- response_types_map=_response_types_map,
640
- ).data
641
-
642
-
643
- @validate_call
644
- def find_connector_by_name_with_http_info(
645
- self,
646
- connector_name: Annotated[StrictStr, Field(description="the Connector name")],
647
- _request_timeout: Union[
648
- None,
649
- Annotated[StrictFloat, Field(gt=0)],
650
- Tuple[
651
- Annotated[StrictFloat, Field(gt=0)],
652
- Annotated[StrictFloat, Field(gt=0)]
653
- ]
654
- ] = None,
655
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
656
- _content_type: Optional[StrictStr] = None,
657
- _headers: Optional[Dict[StrictStr, Any]] = None,
658
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
659
- ) -> ApiResponse[Connector]:
660
- """Get the details of a connector
661
-
662
-
663
- :param connector_name: the Connector name (required)
664
- :type connector_name: str
665
- :param _request_timeout: timeout setting for this request. If one
666
- number provided, it will be total request
667
- timeout. It can also be a pair (tuple) of
668
- (connection, read) timeouts.
669
- :type _request_timeout: int, tuple(int, int), optional
670
- :param _request_auth: set to override the auth_settings for an a single
671
- request; this effectively ignores the
672
- authentication in the spec for a single request.
673
- :type _request_auth: dict, optional
674
- :param _content_type: force content-type for the request.
675
- :type _content_type: str, Optional
676
- :param _headers: set to override the headers for a single
677
- request; this effectively ignores the headers
678
- in the spec for a single request.
679
- :type _headers: dict, optional
680
- :param _host_index: set to override the host_index for a single
681
- request; this effectively ignores the host_index
682
- in the spec for a single request.
683
- :type _host_index: int, optional
684
- :return: Returns the result object.
685
- """ # noqa: E501
686
-
687
- _param = self._find_connector_by_name_serialize(
688
- connector_name=connector_name,
689
- _request_auth=_request_auth,
690
- _content_type=_content_type,
691
- _headers=_headers,
692
- _host_index=_host_index
693
- )
694
-
695
- _response_types_map: Dict[str, Optional[str]] = {
696
- '200': "Connector",
697
- }
698
- response_data = self.api_client.call_api(
699
- *_param,
700
- _request_timeout=_request_timeout
701
- )
702
- response_data.read()
703
- return self.api_client.response_deserialize(
704
- response_data=response_data,
705
- response_types_map=_response_types_map,
706
- )
707
-
708
-
709
- @validate_call
710
- def find_connector_by_name_without_preload_content(
711
- self,
712
- connector_name: Annotated[StrictStr, Field(description="the Connector name")],
713
- _request_timeout: Union[
714
- None,
715
- Annotated[StrictFloat, Field(gt=0)],
716
- Tuple[
717
- Annotated[StrictFloat, Field(gt=0)],
718
- Annotated[StrictFloat, Field(gt=0)]
719
- ]
720
- ] = None,
721
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
722
- _content_type: Optional[StrictStr] = None,
723
- _headers: Optional[Dict[StrictStr, Any]] = None,
724
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
725
- ) -> RESTResponseType:
726
- """Get the details of a connector
727
-
728
-
729
- :param connector_name: the Connector name (required)
730
- :type connector_name: str
731
- :param _request_timeout: timeout setting for this request. If one
732
- number provided, it will be total request
733
- timeout. It can also be a pair (tuple) of
734
- (connection, read) timeouts.
735
- :type _request_timeout: int, tuple(int, int), optional
736
- :param _request_auth: set to override the auth_settings for an a single
737
- request; this effectively ignores the
738
- authentication in the spec for a single request.
739
- :type _request_auth: dict, optional
740
- :param _content_type: force content-type for the request.
741
- :type _content_type: str, Optional
742
- :param _headers: set to override the headers for a single
743
- request; this effectively ignores the headers
744
- in the spec for a single request.
745
- :type _headers: dict, optional
746
- :param _host_index: set to override the host_index for a single
747
- request; this effectively ignores the host_index
748
- in the spec for a single request.
749
- :type _host_index: int, optional
750
- :return: Returns the result object.
751
- """ # noqa: E501
752
-
753
- _param = self._find_connector_by_name_serialize(
754
- connector_name=connector_name,
755
- _request_auth=_request_auth,
756
- _content_type=_content_type,
757
- _headers=_headers,
758
- _host_index=_host_index
759
- )
760
-
761
- _response_types_map: Dict[str, Optional[str]] = {
762
- '200': "Connector",
763
- }
764
- response_data = self.api_client.call_api(
765
- *_param,
766
- _request_timeout=_request_timeout
767
- )
768
- return response_data.response
769
-
770
-
771
- def _find_connector_by_name_serialize(
772
- self,
773
- connector_name,
774
- _request_auth,
775
- _content_type,
776
- _headers,
777
- _host_index,
778
- ) -> RequestSerialized:
779
-
780
- _host = None
781
-
782
- _collection_formats: Dict[str, str] = {
783
- }
784
-
785
- _path_params: Dict[str, str] = {}
786
- _query_params: List[Tuple[str, str]] = []
787
- _header_params: Dict[str, Optional[str]] = _headers or {}
788
- _form_params: List[Tuple[str, str]] = []
789
- _files: Dict[str, Union[str, bytes]] = {}
790
- _body_params: Optional[bytes] = None
791
-
792
- # process the path parameters
793
- if connector_name is not None:
794
- _path_params['connector_name'] = connector_name
795
- # process the query parameters
796
- # process the header parameters
797
- # process the form parameters
798
- # process the body parameter
799
-
800
-
801
- # set the HTTP header `Accept`
802
- if 'Accept' not in _header_params:
803
- _header_params['Accept'] = self.api_client.select_header_accept(
804
- [
805
- 'application/json'
806
- ]
807
- )
808
-
809
-
810
- # authentication setting
811
- _auth_settings: List[str] = [
812
- 'oAuth2AuthCode'
813
- ]
814
-
815
- return self.api_client.param_serialize(
816
- method='GET',
817
- resource_path='/connectors/name/{connector_name}',
818
- path_params=_path_params,
819
- query_params=_query_params,
820
- header_params=_header_params,
821
- body=_body_params,
822
- post_params=_form_params,
823
- files=_files,
824
- auth_settings=_auth_settings,
825
- collection_formats=_collection_formats,
826
- _host=_host,
827
- _request_auth=_request_auth
828
- )
829
-
830
-
831
-
832
-
833
577
  @validate_call
834
578
  def register_connector(
835
579
  self,