Skip to content

Commit 5139505

Browse files
Automatically update python client (ref: Cosmo-Tech/cosmotech-api@2fe4adf)
Co-authored-by: jreynard-code <jreynard-code@users.noreply.github.com>
1 parent 4822a34 commit 5139505

194 files changed

Lines changed: 8229 additions & 4906 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
LICENSE
22
=======
33

4-
Copyright 2021-2022 Cosmo Tech
4+
Copyright 2021-2025 Cosmo Tech
55

66
You are authorized to use this software following the execution of a specific agreement with Cosmo Tech or with an authorized licensee of Cosmo Tech.
77

README.md

Lines changed: 78 additions & 53 deletions
Large diffs are not rendered by default.

cosmotech_api/__init__.py

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
88
Cosmo Tech Platform API
99
10-
The version of the OpenAPI document: 4.1.3-onprem
10+
The version of the OpenAPI document: 5.0.1-SNAPSHOT
1111
Contact: platform@cosmotech.com
1212
Generated by OpenAPI Generator (https://openapi-generator.tech)
1313
@@ -20,6 +20,7 @@
2020
# import apis into sdk package
2121
from cosmotech_api.api.connector_api import ConnectorApi
2222
from cosmotech_api.api.dataset_api import DatasetApi
23+
from cosmotech_api.api.meta_api import MetaApi
2324
from cosmotech_api.api.organization_api import OrganizationApi
2425
from cosmotech_api.api.run_api import RunApi
2526
from cosmotech_api.api.runner_api import RunnerApi
@@ -38,6 +39,8 @@
3839
from cosmotech_api.exceptions import ApiException
3940

4041
# import models into sdk package
42+
from cosmotech_api.models.about_info import AboutInfo
43+
from cosmotech_api.models.about_info_version import AboutInfoVersion
4144
from cosmotech_api.models.component_role_permissions import ComponentRolePermissions
4245
from cosmotech_api.models.connector import Connector
4346
from cosmotech_api.models.connector_parameter import ConnectorParameter
@@ -57,55 +60,70 @@
5760
from cosmotech_api.models.dataset_twin_graph_hash import DatasetTwinGraphHash
5861
from cosmotech_api.models.dataset_twin_graph_info import DatasetTwinGraphInfo
5962
from cosmotech_api.models.dataset_twin_graph_query import DatasetTwinGraphQuery
60-
from cosmotech_api.models.delete_historical_data import DeleteHistoricalData
6163
from cosmotech_api.models.file_upload_metadata import FileUploadMetadata
6264
from cosmotech_api.models.file_upload_validation import FileUploadValidation
6365
from cosmotech_api.models.graph_properties import GraphProperties
6466
from cosmotech_api.models.ingestion_status_enum import IngestionStatusEnum
6567
from cosmotech_api.models.io_types_enum import IoTypesEnum
68+
from cosmotech_api.models.last_run_info import LastRunInfo
6669
from cosmotech_api.models.organization import Organization
6770
from cosmotech_api.models.organization_access_control import OrganizationAccessControl
71+
from cosmotech_api.models.organization_create_request import OrganizationCreateRequest
72+
from cosmotech_api.models.organization_edit_info import OrganizationEditInfo
6873
from cosmotech_api.models.organization_role import OrganizationRole
6974
from cosmotech_api.models.organization_security import OrganizationSecurity
75+
from cosmotech_api.models.organization_update_request import OrganizationUpdateRequest
7076
from cosmotech_api.models.query_result import QueryResult
7177
from cosmotech_api.models.resource_size_info import ResourceSizeInfo
7278
from cosmotech_api.models.run import Run
7379
from cosmotech_api.models.run_container import RunContainer
7480
from cosmotech_api.models.run_data import RunData
7581
from cosmotech_api.models.run_data_query import RunDataQuery
76-
from cosmotech_api.models.run_logs import RunLogs
77-
from cosmotech_api.models.run_logs_entry import RunLogsEntry
82+
from cosmotech_api.models.run_edit_info import RunEditInfo
7883
from cosmotech_api.models.run_resource_requested import RunResourceRequested
7984
from cosmotech_api.models.run_state import RunState
8085
from cosmotech_api.models.run_status import RunStatus
8186
from cosmotech_api.models.run_status_node import RunStatusNode
8287
from cosmotech_api.models.run_template import RunTemplate
83-
from cosmotech_api.models.run_template_orchestrator import RunTemplateOrchestrator
88+
from cosmotech_api.models.run_template_create_request import RunTemplateCreateRequest
8489
from cosmotech_api.models.run_template_parameter import RunTemplateParameter
90+
from cosmotech_api.models.run_template_parameter_create_request import RunTemplateParameterCreateRequest
8591
from cosmotech_api.models.run_template_parameter_group import RunTemplateParameterGroup
92+
from cosmotech_api.models.run_template_parameter_group_create_request import RunTemplateParameterGroupCreateRequest
93+
from cosmotech_api.models.run_template_parameter_group_update_request import RunTemplateParameterGroupUpdateRequest
94+
from cosmotech_api.models.run_template_parameter_update_request import RunTemplateParameterUpdateRequest
8695
from cosmotech_api.models.run_template_parameter_value import RunTemplateParameterValue
8796
from cosmotech_api.models.run_template_resource_sizing import RunTemplateResourceSizing
88-
from cosmotech_api.models.run_template_step_source import RunTemplateStepSource
97+
from cosmotech_api.models.run_template_update_request import RunTemplateUpdateRequest
8998
from cosmotech_api.models.runner import Runner
9099
from cosmotech_api.models.runner_access_control import RunnerAccessControl
100+
from cosmotech_api.models.runner_create_request import RunnerCreateRequest
101+
from cosmotech_api.models.runner_edit_info import RunnerEditInfo
91102
from cosmotech_api.models.runner_resource_sizing import RunnerResourceSizing
92103
from cosmotech_api.models.runner_role import RunnerRole
93104
from cosmotech_api.models.runner_run_template_parameter_value import RunnerRunTemplateParameterValue
94105
from cosmotech_api.models.runner_security import RunnerSecurity
106+
from cosmotech_api.models.runner_update_request import RunnerUpdateRequest
95107
from cosmotech_api.models.runner_validation_status import RunnerValidationStatus
96108
from cosmotech_api.models.send_run_data_request import SendRunDataRequest
97109
from cosmotech_api.models.solution import Solution
98110
from cosmotech_api.models.solution_access_control import SolutionAccessControl
111+
from cosmotech_api.models.solution_create_request import SolutionCreateRequest
112+
from cosmotech_api.models.solution_edit_info import SolutionEditInfo
99113
from cosmotech_api.models.solution_role import SolutionRole
100114
from cosmotech_api.models.solution_security import SolutionSecurity
115+
from cosmotech_api.models.solution_update_request import SolutionUpdateRequest
101116
from cosmotech_api.models.source_info import SourceInfo
102117
from cosmotech_api.models.sub_dataset_graph_query import SubDatasetGraphQuery
103118
from cosmotech_api.models.twin_graph_batch_result import TwinGraphBatchResult
104119
from cosmotech_api.models.twincache_status_enum import TwincacheStatusEnum
105120
from cosmotech_api.models.workspace import Workspace
106121
from cosmotech_api.models.workspace_access_control import WorkspaceAccessControl
122+
from cosmotech_api.models.workspace_create_request import WorkspaceCreateRequest
123+
from cosmotech_api.models.workspace_edit_info import WorkspaceEditInfo
107124
from cosmotech_api.models.workspace_file import WorkspaceFile
108125
from cosmotech_api.models.workspace_role import WorkspaceRole
109126
from cosmotech_api.models.workspace_security import WorkspaceSecurity
110127
from cosmotech_api.models.workspace_solution import WorkspaceSolution
128+
from cosmotech_api.models.workspace_update_request import WorkspaceUpdateRequest
111129
from cosmotech_api.models.workspace_web_app import WorkspaceWebApp

cosmotech_api/api/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
# import apis into api package
44
from cosmotech_api.api.connector_api import ConnectorApi
55
from cosmotech_api.api.dataset_api import DatasetApi
6+
from cosmotech_api.api.meta_api import MetaApi
67
from cosmotech_api.api.organization_api import OrganizationApi
78
from cosmotech_api.api.run_api import RunApi
89
from cosmotech_api.api.runner_api import RunnerApi

cosmotech_api/api/connector_api.py

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Cosmo Tech Platform API
77
8-
The version of the OpenAPI document: 4.1.3-onprem
8+
The version of the OpenAPI document: 5.0.1-SNAPSHOT
99
Contact: platform@cosmotech.com
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111
@@ -265,7 +265,9 @@ def _find_all_connectors_serialize(
265265
_query_params: List[Tuple[str, str]] = []
266266
_header_params: Dict[str, Optional[str]] = _headers or {}
267267
_form_params: List[Tuple[str, str]] = []
268-
_files: Dict[str, Union[str, bytes]] = {}
268+
_files: Dict[
269+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
270+
] = {}
269271
_body_params: Optional[bytes] = None
270272

271273
# process the path parameters
@@ -287,7 +289,8 @@ def _find_all_connectors_serialize(
287289
if 'Accept' not in _header_params:
288290
_header_params['Accept'] = self.api_client.select_header_accept(
289291
[
290-
'application/json'
292+
'application/json',
293+
'application/yaml'
291294
]
292295
)
293296

@@ -530,7 +533,9 @@ def _find_connector_by_id_serialize(
530533
_query_params: List[Tuple[str, str]] = []
531534
_header_params: Dict[str, Optional[str]] = _headers or {}
532535
_form_params: List[Tuple[str, str]] = []
533-
_files: Dict[str, Union[str, bytes]] = {}
536+
_files: Dict[
537+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
538+
] = {}
534539
_body_params: Optional[bytes] = None
535540

536541
# process the path parameters
@@ -546,7 +551,8 @@ def _find_connector_by_id_serialize(
546551
if 'Accept' not in _header_params:
547552
_header_params['Accept'] = self.api_client.select_header_accept(
548553
[
549-
'application/json'
554+
'application/json',
555+
'application/yaml'
550556
]
551557
)
552558

@@ -789,7 +795,9 @@ def _register_connector_serialize(
789795
_query_params: List[Tuple[str, str]] = []
790796
_header_params: Dict[str, Optional[str]] = _headers or {}
791797
_form_params: List[Tuple[str, str]] = []
792-
_files: Dict[str, Union[str, bytes]] = {}
798+
_files: Dict[
799+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
800+
] = {}
793801
_body_params: Optional[bytes] = None
794802

795803
# process the path parameters
@@ -805,7 +813,8 @@ def _register_connector_serialize(
805813
if 'Accept' not in _header_params:
806814
_header_params['Accept'] = self.api_client.select_header_accept(
807815
[
808-
'application/json'
816+
'application/json',
817+
'application/yaml'
809818
]
810819
)
811820

@@ -1062,7 +1071,9 @@ def _unregister_connector_serialize(
10621071
_query_params: List[Tuple[str, str]] = []
10631072
_header_params: Dict[str, Optional[str]] = _headers or {}
10641073
_form_params: List[Tuple[str, str]] = []
1065-
_files: Dict[str, Union[str, bytes]] = {}
1074+
_files: Dict[
1075+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
1076+
] = {}
10661077
_body_params: Optional[bytes] = None
10671078

10681079
# process the path parameters

0 commit comments

Comments
 (0)