cosmotech-api 5.0.0b3__py3-none-any.whl → 5.0.0b5__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 +2 -1
- cosmotech_api/api/connector_api.py +4 -7
- cosmotech_api/api/dataset_api.py +343 -1
- cosmotech_api/api/meta_api.py +1 -1
- cosmotech_api/api/organization_api.py +1 -1
- cosmotech_api/api/run_api.py +1 -1
- cosmotech_api/api/runner_api.py +13 -13
- cosmotech_api/api/solution_api.py +313 -313
- cosmotech_api/api/workspace_api.py +1 -1
- cosmotech_api/api_client.py +1 -1
- cosmotech_api/configuration.py +2 -2
- cosmotech_api/exceptions.py +1 -1
- cosmotech_api/models/__init__.py +2 -1
- cosmotech_api/models/about_info.py +1 -1
- cosmotech_api/models/about_info_version.py +1 -1
- cosmotech_api/models/component_role_permissions.py +1 -1
- cosmotech_api/models/connector.py +1 -1
- cosmotech_api/models/connector_parameter.py +1 -1
- cosmotech_api/models/connector_parameter_group.py +1 -1
- cosmotech_api/models/container_resource_size_info.py +1 -1
- cosmotech_api/models/container_resource_sizing.py +1 -1
- cosmotech_api/models/create_info.py +1 -1
- cosmotech_api/models/created_run.py +1 -1
- cosmotech_api/models/dataset.py +1 -1
- cosmotech_api/models/dataset_access_control.py +1 -1
- cosmotech_api/models/dataset_compatibility.py +1 -1
- cosmotech_api/models/dataset_connector.py +1 -1
- cosmotech_api/models/dataset_copy_parameters.py +1 -1
- cosmotech_api/models/dataset_create_request.py +1 -1
- cosmotech_api/models/dataset_part.py +3 -3
- cosmotech_api/models/dataset_part_create_request.py +4 -4
- cosmotech_api/models/dataset_part_type_enum.py +2 -2
- cosmotech_api/models/dataset_part_update_request.py +6 -3
- cosmotech_api/models/dataset_role.py +1 -1
- cosmotech_api/models/dataset_search.py +1 -1
- cosmotech_api/models/dataset_security.py +1 -1
- cosmotech_api/models/dataset_source_type.py +1 -1
- cosmotech_api/models/dataset_twin_graph_hash.py +1 -1
- cosmotech_api/models/dataset_twin_graph_info.py +1 -1
- cosmotech_api/models/dataset_twin_graph_query.py +1 -1
- cosmotech_api/models/dataset_update_request.py +1 -1
- cosmotech_api/models/delete_historical_data.py +1 -1
- cosmotech_api/models/edit_info.py +1 -1
- cosmotech_api/models/file_upload_metadata.py +1 -1
- cosmotech_api/models/file_upload_validation.py +1 -1
- cosmotech_api/models/graph_properties.py +1 -1
- cosmotech_api/models/ingestion_status_enum.py +1 -1
- cosmotech_api/models/io_types_enum.py +1 -1
- cosmotech_api/models/last_run_info.py +1 -1
- cosmotech_api/models/organization.py +1 -1
- cosmotech_api/models/organization_access_control.py +1 -1
- cosmotech_api/models/organization_create_request.py +1 -1
- cosmotech_api/models/organization_edit_info.py +1 -1
- cosmotech_api/models/organization_role.py +1 -1
- cosmotech_api/models/organization_security.py +1 -1
- cosmotech_api/models/organization_update_request.py +1 -1
- cosmotech_api/models/query_result.py +1 -1
- cosmotech_api/models/resource_size_info.py +1 -1
- cosmotech_api/models/run.py +1 -1
- cosmotech_api/models/run_container.py +1 -1
- cosmotech_api/models/run_data.py +1 -1
- cosmotech_api/models/run_data_query.py +1 -1
- cosmotech_api/models/run_edit_info.py +1 -1
- cosmotech_api/models/run_logs.py +1 -1
- cosmotech_api/models/run_logs_entry.py +1 -1
- cosmotech_api/models/run_resource_requested.py +1 -1
- cosmotech_api/models/run_state.py +1 -1
- cosmotech_api/models/run_status.py +1 -1
- cosmotech_api/models/run_status_node.py +1 -1
- cosmotech_api/models/run_template.py +1 -1
- cosmotech_api/models/run_template_create_request.py +1 -1
- cosmotech_api/models/run_template_orchestrator.py +1 -1
- cosmotech_api/models/run_template_parameter.py +1 -1
- cosmotech_api/models/run_template_parameter_create_request.py +1 -1
- cosmotech_api/models/run_template_parameter_group.py +1 -1
- cosmotech_api/models/run_template_parameter_group_create_request.py +1 -1
- cosmotech_api/models/run_template_parameter_group_update_request.py +1 -1
- cosmotech_api/models/run_template_parameter_update_request.py +1 -1
- cosmotech_api/models/run_template_parameter_value.py +1 -1
- cosmotech_api/models/run_template_resource_sizing.py +1 -1
- cosmotech_api/models/run_template_step_source.py +1 -1
- cosmotech_api/models/run_template_update_request.py +1 -1
- cosmotech_api/models/runner.py +8 -4
- cosmotech_api/models/runner_access_control.py +1 -1
- cosmotech_api/models/runner_create_request.py +1 -9
- cosmotech_api/models/runner_datasets.py +92 -0
- cosmotech_api/models/runner_edit_info.py +1 -1
- cosmotech_api/models/runner_resource_sizing.py +1 -1
- cosmotech_api/models/runner_role.py +1 -1
- cosmotech_api/models/runner_run_template_parameter_value.py +1 -3
- cosmotech_api/models/runner_security.py +1 -1
- cosmotech_api/models/runner_update_request.py +1 -5
- cosmotech_api/models/runner_validation_status.py +1 -1
- cosmotech_api/models/send_run_data_request.py +1 -1
- cosmotech_api/models/solution.py +1 -1
- cosmotech_api/models/solution_access_control.py +1 -1
- cosmotech_api/models/solution_create_request.py +1 -1
- cosmotech_api/models/solution_edit_info.py +1 -1
- cosmotech_api/models/solution_file.py +88 -0
- cosmotech_api/models/solution_role.py +1 -1
- cosmotech_api/models/solution_security.py +1 -1
- cosmotech_api/models/solution_update_request.py +1 -1
- cosmotech_api/models/source_info.py +1 -1
- cosmotech_api/models/sub_dataset_graph_query.py +1 -1
- cosmotech_api/models/twin_graph_batch_result.py +1 -1
- cosmotech_api/models/twincache_status_enum.py +1 -1
- cosmotech_api/models/workspace.py +1 -1
- cosmotech_api/models/workspace_access_control.py +1 -1
- cosmotech_api/models/workspace_create_request.py +1 -1
- cosmotech_api/models/workspace_edit_info.py +1 -1
- cosmotech_api/models/workspace_file.py +1 -1
- cosmotech_api/models/workspace_role.py +1 -1
- cosmotech_api/models/workspace_security.py +1 -1
- cosmotech_api/models/workspace_solution.py +16 -2
- cosmotech_api/models/workspace_update_request.py +1 -1
- cosmotech_api/models/workspace_web_app.py +1 -1
- cosmotech_api/rest.py +1 -1
- {cosmotech_api-5.0.0b3.dist-info → cosmotech_api-5.0.0b5.dist-info}/METADATA +1 -1
- {cosmotech_api-5.0.0b3.dist-info → cosmotech_api-5.0.0b5.dist-info}/RECORD +122 -120
- {cosmotech_api-5.0.0b3.dist-info → cosmotech_api-5.0.0b5.dist-info}/WHEEL +0 -0
- {cosmotech_api-5.0.0b3.dist-info → cosmotech_api-5.0.0b5.dist-info}/licenses/LICENSE +0 -0
- {cosmotech_api-5.0.0b3.dist-info → cosmotech_api-5.0.0b5.dist-info}/top_level.txt +0 -0
cosmotech_api/api_client.py
CHANGED
cosmotech_api/configuration.py
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Cosmo Tech Platform API
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 5.0.
|
|
8
|
+
The version of the OpenAPI document: 5.0.1-SNAPSHOT
|
|
9
9
|
Contact: platform@cosmotech.com
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -510,7 +510,7 @@ class Configuration:
|
|
|
510
510
|
return "Python SDK Debug Report:\n"\
|
|
511
511
|
"OS: {env}\n"\
|
|
512
512
|
"Python Version: {pyversion}\n"\
|
|
513
|
-
"Version of the API: 5.0.
|
|
513
|
+
"Version of the API: 5.0.1-SNAPSHOT\n"\
|
|
514
514
|
"SDK Package Version: 1.0.0".\
|
|
515
515
|
format(env=sys.platform, pyversion=sys.version)
|
|
516
516
|
|
cosmotech_api/exceptions.py
CHANGED
cosmotech_api/models/__init__.py
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
Cosmo Tech Platform API
|
|
8
8
|
|
|
9
|
-
The version of the OpenAPI document: 5.0.
|
|
9
|
+
The version of the OpenAPI document: 5.0.1-SNAPSHOT
|
|
10
10
|
Contact: platform@cosmotech.com
|
|
11
11
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
12
12
|
|
|
@@ -66,6 +66,7 @@ from cosmotech_api.models.run_template_update_request import RunTemplateUpdateRe
|
|
|
66
66
|
from cosmotech_api.models.runner import Runner
|
|
67
67
|
from cosmotech_api.models.runner_access_control import RunnerAccessControl
|
|
68
68
|
from cosmotech_api.models.runner_create_request import RunnerCreateRequest
|
|
69
|
+
from cosmotech_api.models.runner_datasets import RunnerDatasets
|
|
69
70
|
from cosmotech_api.models.runner_edit_info import RunnerEditInfo
|
|
70
71
|
from cosmotech_api.models.runner_resource_sizing import RunnerResourceSizing
|
|
71
72
|
from cosmotech_api.models.runner_role import RunnerRole
|
cosmotech_api/models/dataset.py
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Cosmo Tech Platform API
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 5.0.
|
|
8
|
+
The version of the OpenAPI document: 5.0.1-SNAPSHOT
|
|
9
9
|
Contact: platform@cosmotech.com
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -32,7 +32,7 @@ class DatasetPart(BaseModel):
|
|
|
32
32
|
""" # noqa: E501
|
|
33
33
|
id: Annotated[str, Field(strict=True)]
|
|
34
34
|
name: Annotated[str, Field(min_length=1, strict=True, max_length=50)]
|
|
35
|
-
source_name: Annotated[str, Field(min_length=1, strict=True
|
|
35
|
+
source_name: Annotated[str, Field(min_length=1, strict=True)] = Field(description="the source data name (e.g. filename associated to the dataset part)", alias="sourceName")
|
|
36
36
|
description: Optional[StrictStr] = None
|
|
37
37
|
tags: List[StrictStr]
|
|
38
38
|
type: DatasetPartTypeEnum
|
|
@@ -118,7 +118,7 @@ class DatasetPart(BaseModel):
|
|
|
118
118
|
"sourceName": obj.get("sourceName"),
|
|
119
119
|
"description": obj.get("description"),
|
|
120
120
|
"tags": obj.get("tags"),
|
|
121
|
-
"type": obj.get("type") if obj.get("type") is not None else DatasetPartTypeEnum.
|
|
121
|
+
"type": obj.get("type") if obj.get("type") is not None else DatasetPartTypeEnum.FILE,
|
|
122
122
|
"organizationId": obj.get("organizationId"),
|
|
123
123
|
"workspaceId": obj.get("workspaceId"),
|
|
124
124
|
"datasetId": obj.get("datasetId"),
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Cosmo Tech Platform API
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 5.0.
|
|
8
|
+
The version of the OpenAPI document: 5.0.1-SNAPSHOT
|
|
9
9
|
Contact: platform@cosmotech.com
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -30,10 +30,10 @@ class DatasetPartCreateRequest(BaseModel):
|
|
|
30
30
|
Dataset part create request object
|
|
31
31
|
""" # noqa: E501
|
|
32
32
|
name: Annotated[str, Field(min_length=1, strict=True, max_length=50)]
|
|
33
|
-
source_name: Annotated[str, Field(min_length=1, strict=True
|
|
33
|
+
source_name: Annotated[str, Field(min_length=1, strict=True)] = Field(description="the source data name (e.g. filename associated to the dataset part)", alias="sourceName")
|
|
34
34
|
description: Optional[StrictStr] = None
|
|
35
35
|
tags: Optional[List[StrictStr]] = None
|
|
36
|
-
type: Optional[DatasetPartTypeEnum] = DatasetPartTypeEnum.
|
|
36
|
+
type: Optional[DatasetPartTypeEnum] = DatasetPartTypeEnum.FILE
|
|
37
37
|
__properties: ClassVar[List[str]] = ["name", "sourceName", "description", "tags", "type"]
|
|
38
38
|
|
|
39
39
|
model_config = ConfigDict(
|
|
@@ -91,7 +91,7 @@ class DatasetPartCreateRequest(BaseModel):
|
|
|
91
91
|
"sourceName": obj.get("sourceName"),
|
|
92
92
|
"description": obj.get("description"),
|
|
93
93
|
"tags": obj.get("tags"),
|
|
94
|
-
"type": obj.get("type") if obj.get("type") is not None else DatasetPartTypeEnum.
|
|
94
|
+
"type": obj.get("type") if obj.get("type") is not None else DatasetPartTypeEnum.FILE
|
|
95
95
|
})
|
|
96
96
|
return _obj
|
|
97
97
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Cosmo Tech Platform API
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 5.0.
|
|
8
|
+
The version of the OpenAPI document: 5.0.1-SNAPSHOT
|
|
9
9
|
Contact: platform@cosmotech.com
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -28,7 +28,7 @@ class DatasetPartTypeEnum(str, Enum):
|
|
|
28
28
|
allowed enum values
|
|
29
29
|
"""
|
|
30
30
|
FILE = 'File'
|
|
31
|
-
|
|
31
|
+
DB = 'DB'
|
|
32
32
|
|
|
33
33
|
@classmethod
|
|
34
34
|
def from_json(cls, json_str: str) -> Self:
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Cosmo Tech Platform API
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 5.0.
|
|
8
|
+
The version of the OpenAPI document: 5.0.1-SNAPSHOT
|
|
9
9
|
Contact: platform@cosmotech.com
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -18,8 +18,9 @@ import pprint
|
|
|
18
18
|
import re # noqa: F401
|
|
19
19
|
import json
|
|
20
20
|
|
|
21
|
-
from pydantic import BaseModel, ConfigDict, StrictStr
|
|
21
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictStr
|
|
22
22
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
23
|
+
from typing_extensions import Annotated
|
|
23
24
|
from typing import Optional, Set
|
|
24
25
|
from typing_extensions import Self
|
|
25
26
|
|
|
@@ -27,9 +28,10 @@ class DatasetPartUpdateRequest(BaseModel):
|
|
|
27
28
|
"""
|
|
28
29
|
Dataset part update request object
|
|
29
30
|
""" # noqa: E501
|
|
31
|
+
source_name: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="the source data name (e.g. filename associated to the dataset part)", alias="sourceName")
|
|
30
32
|
description: Optional[StrictStr] = None
|
|
31
33
|
tags: Optional[List[StrictStr]] = None
|
|
32
|
-
__properties: ClassVar[List[str]] = ["description", "tags"]
|
|
34
|
+
__properties: ClassVar[List[str]] = ["sourceName", "description", "tags"]
|
|
33
35
|
|
|
34
36
|
model_config = ConfigDict(
|
|
35
37
|
populate_by_name=True,
|
|
@@ -82,6 +84,7 @@ class DatasetPartUpdateRequest(BaseModel):
|
|
|
82
84
|
return cls.model_validate(obj)
|
|
83
85
|
|
|
84
86
|
_obj = cls.model_validate({
|
|
87
|
+
"sourceName": obj.get("sourceName"),
|
|
85
88
|
"description": obj.get("description"),
|
|
86
89
|
"tags": obj.get("tags")
|
|
87
90
|
})
|
cosmotech_api/models/run.py
CHANGED
cosmotech_api/models/run_data.py
CHANGED