Skip to content

Commit 4822a34

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

204 files changed

Lines changed: 4915 additions & 8238 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-2025 Cosmo Tech
4+
Copyright 2021-2022 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: 53 additions & 78 deletions
Large diffs are not rendered by default.

cosmotech_api/__init__.py

Lines changed: 6 additions & 24 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: 5.0.1-SNAPSHOT
10+
The version of the OpenAPI document: 4.1.3-onprem
1111
Contact: platform@cosmotech.com
1212
Generated by OpenAPI Generator (https://openapi-generator.tech)
1313
@@ -20,7 +20,6 @@
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
2423
from cosmotech_api.api.organization_api import OrganizationApi
2524
from cosmotech_api.api.run_api import RunApi
2625
from cosmotech_api.api.runner_api import RunnerApi
@@ -39,8 +38,6 @@
3938
from cosmotech_api.exceptions import ApiException
4039

4140
# import models into sdk package
42-
from cosmotech_api.models.about_info import AboutInfo
43-
from cosmotech_api.models.about_info_version import AboutInfoVersion
4441
from cosmotech_api.models.component_role_permissions import ComponentRolePermissions
4542
from cosmotech_api.models.connector import Connector
4643
from cosmotech_api.models.connector_parameter import ConnectorParameter
@@ -60,70 +57,55 @@
6057
from cosmotech_api.models.dataset_twin_graph_hash import DatasetTwinGraphHash
6158
from cosmotech_api.models.dataset_twin_graph_info import DatasetTwinGraphInfo
6259
from cosmotech_api.models.dataset_twin_graph_query import DatasetTwinGraphQuery
60+
from cosmotech_api.models.delete_historical_data import DeleteHistoricalData
6361
from cosmotech_api.models.file_upload_metadata import FileUploadMetadata
6462
from cosmotech_api.models.file_upload_validation import FileUploadValidation
6563
from cosmotech_api.models.graph_properties import GraphProperties
6664
from cosmotech_api.models.ingestion_status_enum import IngestionStatusEnum
6765
from cosmotech_api.models.io_types_enum import IoTypesEnum
68-
from cosmotech_api.models.last_run_info import LastRunInfo
6966
from cosmotech_api.models.organization import Organization
7067
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
7368
from cosmotech_api.models.organization_role import OrganizationRole
7469
from cosmotech_api.models.organization_security import OrganizationSecurity
75-
from cosmotech_api.models.organization_update_request import OrganizationUpdateRequest
7670
from cosmotech_api.models.query_result import QueryResult
7771
from cosmotech_api.models.resource_size_info import ResourceSizeInfo
7872
from cosmotech_api.models.run import Run
7973
from cosmotech_api.models.run_container import RunContainer
8074
from cosmotech_api.models.run_data import RunData
8175
from cosmotech_api.models.run_data_query import RunDataQuery
82-
from cosmotech_api.models.run_edit_info import RunEditInfo
76+
from cosmotech_api.models.run_logs import RunLogs
77+
from cosmotech_api.models.run_logs_entry import RunLogsEntry
8378
from cosmotech_api.models.run_resource_requested import RunResourceRequested
8479
from cosmotech_api.models.run_state import RunState
8580
from cosmotech_api.models.run_status import RunStatus
8681
from cosmotech_api.models.run_status_node import RunStatusNode
8782
from cosmotech_api.models.run_template import RunTemplate
88-
from cosmotech_api.models.run_template_create_request import RunTemplateCreateRequest
83+
from cosmotech_api.models.run_template_orchestrator import RunTemplateOrchestrator
8984
from cosmotech_api.models.run_template_parameter import RunTemplateParameter
90-
from cosmotech_api.models.run_template_parameter_create_request import RunTemplateParameterCreateRequest
9185
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
9586
from cosmotech_api.models.run_template_parameter_value import RunTemplateParameterValue
9687
from cosmotech_api.models.run_template_resource_sizing import RunTemplateResourceSizing
97-
from cosmotech_api.models.run_template_update_request import RunTemplateUpdateRequest
88+
from cosmotech_api.models.run_template_step_source import RunTemplateStepSource
9889
from cosmotech_api.models.runner import Runner
9990
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
10291
from cosmotech_api.models.runner_resource_sizing import RunnerResourceSizing
10392
from cosmotech_api.models.runner_role import RunnerRole
10493
from cosmotech_api.models.runner_run_template_parameter_value import RunnerRunTemplateParameterValue
10594
from cosmotech_api.models.runner_security import RunnerSecurity
106-
from cosmotech_api.models.runner_update_request import RunnerUpdateRequest
10795
from cosmotech_api.models.runner_validation_status import RunnerValidationStatus
10896
from cosmotech_api.models.send_run_data_request import SendRunDataRequest
10997
from cosmotech_api.models.solution import Solution
11098
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
11399
from cosmotech_api.models.solution_role import SolutionRole
114100
from cosmotech_api.models.solution_security import SolutionSecurity
115-
from cosmotech_api.models.solution_update_request import SolutionUpdateRequest
116101
from cosmotech_api.models.source_info import SourceInfo
117102
from cosmotech_api.models.sub_dataset_graph_query import SubDatasetGraphQuery
118103
from cosmotech_api.models.twin_graph_batch_result import TwinGraphBatchResult
119104
from cosmotech_api.models.twincache_status_enum import TwincacheStatusEnum
120105
from cosmotech_api.models.workspace import Workspace
121106
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
124107
from cosmotech_api.models.workspace_file import WorkspaceFile
125108
from cosmotech_api.models.workspace_role import WorkspaceRole
126109
from cosmotech_api.models.workspace_security import WorkspaceSecurity
127110
from cosmotech_api.models.workspace_solution import WorkspaceSolution
128-
from cosmotech_api.models.workspace_update_request import WorkspaceUpdateRequest
129111
from cosmotech_api.models.workspace_web_app import WorkspaceWebApp

cosmotech_api/api/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
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
76
from cosmotech_api.api.organization_api import OrganizationApi
87
from cosmotech_api.api.run_api import RunApi
98
from cosmotech_api.api.runner_api import RunnerApi

cosmotech_api/api/connector_api.py

Lines changed: 8 additions & 19 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: 5.0.1-SNAPSHOT
8+
The version of the OpenAPI document: 4.1.3-onprem
99
Contact: platform@cosmotech.com
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111
@@ -265,9 +265,7 @@ 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[
269-
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
270-
] = {}
268+
_files: Dict[str, Union[str, bytes]] = {}
271269
_body_params: Optional[bytes] = None
272270

273271
# process the path parameters
@@ -289,8 +287,7 @@ def _find_all_connectors_serialize(
289287
if 'Accept' not in _header_params:
290288
_header_params['Accept'] = self.api_client.select_header_accept(
291289
[
292-
'application/json',
293-
'application/yaml'
290+
'application/json'
294291
]
295292
)
296293

@@ -533,9 +530,7 @@ def _find_connector_by_id_serialize(
533530
_query_params: List[Tuple[str, str]] = []
534531
_header_params: Dict[str, Optional[str]] = _headers or {}
535532
_form_params: List[Tuple[str, str]] = []
536-
_files: Dict[
537-
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
538-
] = {}
533+
_files: Dict[str, Union[str, bytes]] = {}
539534
_body_params: Optional[bytes] = None
540535

541536
# process the path parameters
@@ -551,8 +546,7 @@ def _find_connector_by_id_serialize(
551546
if 'Accept' not in _header_params:
552547
_header_params['Accept'] = self.api_client.select_header_accept(
553548
[
554-
'application/json',
555-
'application/yaml'
549+
'application/json'
556550
]
557551
)
558552

@@ -795,9 +789,7 @@ def _register_connector_serialize(
795789
_query_params: List[Tuple[str, str]] = []
796790
_header_params: Dict[str, Optional[str]] = _headers or {}
797791
_form_params: List[Tuple[str, str]] = []
798-
_files: Dict[
799-
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
800-
] = {}
792+
_files: Dict[str, Union[str, bytes]] = {}
801793
_body_params: Optional[bytes] = None
802794

803795
# process the path parameters
@@ -813,8 +805,7 @@ def _register_connector_serialize(
813805
if 'Accept' not in _header_params:
814806
_header_params['Accept'] = self.api_client.select_header_accept(
815807
[
816-
'application/json',
817-
'application/yaml'
808+
'application/json'
818809
]
819810
)
820811

@@ -1071,9 +1062,7 @@ def _unregister_connector_serialize(
10711062
_query_params: List[Tuple[str, str]] = []
10721063
_header_params: Dict[str, Optional[str]] = _headers or {}
10731064
_form_params: List[Tuple[str, str]] = []
1074-
_files: Dict[
1075-
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
1076-
] = {}
1065+
_files: Dict[str, Union[str, bytes]] = {}
10771066
_body_params: Optional[bytes] = None
10781067

10791068
# process the path parameters

0 commit comments

Comments
 (0)