cosmotech-api 3.2.6.dev2__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.
- cosmotech_api/__init__.py +3 -45
- cosmotech_api/api/__init__.py +0 -3
- cosmotech_api/api/connector_api.py +30 -282
- cosmotech_api/api/dataset_api.py +214 -187
- cosmotech_api/api/organization_api.py +94 -943
- cosmotech_api/api/run_api.py +51 -45
- cosmotech_api/api/runner_api.py +101 -88
- cosmotech_api/api/scenario_api.py +1 -1
- cosmotech_api/api/scenariorun_api.py +1 -1
- cosmotech_api/api/scenariorunresult_api.py +1 -1
- cosmotech_api/api/solution_api.py +487 -1124
- cosmotech_api/api/twingraph_api.py +1 -1
- cosmotech_api/api/validator_api.py +1 -1
- cosmotech_api/api/workspace_api.py +129 -416
- cosmotech_api/api_client.py +59 -29
- cosmotech_api/configuration.py +21 -15
- cosmotech_api/exceptions.py +1 -1
- cosmotech_api/model/component_role_permissions.py +1 -1
- cosmotech_api/model/connector.py +1 -1
- cosmotech_api/model/connector_parameter.py +1 -1
- cosmotech_api/model/connector_parameter_group.py +1 -1
- cosmotech_api/model/container_resource_size_info.py +1 -1
- cosmotech_api/model/container_resource_sizing.py +1 -1
- cosmotech_api/model/dataset.py +1 -1
- cosmotech_api/model/dataset_access_control.py +1 -1
- cosmotech_api/model/dataset_compatibility.py +1 -1
- cosmotech_api/model/dataset_connector.py +1 -1
- cosmotech_api/model/dataset_copy_parameters.py +1 -1
- cosmotech_api/model/dataset_role.py +1 -1
- cosmotech_api/model/dataset_search.py +1 -1
- cosmotech_api/model/dataset_security.py +1 -1
- cosmotech_api/model/dataset_source_type.py +1 -1
- cosmotech_api/model/dataset_twin_graph_hash.py +1 -1
- cosmotech_api/model/dataset_twin_graph_info.py +1 -1
- cosmotech_api/model/dataset_twin_graph_query.py +1 -1
- cosmotech_api/model/delete_historical_data.py +1 -1
- cosmotech_api/model/file_upload_metadata.py +1 -1
- cosmotech_api/model/file_upload_validation.py +1 -1
- cosmotech_api/model/graph_properties.py +1 -1
- cosmotech_api/model/organization.py +1 -1
- cosmotech_api/model/organization_access_control.py +1 -1
- cosmotech_api/model/organization_role.py +1 -1
- cosmotech_api/model/organization_security.py +1 -1
- cosmotech_api/model/organization_service.py +1 -1
- cosmotech_api/model/organization_services.py +1 -1
- cosmotech_api/model/resource_size_info.py +1 -1
- cosmotech_api/model/run.py +1 -1
- cosmotech_api/model/run_container.py +1 -1
- cosmotech_api/model/run_container_artifact.py +1 -1
- cosmotech_api/model/run_container_logs.py +1 -1
- cosmotech_api/model/run_logs.py +1 -1
- cosmotech_api/model/run_resource_requested.py +1 -1
- cosmotech_api/model/run_search.py +1 -1
- cosmotech_api/model/run_start_containers.py +1 -1
- cosmotech_api/model/run_state.py +1 -1
- cosmotech_api/model/run_status.py +1 -1
- cosmotech_api/model/run_status_node.py +1 -1
- cosmotech_api/model/run_template.py +1 -1
- cosmotech_api/model/run_template_handler_id.py +1 -1
- cosmotech_api/model/run_template_orchestrator.py +1 -1
- cosmotech_api/model/run_template_parameter.py +1 -1
- cosmotech_api/model/run_template_parameter_group.py +1 -1
- cosmotech_api/model/run_template_parameter_value.py +1 -1
- cosmotech_api/model/run_template_resource_sizing.py +1 -1
- cosmotech_api/model/run_template_step_source.py +1 -1
- cosmotech_api/model/runner.py +21 -5
- cosmotech_api/model/runner_access_control.py +1 -1
- cosmotech_api/model/runner_changed_parameter_value.py +1 -1
- cosmotech_api/model/runner_comparison_result.py +1 -1
- cosmotech_api/model/runner_data_download_info.py +11 -1
- cosmotech_api/model/runner_data_download_job.py +1 -1
- cosmotech_api/model/runner_job_state.py +1 -1
- cosmotech_api/model/runner_last_run.py +1 -1
- cosmotech_api/model/runner_resource_sizing.py +1 -1
- cosmotech_api/model/runner_role.py +1 -1
- cosmotech_api/model/runner_run_template_parameter_value.py +1 -1
- cosmotech_api/model/runner_security.py +1 -1
- cosmotech_api/model/runner_validation_status.py +1 -1
- cosmotech_api/model/scenario.py +1 -1
- cosmotech_api/model/scenario_access_control.py +1 -1
- cosmotech_api/model/scenario_changed_parameter_value.py +1 -1
- cosmotech_api/model/scenario_comparison_result.py +1 -1
- cosmotech_api/model/scenario_data_download_info.py +1 -1
- cosmotech_api/model/scenario_data_download_job.py +1 -1
- cosmotech_api/model/scenario_job_state.py +1 -1
- cosmotech_api/model/scenario_last_run.py +1 -1
- cosmotech_api/model/scenario_resource_sizing.py +1 -1
- cosmotech_api/model/scenario_role.py +1 -1
- cosmotech_api/model/scenario_run.py +1 -1
- cosmotech_api/model/scenario_run_container.py +1 -1
- cosmotech_api/model/scenario_run_container_artifact.py +1 -1
- cosmotech_api/model/scenario_run_container_logs.py +1 -1
- cosmotech_api/model/scenario_run_logs.py +1 -1
- cosmotech_api/model/scenario_run_resource_requested.py +1 -1
- cosmotech_api/model/scenario_run_result.py +1 -1
- cosmotech_api/model/scenario_run_search.py +1 -1
- cosmotech_api/model/scenario_run_start_containers.py +1 -1
- cosmotech_api/model/scenario_run_state.py +1 -1
- cosmotech_api/model/scenario_run_status.py +1 -1
- cosmotech_api/model/scenario_run_status_node.py +1 -1
- cosmotech_api/model/scenario_run_template_parameter_value.py +1 -1
- cosmotech_api/model/scenario_security.py +1 -1
- cosmotech_api/model/scenario_validation_status.py +1 -1
- cosmotech_api/model/solution.py +1 -1
- cosmotech_api/model/solution_access_control.py +1 -1
- cosmotech_api/model/solution_role.py +1 -1
- cosmotech_api/model/solution_security.py +1 -1
- cosmotech_api/model/source_info.py +1 -1
- cosmotech_api/model/sub_dataset_graph_query.py +1 -1
- cosmotech_api/model/translated_labels.py +1 -1
- cosmotech_api/model/twin_graph_batch_result.py +1 -1
- cosmotech_api/model/twin_graph_hash.py +1 -1
- cosmotech_api/model/twin_graph_query.py +1 -1
- cosmotech_api/model/validator.py +1 -1
- cosmotech_api/model/validator_run.py +1 -1
- cosmotech_api/model/workspace.py +1 -1
- cosmotech_api/model/workspace_access_control.py +1 -1
- cosmotech_api/model/workspace_file.py +1 -1
- cosmotech_api/model/workspace_role.py +1 -1
- cosmotech_api/model/workspace_secret.py +1 -1
- cosmotech_api/model/workspace_security.py +1 -1
- cosmotech_api/model/workspace_solution.py +1 -1
- cosmotech_api/model/workspace_web_app.py +1 -1
- cosmotech_api/model_utils.py +1 -1
- cosmotech_api/models/__init__.py +3 -42
- cosmotech_api/models/component_role_permissions.py +7 -7
- cosmotech_api/models/connector.py +11 -15
- cosmotech_api/models/connector_parameter.py +7 -7
- cosmotech_api/models/connector_parameter_group.py +10 -10
- cosmotech_api/models/container_resource_size_info.py +7 -7
- cosmotech_api/models/container_resource_sizing.py +7 -7
- cosmotech_api/models/created_run.py +88 -0
- cosmotech_api/models/dataset.py +10 -10
- cosmotech_api/models/dataset_access_control.py +7 -7
- cosmotech_api/models/dataset_compatibility.py +7 -7
- cosmotech_api/models/dataset_connector.py +7 -7
- cosmotech_api/models/dataset_copy_parameters.py +7 -7
- cosmotech_api/models/dataset_role.py +7 -7
- cosmotech_api/models/dataset_search.py +7 -7
- cosmotech_api/models/dataset_security.py +10 -10
- cosmotech_api/models/dataset_source_type.py +1 -1
- cosmotech_api/models/dataset_twin_graph_hash.py +7 -7
- cosmotech_api/models/dataset_twin_graph_info.py +7 -7
- cosmotech_api/models/dataset_twin_graph_query.py +7 -7
- cosmotech_api/models/delete_historical_data.py +7 -7
- cosmotech_api/models/file_upload_metadata.py +7 -7
- cosmotech_api/models/file_upload_validation.py +13 -13
- cosmotech_api/models/graph_properties.py +7 -7
- cosmotech_api/models/ingestion_status_enum.py +1 -1
- cosmotech_api/models/io_types_enum.py +1 -1
- cosmotech_api/models/organization.py +8 -14
- cosmotech_api/models/organization_access_control.py +7 -7
- cosmotech_api/models/organization_role.py +7 -7
- cosmotech_api/models/organization_security.py +10 -10
- cosmotech_api/models/organization_service.py +1 -1
- cosmotech_api/models/organization_services.py +1 -1
- cosmotech_api/models/query_result.py +7 -7
- cosmotech_api/models/resource_size_info.py +7 -7
- cosmotech_api/models/run.py +13 -13
- cosmotech_api/models/run_container.py +9 -19
- cosmotech_api/models/run_container_artifact.py +1 -1
- cosmotech_api/models/run_container_logs.py +1 -1
- cosmotech_api/models/run_data.py +7 -7
- cosmotech_api/models/run_data_query.py +7 -7
- cosmotech_api/models/run_logs.py +22 -27
- cosmotech_api/models/run_logs_entry.py +88 -0
- cosmotech_api/models/run_resource_requested.py +7 -7
- cosmotech_api/models/run_search.py +1 -1
- cosmotech_api/models/run_search_state.py +1 -1
- cosmotech_api/models/run_start_containers.py +1 -1
- cosmotech_api/models/run_state.py +1 -1
- cosmotech_api/models/run_status.py +10 -10
- cosmotech_api/models/run_status_node.py +7 -7
- cosmotech_api/models/run_template.py +7 -7
- cosmotech_api/models/run_template_handler_id.py +1 -1
- cosmotech_api/models/run_template_orchestrator.py +1 -1
- cosmotech_api/models/run_template_parameter.py +7 -7
- cosmotech_api/models/run_template_parameter_group.py +7 -7
- cosmotech_api/models/run_template_parameter_value.py +7 -7
- cosmotech_api/models/run_template_resource_sizing.py +7 -7
- cosmotech_api/models/run_template_step_source.py +1 -1
- cosmotech_api/models/runner.py +11 -11
- cosmotech_api/models/runner_access_control.py +7 -7
- cosmotech_api/models/runner_changed_parameter_value.py +1 -1
- cosmotech_api/models/runner_comparison_result.py +1 -1
- cosmotech_api/models/runner_data_download_info.py +1 -1
- cosmotech_api/models/runner_data_download_job.py +1 -1
- cosmotech_api/models/runner_resource_sizing.py +7 -7
- cosmotech_api/models/runner_role.py +7 -7
- cosmotech_api/models/runner_run_template_parameter_value.py +7 -7
- cosmotech_api/models/runner_security.py +10 -10
- cosmotech_api/models/runner_validation_status.py +1 -1
- cosmotech_api/models/scenario.py +2 -2
- cosmotech_api/models/scenario_access_control.py +1 -1
- cosmotech_api/models/scenario_changed_parameter_value.py +1 -1
- cosmotech_api/models/scenario_comparison_result.py +1 -1
- cosmotech_api/models/scenario_data_download_info.py +1 -1
- cosmotech_api/models/scenario_data_download_job.py +1 -1
- cosmotech_api/models/scenario_job_state.py +1 -1
- cosmotech_api/models/scenario_last_run.py +1 -1
- cosmotech_api/models/scenario_resource_sizing.py +1 -1
- cosmotech_api/models/scenario_role.py +1 -1
- cosmotech_api/models/scenario_run.py +1 -1
- cosmotech_api/models/scenario_run_container.py +1 -1
- cosmotech_api/models/scenario_run_container_artifact.py +1 -1
- cosmotech_api/models/scenario_run_container_logs.py +1 -1
- cosmotech_api/models/scenario_run_logs.py +1 -1
- cosmotech_api/models/scenario_run_resource_requested.py +1 -1
- cosmotech_api/models/scenario_run_search.py +1 -1
- cosmotech_api/models/scenario_run_search_state.py +1 -1
- cosmotech_api/models/scenario_run_start_containers.py +1 -1
- cosmotech_api/models/scenario_run_state.py +1 -1
- cosmotech_api/models/scenario_run_status.py +1 -1
- cosmotech_api/models/scenario_run_status_node.py +1 -1
- cosmotech_api/models/scenario_run_template_parameter_value.py +1 -1
- cosmotech_api/models/scenario_security.py +1 -1
- cosmotech_api/models/scenario_validation_status.py +1 -1
- cosmotech_api/models/send_run_data_request.py +7 -7
- cosmotech_api/models/solution.py +17 -17
- cosmotech_api/models/solution_access_control.py +7 -7
- cosmotech_api/models/solution_role.py +7 -7
- cosmotech_api/models/solution_security.py +10 -10
- cosmotech_api/models/source_info.py +7 -7
- cosmotech_api/models/sub_dataset_graph_query.py +7 -7
- cosmotech_api/models/twin_graph_batch_result.py +7 -7
- cosmotech_api/models/twin_graph_hash.py +1 -1
- cosmotech_api/models/twin_graph_query.py +1 -1
- cosmotech_api/models/twincache_status_enum.py +1 -1
- cosmotech_api/models/validator.py +1 -1
- cosmotech_api/models/workspace.py +8 -8
- cosmotech_api/models/workspace_access_control.py +7 -7
- cosmotech_api/models/workspace_file.py +7 -7
- cosmotech_api/models/workspace_role.py +7 -7
- cosmotech_api/models/workspace_secret.py +1 -1
- cosmotech_api/models/workspace_security.py +10 -10
- cosmotech_api/models/workspace_solution.py +7 -7
- cosmotech_api/models/workspace_web_app.py +7 -7
- cosmotech_api/rest.py +3 -1
- {cosmotech_api-3.2.6.dev2.dist-info → cosmotech_api-4.0.0.dev8.dist-info}/METADATA +1 -1
- cosmotech_api-4.0.0.dev8.dist-info/RECORD +262 -0
- {cosmotech_api-3.2.6.dev2.dist-info → cosmotech_api-4.0.0.dev8.dist-info}/WHEEL +1 -1
- cosmotech_api-3.2.6.dev2.dist-info/RECORD +0 -260
- {cosmotech_api-3.2.6.dev2.dist-info → cosmotech_api-4.0.0.dev8.dist-info}/LICENSE +0 -0
- {cosmotech_api-3.2.6.dev2.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:
|
|
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,40 +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
91
|
from cosmotech_api.models.runner_resource_sizing import RunnerResourceSizing
|
|
105
92
|
from cosmotech_api.models.runner_role import RunnerRole
|
|
106
93
|
from cosmotech_api.models.runner_run_template_parameter_value import RunnerRunTemplateParameterValue
|
|
107
94
|
from cosmotech_api.models.runner_security import RunnerSecurity
|
|
108
95
|
from cosmotech_api.models.runner_validation_status import RunnerValidationStatus
|
|
109
|
-
from cosmotech_api.models.scenario import Scenario
|
|
110
|
-
from cosmotech_api.models.scenario_access_control import ScenarioAccessControl
|
|
111
|
-
from cosmotech_api.models.scenario_changed_parameter_value import ScenarioChangedParameterValue
|
|
112
|
-
from cosmotech_api.models.scenario_comparison_result import ScenarioComparisonResult
|
|
113
|
-
from cosmotech_api.models.scenario_data_download_info import ScenarioDataDownloadInfo
|
|
114
|
-
from cosmotech_api.models.scenario_data_download_job import ScenarioDataDownloadJob
|
|
115
|
-
from cosmotech_api.models.scenario_job_state import ScenarioJobState
|
|
116
|
-
from cosmotech_api.models.scenario_last_run import ScenarioLastRun
|
|
117
|
-
from cosmotech_api.models.scenario_resource_sizing import ScenarioResourceSizing
|
|
118
|
-
from cosmotech_api.models.scenario_role import ScenarioRole
|
|
119
|
-
from cosmotech_api.models.scenario_run import ScenarioRun
|
|
120
|
-
from cosmotech_api.models.scenario_run_container import ScenarioRunContainer
|
|
121
|
-
from cosmotech_api.models.scenario_run_container_artifact import ScenarioRunContainerArtifact
|
|
122
|
-
from cosmotech_api.models.scenario_run_container_logs import ScenarioRunContainerLogs
|
|
123
|
-
from cosmotech_api.models.scenario_run_logs import ScenarioRunLogs
|
|
124
|
-
from cosmotech_api.models.scenario_run_resource_requested import ScenarioRunResourceRequested
|
|
125
|
-
from cosmotech_api.models.scenario_run_search import ScenarioRunSearch
|
|
126
|
-
from cosmotech_api.models.scenario_run_search_state import ScenarioRunSearchState
|
|
127
|
-
from cosmotech_api.models.scenario_run_start_containers import ScenarioRunStartContainers
|
|
128
|
-
from cosmotech_api.models.scenario_run_state import ScenarioRunState
|
|
129
|
-
from cosmotech_api.models.scenario_run_status import ScenarioRunStatus
|
|
130
|
-
from cosmotech_api.models.scenario_run_status_node import ScenarioRunStatusNode
|
|
131
|
-
from cosmotech_api.models.scenario_run_template_parameter_value import ScenarioRunTemplateParameterValue
|
|
132
|
-
from cosmotech_api.models.scenario_security import ScenarioSecurity
|
|
133
|
-
from cosmotech_api.models.scenario_validation_status import ScenarioValidationStatus
|
|
134
96
|
from cosmotech_api.models.send_run_data_request import SendRunDataRequest
|
|
135
97
|
from cosmotech_api.models.solution import Solution
|
|
136
98
|
from cosmotech_api.models.solution_access_control import SolutionAccessControl
|
|
@@ -139,15 +101,11 @@ from cosmotech_api.models.solution_security import SolutionSecurity
|
|
|
139
101
|
from cosmotech_api.models.source_info import SourceInfo
|
|
140
102
|
from cosmotech_api.models.sub_dataset_graph_query import SubDatasetGraphQuery
|
|
141
103
|
from cosmotech_api.models.twin_graph_batch_result import TwinGraphBatchResult
|
|
142
|
-
from cosmotech_api.models.twin_graph_hash import TwinGraphHash
|
|
143
|
-
from cosmotech_api.models.twin_graph_query import TwinGraphQuery
|
|
144
104
|
from cosmotech_api.models.twincache_status_enum import TwincacheStatusEnum
|
|
145
|
-
from cosmotech_api.models.validator import Validator
|
|
146
105
|
from cosmotech_api.models.workspace import Workspace
|
|
147
106
|
from cosmotech_api.models.workspace_access_control import WorkspaceAccessControl
|
|
148
107
|
from cosmotech_api.models.workspace_file import WorkspaceFile
|
|
149
108
|
from cosmotech_api.models.workspace_role import WorkspaceRole
|
|
150
|
-
from cosmotech_api.models.workspace_secret import WorkspaceSecret
|
|
151
109
|
from cosmotech_api.models.workspace_security import WorkspaceSecurity
|
|
152
110
|
from cosmotech_api.models.workspace_solution import WorkspaceSolution
|
|
153
111
|
from cosmotech_api.models.workspace_web_app import WorkspaceWebApp
|
cosmotech_api/api/__init__.py
CHANGED
|
@@ -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:
|
|
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
|
|
|
@@ -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.connector import Connector
|
|
24
24
|
|
|
@@ -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
|
|
@@ -265,7 +265,7 @@ class ConnectorApi:
|
|
|
265
265
|
_query_params: List[Tuple[str, str]] = []
|
|
266
266
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
267
267
|
_form_params: List[Tuple[str, str]] = []
|
|
268
|
-
_files: Dict[str, str] = {}
|
|
268
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
269
269
|
_body_params: Optional[bytes] = None
|
|
270
270
|
|
|
271
271
|
# process the path parameters
|
|
@@ -284,11 +284,12 @@ class ConnectorApi:
|
|
|
284
284
|
|
|
285
285
|
|
|
286
286
|
# set the HTTP header `Accept`
|
|
287
|
-
|
|
288
|
-
[
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
287
|
+
if 'Accept' not in _header_params:
|
|
288
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
289
|
+
[
|
|
290
|
+
'application/json'
|
|
291
|
+
]
|
|
292
|
+
)
|
|
292
293
|
|
|
293
294
|
|
|
294
295
|
# authentication setting
|
|
@@ -529,7 +530,7 @@ class ConnectorApi:
|
|
|
529
530
|
_query_params: List[Tuple[str, str]] = []
|
|
530
531
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
531
532
|
_form_params: List[Tuple[str, str]] = []
|
|
532
|
-
_files: Dict[str, str] = {}
|
|
533
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
533
534
|
_body_params: Optional[bytes] = None
|
|
534
535
|
|
|
535
536
|
# process the path parameters
|
|
@@ -542,11 +543,12 @@ class ConnectorApi:
|
|
|
542
543
|
|
|
543
544
|
|
|
544
545
|
# set the HTTP header `Accept`
|
|
545
|
-
|
|
546
|
-
[
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
546
|
+
if 'Accept' not in _header_params:
|
|
547
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
548
|
+
[
|
|
549
|
+
'application/json'
|
|
550
|
+
]
|
|
551
|
+
)
|
|
550
552
|
|
|
551
553
|
|
|
552
554
|
# authentication setting
|
|
@@ -572,261 +574,6 @@ class ConnectorApi:
|
|
|
572
574
|
|
|
573
575
|
|
|
574
576
|
|
|
575
|
-
@validate_call
|
|
576
|
-
def find_connector_by_name(
|
|
577
|
-
self,
|
|
578
|
-
connector_name: Annotated[StrictStr, Field(description="the Connector name")],
|
|
579
|
-
_request_timeout: Union[
|
|
580
|
-
None,
|
|
581
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
582
|
-
Tuple[
|
|
583
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
584
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
585
|
-
]
|
|
586
|
-
] = None,
|
|
587
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
588
|
-
_content_type: Optional[StrictStr] = None,
|
|
589
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
590
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
591
|
-
) -> Connector:
|
|
592
|
-
"""Get the details of a connector
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
:param connector_name: the Connector name (required)
|
|
596
|
-
:type connector_name: str
|
|
597
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
598
|
-
number provided, it will be total request
|
|
599
|
-
timeout. It can also be a pair (tuple) of
|
|
600
|
-
(connection, read) timeouts.
|
|
601
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
602
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
603
|
-
request; this effectively ignores the
|
|
604
|
-
authentication in the spec for a single request.
|
|
605
|
-
:type _request_auth: dict, optional
|
|
606
|
-
:param _content_type: force content-type for the request.
|
|
607
|
-
:type _content_type: str, Optional
|
|
608
|
-
:param _headers: set to override the headers for a single
|
|
609
|
-
request; this effectively ignores the headers
|
|
610
|
-
in the spec for a single request.
|
|
611
|
-
:type _headers: dict, optional
|
|
612
|
-
:param _host_index: set to override the host_index for a single
|
|
613
|
-
request; this effectively ignores the host_index
|
|
614
|
-
in the spec for a single request.
|
|
615
|
-
:type _host_index: int, optional
|
|
616
|
-
:return: Returns the result object.
|
|
617
|
-
""" # noqa: E501
|
|
618
|
-
|
|
619
|
-
_param = self._find_connector_by_name_serialize(
|
|
620
|
-
connector_name=connector_name,
|
|
621
|
-
_request_auth=_request_auth,
|
|
622
|
-
_content_type=_content_type,
|
|
623
|
-
_headers=_headers,
|
|
624
|
-
_host_index=_host_index
|
|
625
|
-
)
|
|
626
|
-
|
|
627
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
628
|
-
'200': "Connector",
|
|
629
|
-
}
|
|
630
|
-
response_data = self.api_client.call_api(
|
|
631
|
-
*_param,
|
|
632
|
-
_request_timeout=_request_timeout
|
|
633
|
-
)
|
|
634
|
-
response_data.read()
|
|
635
|
-
return self.api_client.response_deserialize(
|
|
636
|
-
response_data=response_data,
|
|
637
|
-
response_types_map=_response_types_map,
|
|
638
|
-
).data
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
@validate_call
|
|
642
|
-
def find_connector_by_name_with_http_info(
|
|
643
|
-
self,
|
|
644
|
-
connector_name: Annotated[StrictStr, Field(description="the Connector name")],
|
|
645
|
-
_request_timeout: Union[
|
|
646
|
-
None,
|
|
647
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
648
|
-
Tuple[
|
|
649
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
650
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
651
|
-
]
|
|
652
|
-
] = None,
|
|
653
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
654
|
-
_content_type: Optional[StrictStr] = None,
|
|
655
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
656
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
657
|
-
) -> ApiResponse[Connector]:
|
|
658
|
-
"""Get the details of a connector
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
:param connector_name: the Connector name (required)
|
|
662
|
-
:type connector_name: str
|
|
663
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
664
|
-
number provided, it will be total request
|
|
665
|
-
timeout. It can also be a pair (tuple) of
|
|
666
|
-
(connection, read) timeouts.
|
|
667
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
668
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
669
|
-
request; this effectively ignores the
|
|
670
|
-
authentication in the spec for a single request.
|
|
671
|
-
:type _request_auth: dict, optional
|
|
672
|
-
:param _content_type: force content-type for the request.
|
|
673
|
-
:type _content_type: str, Optional
|
|
674
|
-
:param _headers: set to override the headers for a single
|
|
675
|
-
request; this effectively ignores the headers
|
|
676
|
-
in the spec for a single request.
|
|
677
|
-
:type _headers: dict, optional
|
|
678
|
-
:param _host_index: set to override the host_index for a single
|
|
679
|
-
request; this effectively ignores the host_index
|
|
680
|
-
in the spec for a single request.
|
|
681
|
-
:type _host_index: int, optional
|
|
682
|
-
:return: Returns the result object.
|
|
683
|
-
""" # noqa: E501
|
|
684
|
-
|
|
685
|
-
_param = self._find_connector_by_name_serialize(
|
|
686
|
-
connector_name=connector_name,
|
|
687
|
-
_request_auth=_request_auth,
|
|
688
|
-
_content_type=_content_type,
|
|
689
|
-
_headers=_headers,
|
|
690
|
-
_host_index=_host_index
|
|
691
|
-
)
|
|
692
|
-
|
|
693
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
694
|
-
'200': "Connector",
|
|
695
|
-
}
|
|
696
|
-
response_data = self.api_client.call_api(
|
|
697
|
-
*_param,
|
|
698
|
-
_request_timeout=_request_timeout
|
|
699
|
-
)
|
|
700
|
-
response_data.read()
|
|
701
|
-
return self.api_client.response_deserialize(
|
|
702
|
-
response_data=response_data,
|
|
703
|
-
response_types_map=_response_types_map,
|
|
704
|
-
)
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
@validate_call
|
|
708
|
-
def find_connector_by_name_without_preload_content(
|
|
709
|
-
self,
|
|
710
|
-
connector_name: Annotated[StrictStr, Field(description="the Connector name")],
|
|
711
|
-
_request_timeout: Union[
|
|
712
|
-
None,
|
|
713
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
714
|
-
Tuple[
|
|
715
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
716
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
717
|
-
]
|
|
718
|
-
] = None,
|
|
719
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
720
|
-
_content_type: Optional[StrictStr] = None,
|
|
721
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
722
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
723
|
-
) -> RESTResponseType:
|
|
724
|
-
"""Get the details of a connector
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
:param connector_name: the Connector name (required)
|
|
728
|
-
:type connector_name: str
|
|
729
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
730
|
-
number provided, it will be total request
|
|
731
|
-
timeout. It can also be a pair (tuple) of
|
|
732
|
-
(connection, read) timeouts.
|
|
733
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
734
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
735
|
-
request; this effectively ignores the
|
|
736
|
-
authentication in the spec for a single request.
|
|
737
|
-
:type _request_auth: dict, optional
|
|
738
|
-
:param _content_type: force content-type for the request.
|
|
739
|
-
:type _content_type: str, Optional
|
|
740
|
-
:param _headers: set to override the headers for a single
|
|
741
|
-
request; this effectively ignores the headers
|
|
742
|
-
in the spec for a single request.
|
|
743
|
-
:type _headers: dict, optional
|
|
744
|
-
:param _host_index: set to override the host_index for a single
|
|
745
|
-
request; this effectively ignores the host_index
|
|
746
|
-
in the spec for a single request.
|
|
747
|
-
:type _host_index: int, optional
|
|
748
|
-
:return: Returns the result object.
|
|
749
|
-
""" # noqa: E501
|
|
750
|
-
|
|
751
|
-
_param = self._find_connector_by_name_serialize(
|
|
752
|
-
connector_name=connector_name,
|
|
753
|
-
_request_auth=_request_auth,
|
|
754
|
-
_content_type=_content_type,
|
|
755
|
-
_headers=_headers,
|
|
756
|
-
_host_index=_host_index
|
|
757
|
-
)
|
|
758
|
-
|
|
759
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
760
|
-
'200': "Connector",
|
|
761
|
-
}
|
|
762
|
-
response_data = self.api_client.call_api(
|
|
763
|
-
*_param,
|
|
764
|
-
_request_timeout=_request_timeout
|
|
765
|
-
)
|
|
766
|
-
return response_data.response
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
def _find_connector_by_name_serialize(
|
|
770
|
-
self,
|
|
771
|
-
connector_name,
|
|
772
|
-
_request_auth,
|
|
773
|
-
_content_type,
|
|
774
|
-
_headers,
|
|
775
|
-
_host_index,
|
|
776
|
-
) -> RequestSerialized:
|
|
777
|
-
|
|
778
|
-
_host = None
|
|
779
|
-
|
|
780
|
-
_collection_formats: Dict[str, str] = {
|
|
781
|
-
}
|
|
782
|
-
|
|
783
|
-
_path_params: Dict[str, str] = {}
|
|
784
|
-
_query_params: List[Tuple[str, str]] = []
|
|
785
|
-
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
786
|
-
_form_params: List[Tuple[str, str]] = []
|
|
787
|
-
_files: Dict[str, str] = {}
|
|
788
|
-
_body_params: Optional[bytes] = None
|
|
789
|
-
|
|
790
|
-
# process the path parameters
|
|
791
|
-
if connector_name is not None:
|
|
792
|
-
_path_params['connector_name'] = connector_name
|
|
793
|
-
# process the query parameters
|
|
794
|
-
# process the header parameters
|
|
795
|
-
# process the form parameters
|
|
796
|
-
# process the body parameter
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
# set the HTTP header `Accept`
|
|
800
|
-
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
801
|
-
[
|
|
802
|
-
'application/json'
|
|
803
|
-
]
|
|
804
|
-
)
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
# authentication setting
|
|
808
|
-
_auth_settings: List[str] = [
|
|
809
|
-
'oAuth2AuthCode'
|
|
810
|
-
]
|
|
811
|
-
|
|
812
|
-
return self.api_client.param_serialize(
|
|
813
|
-
method='GET',
|
|
814
|
-
resource_path='/connectors/name/{connector_name}',
|
|
815
|
-
path_params=_path_params,
|
|
816
|
-
query_params=_query_params,
|
|
817
|
-
header_params=_header_params,
|
|
818
|
-
body=_body_params,
|
|
819
|
-
post_params=_form_params,
|
|
820
|
-
files=_files,
|
|
821
|
-
auth_settings=_auth_settings,
|
|
822
|
-
collection_formats=_collection_formats,
|
|
823
|
-
_host=_host,
|
|
824
|
-
_request_auth=_request_auth
|
|
825
|
-
)
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
577
|
@validate_call
|
|
831
578
|
def register_connector(
|
|
832
579
|
self,
|
|
@@ -1042,7 +789,7 @@ class ConnectorApi:
|
|
|
1042
789
|
_query_params: List[Tuple[str, str]] = []
|
|
1043
790
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1044
791
|
_form_params: List[Tuple[str, str]] = []
|
|
1045
|
-
_files: Dict[str, str] = {}
|
|
792
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
1046
793
|
_body_params: Optional[bytes] = None
|
|
1047
794
|
|
|
1048
795
|
# process the path parameters
|
|
@@ -1055,11 +802,12 @@ class ConnectorApi:
|
|
|
1055
802
|
|
|
1056
803
|
|
|
1057
804
|
# set the HTTP header `Accept`
|
|
1058
|
-
|
|
1059
|
-
[
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
805
|
+
if 'Accept' not in _header_params:
|
|
806
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
807
|
+
[
|
|
808
|
+
'application/json'
|
|
809
|
+
]
|
|
810
|
+
)
|
|
1063
811
|
|
|
1064
812
|
# set the HTTP header `Content-Type`
|
|
1065
813
|
if _content_type:
|
|
@@ -1314,7 +1062,7 @@ class ConnectorApi:
|
|
|
1314
1062
|
_query_params: List[Tuple[str, str]] = []
|
|
1315
1063
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1316
1064
|
_form_params: List[Tuple[str, str]] = []
|
|
1317
|
-
_files: Dict[str, str] = {}
|
|
1065
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
1318
1066
|
_body_params: Optional[bytes] = None
|
|
1319
1067
|
|
|
1320
1068
|
# process the path parameters
|