cosmotech-api 2.4.1__py3-none-any.whl → 3.0.9.dev0__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 (110) hide show
  1. cosmotech_api/__init__.py +1 -1
  2. cosmotech_api/api/connector_api.py +20 -21
  3. cosmotech_api/api/dataset_api.py +2612 -153
  4. cosmotech_api/api/organization_api.py +1 -131
  5. cosmotech_api/api/scenario_api.py +13 -158
  6. cosmotech_api/api/scenariorun_api.py +1 -160
  7. cosmotech_api/api/scenariorunresult_api.py +386 -0
  8. cosmotech_api/api/solution_api.py +639 -36
  9. cosmotech_api/api/twingraph_api.py +63 -206
  10. cosmotech_api/api/user_api.py +1 -1
  11. cosmotech_api/api/validator_api.py +1 -1
  12. cosmotech_api/api/workspace_api.py +1 -141
  13. cosmotech_api/api_client.py +1 -1
  14. cosmotech_api/apis/__init__.py +1 -0
  15. cosmotech_api/configuration.py +2 -2
  16. cosmotech_api/exceptions.py +1 -1
  17. cosmotech_api/model/component_role_permissions.py +1 -1
  18. cosmotech_api/model/connector.py +1 -1
  19. cosmotech_api/model/connector_parameter.py +1 -1
  20. cosmotech_api/model/connector_parameter_group.py +1 -1
  21. cosmotech_api/model/container_resource_size_info.py +1 -1
  22. cosmotech_api/model/container_resource_sizing.py +1 -1
  23. cosmotech_api/model/dataset.py +55 -1
  24. cosmotech_api/model/dataset_access_control.py +268 -0
  25. cosmotech_api/model/dataset_compatibility.py +1 -1
  26. cosmotech_api/model/dataset_connector.py +1 -1
  27. cosmotech_api/model/dataset_copy_parameters.py +1 -1
  28. cosmotech_api/model/dataset_role.py +262 -0
  29. cosmotech_api/model/dataset_search.py +1 -1
  30. cosmotech_api/model/dataset_security.py +274 -0
  31. cosmotech_api/model/dataset_source_type.py +286 -0
  32. cosmotech_api/model/dataset_twin_graph_hash.py +256 -0
  33. cosmotech_api/model/dataset_twin_graph_info.py +264 -0
  34. cosmotech_api/model/dataset_twin_graph_query.py +262 -0
  35. cosmotech_api/model/delete_historical_data.py +1 -1
  36. cosmotech_api/model/graph_properties.py +1 -1
  37. cosmotech_api/model/organization.py +1 -1
  38. cosmotech_api/model/organization_access_control.py +1 -1
  39. cosmotech_api/model/organization_role.py +1 -1
  40. cosmotech_api/model/organization_security.py +1 -1
  41. cosmotech_api/model/organization_service.py +1 -1
  42. cosmotech_api/model/organization_services.py +1 -1
  43. cosmotech_api/model/resource_size_info.py +1 -1
  44. cosmotech_api/model/run_template.py +7 -1
  45. cosmotech_api/model/run_template_handler_id.py +1 -1
  46. cosmotech_api/model/run_template_orchestrator.py +283 -0
  47. cosmotech_api/model/run_template_parameter.py +1 -1
  48. cosmotech_api/model/run_template_parameter_group.py +1 -1
  49. cosmotech_api/model/run_template_parameter_value.py +1 -1
  50. cosmotech_api/model/run_template_resource_sizing.py +1 -1
  51. cosmotech_api/model/run_template_step_source.py +1 -1
  52. cosmotech_api/model/scenario.py +1 -1
  53. cosmotech_api/model/scenario_access_control.py +1 -1
  54. cosmotech_api/model/scenario_changed_parameter_value.py +1 -1
  55. cosmotech_api/model/scenario_comparison_result.py +1 -1
  56. cosmotech_api/model/scenario_data_download_info.py +1 -1
  57. cosmotech_api/model/scenario_data_download_job.py +1 -1
  58. cosmotech_api/model/scenario_job_state.py +1 -1
  59. cosmotech_api/model/scenario_last_run.py +1 -1
  60. cosmotech_api/model/scenario_resource_sizing.py +1 -1
  61. cosmotech_api/model/scenario_role.py +1 -1
  62. cosmotech_api/model/scenario_run.py +6 -1
  63. cosmotech_api/model/scenario_run_container.py +1 -1
  64. cosmotech_api/model/scenario_run_container_artifact.py +1 -1
  65. cosmotech_api/model/scenario_run_container_logs.py +1 -1
  66. cosmotech_api/model/scenario_run_logs.py +1 -1
  67. cosmotech_api/model/scenario_run_resource_requested.py +260 -0
  68. cosmotech_api/model/scenario_run_result.py +260 -0
  69. cosmotech_api/model/scenario_run_search.py +1 -1
  70. cosmotech_api/model/scenario_run_start_containers.py +1 -1
  71. cosmotech_api/model/scenario_run_state.py +1 -1
  72. cosmotech_api/model/scenario_run_status.py +1 -1
  73. cosmotech_api/model/scenario_run_status_node.py +16 -1
  74. cosmotech_api/model/scenario_run_template_parameter_value.py +1 -1
  75. cosmotech_api/model/scenario_security.py +1 -1
  76. cosmotech_api/model/scenario_validation_status.py +1 -1
  77. cosmotech_api/model/solution.py +7 -1
  78. cosmotech_api/model/solution_access_control.py +268 -0
  79. cosmotech_api/model/solution_role.py +262 -0
  80. cosmotech_api/model/solution_security.py +274 -0
  81. cosmotech_api/model/source_info.py +3 -13
  82. cosmotech_api/model/sub_dataset_graph_query.py +268 -0
  83. cosmotech_api/model/translated_labels.py +1 -1
  84. cosmotech_api/model/twin_graph_batch_result.py +1 -1
  85. cosmotech_api/model/twin_graph_hash.py +1 -1
  86. cosmotech_api/model/twin_graph_import.py +1 -1
  87. cosmotech_api/model/twin_graph_import_info.py +1 -1
  88. cosmotech_api/model/twin_graph_query.py +1 -1
  89. cosmotech_api/model/user.py +1 -1
  90. cosmotech_api/model/user_organization.py +1 -1
  91. cosmotech_api/model/user_workspace.py +1 -1
  92. cosmotech_api/model/validator.py +1 -1
  93. cosmotech_api/model/validator_run.py +1 -1
  94. cosmotech_api/model/workspace.py +1 -1
  95. cosmotech_api/model/workspace_access_control.py +1 -1
  96. cosmotech_api/model/workspace_file.py +1 -1
  97. cosmotech_api/model/workspace_role.py +1 -1
  98. cosmotech_api/model/workspace_secret.py +1 -1
  99. cosmotech_api/model/workspace_security.py +1 -1
  100. cosmotech_api/model/workspace_solution.py +1 -1
  101. cosmotech_api/model/workspace_web_app.py +1 -1
  102. cosmotech_api/model_utils.py +1 -1
  103. cosmotech_api/models/__init__.py +14 -2
  104. cosmotech_api/rest.py +1 -1
  105. {cosmotech_api-2.4.1.dist-info → cosmotech_api-3.0.9.dev0.dist-info}/METADATA +2 -2
  106. cosmotech_api-3.0.9.dev0.dist-info/RECORD +114 -0
  107. {cosmotech_api-2.4.1.dist-info → cosmotech_api-3.0.9.dev0.dist-info}/WHEEL +1 -1
  108. cosmotech_api-2.4.1.dist-info/RECORD +0 -99
  109. {cosmotech_api-2.4.1.dist-info → cosmotech_api-3.0.9.dev0.dist-info}/LICENSE +0 -0
  110. {cosmotech_api-2.4.1.dist-info → cosmotech_api-3.0.9.dev0.dist-info}/top_level.txt +0 -0
cosmotech_api/__init__.py CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Cosmo Tech Platform API # noqa: E501
7
7
 
8
- The version of the OpenAPI document: 2.4.2-SNAPSHOT
8
+ The version of the OpenAPI document: 3.0.9-SNAPSHOT
9
9
  Contact: platform@cosmotech.com
10
10
  Generated by: https://openapi-generator.tech
11
11
  """
@@ -3,7 +3,7 @@
3
3
 
4
4
  Cosmo Tech Platform API # noqa: E501
5
5
 
6
- The version of the OpenAPI document: 2.4.2-SNAPSHOT
6
+ The version of the OpenAPI document: 3.0.9-SNAPSHOT
7
7
  Contact: platform@cosmotech.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  """
@@ -141,23 +141,23 @@ class ConnectorApi(object):
141
141
  },
142
142
  api_client=api_client
143
143
  )
144
- self.import_connector_endpoint = _Endpoint(
144
+ self.find_connector_by_name_endpoint = _Endpoint(
145
145
  settings={
146
146
  'response_type': (Connector,),
147
147
  'auth': [
148
148
  'oAuth2AuthCode'
149
149
  ],
150
- 'endpoint_path': '/connectors/import',
151
- 'operation_id': 'import_connector',
152
- 'http_method': 'POST',
150
+ 'endpoint_path': '/connectors/name/{connector_name}',
151
+ 'operation_id': 'find_connector_by_name',
152
+ 'http_method': 'GET',
153
153
  'servers': None,
154
154
  },
155
155
  params_map={
156
156
  'all': [
157
- 'connector',
157
+ 'connector_name',
158
158
  ],
159
159
  'required': [
160
- 'connector',
160
+ 'connector_name',
161
161
  ],
162
162
  'nullable': [
163
163
  ],
@@ -172,13 +172,14 @@ class ConnectorApi(object):
172
172
  'allowed_values': {
173
173
  },
174
174
  'openapi_types': {
175
- 'connector':
176
- (Connector,),
175
+ 'connector_name':
176
+ (str,),
177
177
  },
178
178
  'attribute_map': {
179
+ 'connector_name': 'connector_name',
179
180
  },
180
181
  'location_map': {
181
- 'connector': 'body',
182
+ 'connector_name': 'path',
182
183
  },
183
184
  'collection_format_map': {
184
185
  }
@@ -187,9 +188,7 @@ class ConnectorApi(object):
187
188
  'accept': [
188
189
  'application/json'
189
190
  ],
190
- 'content_type': [
191
- 'application/json'
192
- ]
191
+ 'content_type': [],
193
192
  },
194
193
  api_client=api_client
195
194
  )
@@ -447,21 +446,21 @@ class ConnectorApi(object):
447
446
  connector_id
448
447
  return self.find_connector_by_id_endpoint.call_with_http_info(**kwargs)
449
448
 
450
- def import_connector(
449
+ def find_connector_by_name(
451
450
  self,
452
- connector,
451
+ connector_name,
453
452
  **kwargs
454
453
  ):
455
- """Import existing connector # noqa: E501
454
+ """Get the details of a connector # noqa: E501
456
455
 
457
456
  This method makes a synchronous HTTP request by default. To make an
458
457
  asynchronous HTTP request, please pass async_req=True
459
458
 
460
- >>> thread = api.import_connector(connector, async_req=True)
459
+ >>> thread = api.find_connector_by_name(connector_name, async_req=True)
461
460
  >>> result = thread.get()
462
461
 
463
462
  Args:
464
- connector (Connector): the Connector to import
463
+ connector_name (str): the Connector name
465
464
 
466
465
  Keyword Args:
467
466
  _return_http_data_only (bool): response data without head status
@@ -520,9 +519,9 @@ class ConnectorApi(object):
520
519
  kwargs['_content_type'] = kwargs.get(
521
520
  '_content_type')
522
521
  kwargs['_host_index'] = kwargs.get('_host_index')
523
- kwargs['connector'] = \
524
- connector
525
- return self.import_connector_endpoint.call_with_http_info(**kwargs)
522
+ kwargs['connector_name'] = \
523
+ connector_name
524
+ return self.find_connector_by_name_endpoint.call_with_http_info(**kwargs)
526
525
 
527
526
  def register_connector(
528
527
  self,