cosmotech-api 2.4.7__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 +2 -145
  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 +1 -1
  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.7.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.7.dist-info → cosmotech_api-3.0.9.dev0.dist-info}/WHEEL +1 -1
  108. cosmotech_api-2.4.7.dist-info/RECORD +0 -100
  109. {cosmotech_api-2.4.7.dist-info → cosmotech_api-3.0.9.dev0.dist-info}/LICENSE +0 -0
  110. {cosmotech_api-2.4.7.dist-info → cosmotech_api-3.0.9.dev0.dist-info}/top_level.txt +0 -0
@@ -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.7-private
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
  """
@@ -25,8 +25,6 @@ from cosmotech_api.model_utils import ( # noqa: F401
25
25
  from cosmotech_api.model.graph_properties import GraphProperties
26
26
  from cosmotech_api.model.twin_graph_batch_result import TwinGraphBatchResult
27
27
  from cosmotech_api.model.twin_graph_hash import TwinGraphHash
28
- from cosmotech_api.model.twin_graph_import import TwinGraphImport
29
- from cosmotech_api.model.twin_graph_import_info import TwinGraphImportInfo
30
28
  from cosmotech_api.model.twin_graph_query import TwinGraphQuery
31
29
 
32
30
 
@@ -683,65 +681,6 @@ class TwingraphApi(object):
683
681
  },
684
682
  api_client=api_client
685
683
  )
686
- self.import_graph_endpoint = _Endpoint(
687
- settings={
688
- 'response_type': (TwinGraphImportInfo,),
689
- 'auth': [
690
- 'oAuth2AuthCode'
691
- ],
692
- 'endpoint_path': '/organizations/{organization_id}/twingraph/import',
693
- 'operation_id': 'import_graph',
694
- 'http_method': 'POST',
695
- 'servers': None,
696
- },
697
- params_map={
698
- 'all': [
699
- 'organization_id',
700
- 'twin_graph_import',
701
- ],
702
- 'required': [
703
- 'organization_id',
704
- 'twin_graph_import',
705
- ],
706
- 'nullable': [
707
- ],
708
- 'enum': [
709
- ],
710
- 'validation': [
711
- ]
712
- },
713
- root_map={
714
- 'validations': {
715
- },
716
- 'allowed_values': {
717
- },
718
- 'openapi_types': {
719
- 'organization_id':
720
- (str,),
721
- 'twin_graph_import':
722
- (TwinGraphImport,),
723
- },
724
- 'attribute_map': {
725
- 'organization_id': 'organization_id',
726
- },
727
- 'location_map': {
728
- 'organization_id': 'path',
729
- 'twin_graph_import': 'body',
730
- },
731
- 'collection_format_map': {
732
- }
733
- },
734
- headers_map={
735
- 'accept': [
736
- 'application/json'
737
- ],
738
- 'content_type': [
739
- 'application/json',
740
- 'application/yaml'
741
- ]
742
- },
743
- api_client=api_client
744
- )
745
684
  self.job_status_endpoint = _Endpoint(
746
685
  settings={
747
686
  'response_type': (str,),
@@ -1280,7 +1219,7 @@ class TwingraphApi(object):
1280
1219
  ):
1281
1220
  """Create a new graph # noqa: E501
1282
1221
 
1283
- To create a new graph from flat files, you need to create a Zip file. This Zip file must countain two folders named Edges and Nodes. .zip hierarchy: *main_folder/Nodes *main_folder/Edges In each folder you can place one or multiple csv files containing your Nodes or Edges data. Your csv files must follow the following header (column name) requirements: The Nodes CSVs requires at least one column (the 1st).Column name = 'Id'. It will represent the nodes ID Ids must be populated with string The Edges CSVs require three columns named, in order, * source * target * Id those colomns represent * The source of the edge * The target of the edge * The Id of the edge All following columns content are up to you. # noqa: E501
1222
+ To create a new graph from flat files, you need to create a Zip file. This Zip file must countain two folders named Edges and Nodes. .zip hierarchy: *main_folder/Nodes *main_folder/Edges In each folder you can place one or multiple csv files containing your Nodes or Edges data. Your csv files must follow the following header (column name) requirements: The Nodes CSVs requires at least one column (the 1st).Column name = 'id'. It will represent the nodes ID Ids must be populated with string The Edges CSVs require three columns named, in order, * source * target * id those colomns represent * The source of the edge * The target of the edge * The id of the edge All following columns content are up to you. # noqa: E501
1284
1223
  This method makes a synchronous HTTP request by default. To make an
1285
1224
  asynchronous HTTP request, please pass async_req=True
1286
1225
 
@@ -1859,88 +1798,6 @@ class TwingraphApi(object):
1859
1798
  graph_id
1860
1799
  return self.get_graph_meta_data_endpoint.call_with_http_info(**kwargs)
1861
1800
 
1862
- def import_graph(
1863
- self,
1864
- organization_id,
1865
- twin_graph_import,
1866
- **kwargs
1867
- ):
1868
- """Import a new version of a twin graph # noqa: E501
1869
-
1870
- Import a new version of a twin graph # noqa: E501
1871
- This method makes a synchronous HTTP request by default. To make an
1872
- asynchronous HTTP request, please pass async_req=True
1873
-
1874
- >>> thread = api.import_graph(organization_id, twin_graph_import, async_req=True)
1875
- >>> result = thread.get()
1876
-
1877
- Args:
1878
- organization_id (str): the Organization identifier
1879
- twin_graph_import (TwinGraphImport): the graph to import
1880
-
1881
- Keyword Args:
1882
- _return_http_data_only (bool): response data without head status
1883
- code and headers. Default is True.
1884
- _preload_content (bool): if False, the urllib3.HTTPResponse object
1885
- will be returned without reading/decoding response data.
1886
- Default is True.
1887
- _request_timeout (int/float/tuple): timeout setting for this request. If
1888
- one number provided, it will be total request timeout. It can also
1889
- be a pair (tuple) of (connection, read) timeouts.
1890
- Default is None.
1891
- _check_input_type (bool): specifies if type checking
1892
- should be done one the data sent to the server.
1893
- Default is True.
1894
- _check_return_type (bool): specifies if type checking
1895
- should be done one the data received from the server.
1896
- Default is True.
1897
- _spec_property_naming (bool): True if the variable names in the input data
1898
- are serialized names, as specified in the OpenAPI document.
1899
- False if the variable names in the input data
1900
- are pythonic names, e.g. snake case (default)
1901
- _content_type (str/None): force body content-type.
1902
- Default is None and content-type will be predicted by allowed
1903
- content-types and body.
1904
- _host_index (int/None): specifies the index of the server
1905
- that we want to use.
1906
- Default is read from the configuration.
1907
- async_req (bool): execute request asynchronously
1908
-
1909
- Returns:
1910
- TwinGraphImportInfo
1911
- If the method is called asynchronously, returns the request
1912
- thread.
1913
- """
1914
- kwargs['async_req'] = kwargs.get(
1915
- 'async_req', False
1916
- )
1917
- kwargs['_return_http_data_only'] = kwargs.get(
1918
- '_return_http_data_only', True
1919
- )
1920
- kwargs['_preload_content'] = kwargs.get(
1921
- '_preload_content', True
1922
- )
1923
- kwargs['_request_timeout'] = kwargs.get(
1924
- '_request_timeout', None
1925
- )
1926
- kwargs['_check_input_type'] = kwargs.get(
1927
- '_check_input_type', True
1928
- )
1929
- kwargs['_check_return_type'] = kwargs.get(
1930
- '_check_return_type', True
1931
- )
1932
- kwargs['_spec_property_naming'] = kwargs.get(
1933
- '_spec_property_naming', False
1934
- )
1935
- kwargs['_content_type'] = kwargs.get(
1936
- '_content_type')
1937
- kwargs['_host_index'] = kwargs.get('_host_index')
1938
- kwargs['organization_id'] = \
1939
- organization_id
1940
- kwargs['twin_graph_import'] = \
1941
- twin_graph_import
1942
- return self.import_graph_endpoint.call_with_http_info(**kwargs)
1943
-
1944
1801
  def job_status(
1945
1802
  self,
1946
1803
  organization_id,
@@ -3,7 +3,7 @@
3
3
 
4
4
  Cosmo Tech Platform API # noqa: E501
5
5
 
6
- The version of the OpenAPI document: 2.3.15-private
6
+ The version of the OpenAPI document: 2.3.17
7
7
  Contact: platform@cosmotech.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  """
@@ -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.7-private
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
  """
@@ -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.7-private
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
  """
@@ -879,65 +879,6 @@ class WorkspaceApi(object):
879
879
  },
880
880
  api_client=api_client
881
881
  )
882
- self.import_workspace_endpoint = _Endpoint(
883
- settings={
884
- 'response_type': (Workspace,),
885
- 'auth': [
886
- 'oAuth2AuthCode'
887
- ],
888
- 'endpoint_path': '/organizations/{organization_id}/workspaces/import',
889
- 'operation_id': 'import_workspace',
890
- 'http_method': 'POST',
891
- 'servers': None,
892
- },
893
- params_map={
894
- 'all': [
895
- 'organization_id',
896
- 'workspace',
897
- ],
898
- 'required': [
899
- 'organization_id',
900
- 'workspace',
901
- ],
902
- 'nullable': [
903
- ],
904
- 'enum': [
905
- ],
906
- 'validation': [
907
- ]
908
- },
909
- root_map={
910
- 'validations': {
911
- },
912
- 'allowed_values': {
913
- },
914
- 'openapi_types': {
915
- 'organization_id':
916
- (str,),
917
- 'workspace':
918
- (Workspace,),
919
- },
920
- 'attribute_map': {
921
- 'organization_id': 'organization_id',
922
- },
923
- 'location_map': {
924
- 'organization_id': 'path',
925
- 'workspace': 'body',
926
- },
927
- 'collection_format_map': {
928
- }
929
- },
930
- headers_map={
931
- 'accept': [
932
- 'application/json'
933
- ],
934
- 'content_type': [
935
- 'application/json',
936
- 'application/yaml'
937
- ]
938
- },
939
- api_client=api_client
940
- )
941
882
  self.remove_workspace_access_control_endpoint = _Endpoint(
942
883
  settings={
943
884
  'response_type': None,
@@ -2431,87 +2372,6 @@ class WorkspaceApi(object):
2431
2372
  workspace_id
2432
2373
  return self.get_workspace_security_users_endpoint.call_with_http_info(**kwargs)
2433
2374
 
2434
- def import_workspace(
2435
- self,
2436
- organization_id,
2437
- workspace,
2438
- **kwargs
2439
- ):
2440
- """Import a workspace # noqa: E501
2441
-
2442
- This method makes a synchronous HTTP request by default. To make an
2443
- asynchronous HTTP request, please pass async_req=True
2444
-
2445
- >>> thread = api.import_workspace(organization_id, workspace, async_req=True)
2446
- >>> result = thread.get()
2447
-
2448
- Args:
2449
- organization_id (str): the Organization identifier
2450
- workspace (Workspace): the Workspace to import
2451
-
2452
- Keyword Args:
2453
- _return_http_data_only (bool): response data without head status
2454
- code and headers. Default is True.
2455
- _preload_content (bool): if False, the urllib3.HTTPResponse object
2456
- will be returned without reading/decoding response data.
2457
- Default is True.
2458
- _request_timeout (int/float/tuple): timeout setting for this request. If
2459
- one number provided, it will be total request timeout. It can also
2460
- be a pair (tuple) of (connection, read) timeouts.
2461
- Default is None.
2462
- _check_input_type (bool): specifies if type checking
2463
- should be done one the data sent to the server.
2464
- Default is True.
2465
- _check_return_type (bool): specifies if type checking
2466
- should be done one the data received from the server.
2467
- Default is True.
2468
- _spec_property_naming (bool): True if the variable names in the input data
2469
- are serialized names, as specified in the OpenAPI document.
2470
- False if the variable names in the input data
2471
- are pythonic names, e.g. snake case (default)
2472
- _content_type (str/None): force body content-type.
2473
- Default is None and content-type will be predicted by allowed
2474
- content-types and body.
2475
- _host_index (int/None): specifies the index of the server
2476
- that we want to use.
2477
- Default is read from the configuration.
2478
- async_req (bool): execute request asynchronously
2479
-
2480
- Returns:
2481
- Workspace
2482
- If the method is called asynchronously, returns the request
2483
- thread.
2484
- """
2485
- kwargs['async_req'] = kwargs.get(
2486
- 'async_req', False
2487
- )
2488
- kwargs['_return_http_data_only'] = kwargs.get(
2489
- '_return_http_data_only', True
2490
- )
2491
- kwargs['_preload_content'] = kwargs.get(
2492
- '_preload_content', True
2493
- )
2494
- kwargs['_request_timeout'] = kwargs.get(
2495
- '_request_timeout', None
2496
- )
2497
- kwargs['_check_input_type'] = kwargs.get(
2498
- '_check_input_type', True
2499
- )
2500
- kwargs['_check_return_type'] = kwargs.get(
2501
- '_check_return_type', True
2502
- )
2503
- kwargs['_spec_property_naming'] = kwargs.get(
2504
- '_spec_property_naming', False
2505
- )
2506
- kwargs['_content_type'] = kwargs.get(
2507
- '_content_type')
2508
- kwargs['_host_index'] = kwargs.get('_host_index')
2509
- kwargs['organization_id'] = \
2510
- organization_id
2511
- kwargs['workspace'] = \
2512
- workspace
2513
- return self.import_workspace_endpoint.call_with_http_info(**kwargs)
2514
-
2515
2375
  def remove_workspace_access_control(
2516
2376
  self,
2517
2377
  organization_id,
@@ -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.7-private
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
  """
@@ -19,6 +19,7 @@ from cosmotech_api.api.dataset_api import DatasetApi
19
19
  from cosmotech_api.api.organization_api import OrganizationApi
20
20
  from cosmotech_api.api.scenario_api import ScenarioApi
21
21
  from cosmotech_api.api.scenariorun_api import ScenariorunApi
22
+ from cosmotech_api.api.scenariorunresult_api import ScenariorunresultApi
22
23
  from cosmotech_api.api.solution_api import SolutionApi
23
24
  from cosmotech_api.api.twingraph_api import TwingraphApi
24
25
  from cosmotech_api.api.validator_api import ValidatorApi
@@ -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.7-private
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
  """
@@ -388,7 +388,7 @@ class Configuration(object):
388
388
  return "Python SDK Debug Report:\n"\
389
389
  "OS: {env}\n"\
390
390
  "Python Version: {pyversion}\n"\
391
- "Version of the API: 2.4.7-private\n"\
391
+ "Version of the API: 3.0.9-SNAPSHOT\n"\
392
392
  "SDK Package Version: 1.0.0".\
393
393
  format(env=sys.platform, pyversion=sys.version)
394
394
 
@@ -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.7-private
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
  """
@@ -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.7-private
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
  """
@@ -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.7-private
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
  """
@@ -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.7-private
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
  """
@@ -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.7-private
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
  """
@@ -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.7-private
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
  """
@@ -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.7-private
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
  """
@@ -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.7-private
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
  """
@@ -33,8 +33,14 @@ from cosmotech_api.exceptions import ApiAttributeError
33
33
  def lazy_import():
34
34
  from cosmotech_api.model.dataset_compatibility import DatasetCompatibility
35
35
  from cosmotech_api.model.dataset_connector import DatasetConnector
36
+ from cosmotech_api.model.dataset_security import DatasetSecurity
37
+ from cosmotech_api.model.dataset_source_type import DatasetSourceType
38
+ from cosmotech_api.model.source_info import SourceInfo
36
39
  globals()['DatasetCompatibility'] = DatasetCompatibility
37
40
  globals()['DatasetConnector'] = DatasetConnector
41
+ globals()['DatasetSecurity'] = DatasetSecurity
42
+ globals()['DatasetSourceType'] = DatasetSourceType
43
+ globals()['SourceInfo'] = SourceInfo
38
44
 
39
45
 
40
46
  class Dataset(ModelNormal):
@@ -62,6 +68,12 @@ class Dataset(ModelNormal):
62
68
  """
63
69
 
64
70
  allowed_values = {
71
+ ('status',): {
72
+ 'DRAFT': "DRAFT",
73
+ 'PENDING': "PENDING",
74
+ 'ERROR': "ERROR",
75
+ 'READY': "READY",
76
+ },
65
77
  }
66
78
 
67
79
  validations = {
@@ -95,11 +107,21 @@ class Dataset(ModelNormal):
95
107
  'description': (str,), # noqa: E501
96
108
  'owner_id': (str,), # noqa: E501
97
109
  'organization_id': (str,), # noqa: E501
110
+ 'parent_id': (str,), # noqa: E501
111
+ 'twingraph_id': (str,), # noqa: E501
112
+ 'main': (bool,), # noqa: E501
113
+ 'creation_date': (int,), # noqa: E501
114
+ 'refresh_date': (int,), # noqa: E501
115
+ 'source_type': (DatasetSourceType,), # noqa: E501
116
+ 'source': (SourceInfo,), # noqa: E501
117
+ 'status': (str,), # noqa: E501
118
+ 'queries': ([str],), # noqa: E501
98
119
  'tags': ([str],), # noqa: E501
99
120
  'connector': (DatasetConnector,), # noqa: E501
100
121
  'fragments_ids': ([str],), # noqa: E501
101
122
  'validator_id': (str,), # noqa: E501
102
123
  'compatibility': ([DatasetCompatibility],), # noqa: E501
124
+ 'security': (bool, date, datetime, dict, float, int, list, str, none_type,), # noqa: E501
103
125
  }
104
126
 
105
127
  @cached_property
@@ -113,17 +135,29 @@ class Dataset(ModelNormal):
113
135
  'description': 'description', # noqa: E501
114
136
  'owner_id': 'ownerId', # noqa: E501
115
137
  'organization_id': 'organizationId', # noqa: E501
138
+ 'parent_id': 'parentId', # noqa: E501
139
+ 'twingraph_id': 'twingraphId', # noqa: E501
140
+ 'main': 'main', # noqa: E501
141
+ 'creation_date': 'creationDate', # noqa: E501
142
+ 'refresh_date': 'refreshDate', # noqa: E501
143
+ 'source_type': 'sourceType', # noqa: E501
144
+ 'source': 'source', # noqa: E501
145
+ 'status': 'status', # noqa: E501
146
+ 'queries': 'queries', # noqa: E501
116
147
  'tags': 'tags', # noqa: E501
117
148
  'connector': 'connector', # noqa: E501
118
149
  'fragments_ids': 'fragmentsIds', # noqa: E501
119
150
  'validator_id': 'validatorId', # noqa: E501
120
151
  'compatibility': 'compatibility', # noqa: E501
152
+ 'security': 'security', # noqa: E501
121
153
  }
122
154
 
123
155
  read_only_vars = {
124
156
  'id', # noqa: E501
125
157
  'owner_id', # noqa: E501
126
158
  'organization_id', # noqa: E501
159
+ 'creation_date', # noqa: E501
160
+ 'refresh_date', # noqa: E501
127
161
  }
128
162
 
129
163
  _composed_schemas = {}
@@ -169,11 +203,21 @@ class Dataset(ModelNormal):
169
203
  description (str): the Dataset description. [optional] # noqa: E501
170
204
  owner_id (str): the User id which own this Dataset. [optional] # noqa: E501
171
205
  organization_id (str): the Organization Id related to this Dataset. [optional] # noqa: E501
206
+ parent_id (str): the Dataset id which is the parent of this Dataset. [optional] # noqa: E501
207
+ twingraph_id (str): the twin graph id. [optional] # noqa: E501
208
+ main (bool): is this the main dataset. [optional] # noqa: E501
209
+ creation_date (int): the Dataset creation date. [optional] # noqa: E501
210
+ refresh_date (int): the last time a refresh was done. [optional] # noqa: E501
211
+ source_type (DatasetSourceType): [optional] # noqa: E501
212
+ source (SourceInfo): [optional] # noqa: E501
213
+ status (str): the Dataset status. [optional] # noqa: E501
214
+ queries ([str]): the list of queries. [optional] # noqa: E501
172
215
  tags ([str]): the list of tags. [optional] # noqa: E501
173
216
  connector (DatasetConnector): [optional] # noqa: E501
174
217
  fragments_ids ([str]): the list of other Datasets ids to compose as fragments. [optional] # noqa: E501
175
218
  validator_id (str): the validator id. [optional] # noqa: E501
176
219
  compatibility ([DatasetCompatibility]): the list of compatible Solutions versions. [optional] # noqa: E501
220
+ security (bool, date, datetime, dict, float, int, list, str, none_type): [optional] # noqa: E501
177
221
  """
178
222
 
179
223
  _check_type = kwargs.pop('_check_type', True)
@@ -260,11 +304,21 @@ class Dataset(ModelNormal):
260
304
  description (str): the Dataset description. [optional] # noqa: E501
261
305
  owner_id (str): the User id which own this Dataset. [optional] # noqa: E501
262
306
  organization_id (str): the Organization Id related to this Dataset. [optional] # noqa: E501
307
+ parent_id (str): the Dataset id which is the parent of this Dataset. [optional] # noqa: E501
308
+ twingraph_id (str): the twin graph id. [optional] # noqa: E501
309
+ main (bool): is this the main dataset. [optional] # noqa: E501
310
+ creation_date (int): the Dataset creation date. [optional] # noqa: E501
311
+ refresh_date (int): the last time a refresh was done. [optional] # noqa: E501
312
+ source_type (DatasetSourceType): [optional] # noqa: E501
313
+ source (SourceInfo): [optional] # noqa: E501
314
+ status (str): the Dataset status. [optional] # noqa: E501
315
+ queries ([str]): the list of queries. [optional] # noqa: E501
263
316
  tags ([str]): the list of tags. [optional] # noqa: E501
264
317
  connector (DatasetConnector): [optional] # noqa: E501
265
318
  fragments_ids ([str]): the list of other Datasets ids to compose as fragments. [optional] # noqa: E501
266
319
  validator_id (str): the validator id. [optional] # noqa: E501
267
320
  compatibility ([DatasetCompatibility]): the list of compatible Solutions versions. [optional] # noqa: E501
321
+ security (bool, date, datetime, dict, float, int, list, str, none_type): [optional] # noqa: E501
268
322
  """
269
323
 
270
324
  _check_type = kwargs.pop('_check_type', True)