wizata-dsapi 1.4.0.dev6__tar.gz → 1.4.0.dev9__tar.gz
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.
- {wizata_dsapi-1.4.0.dev6/wizata_dsapi.egg-info → wizata_dsapi-1.4.0.dev9}/PKG-INFO +1 -1
- {wizata_dsapi-1.4.0.dev6 → wizata_dsapi-1.4.0.dev9}/wizata_dsapi/execution_log.py +15 -14
- wizata_dsapi-1.4.0.dev9/wizata_dsapi/version.py +1 -0
- {wizata_dsapi-1.4.0.dev6 → wizata_dsapi-1.4.0.dev9/wizata_dsapi.egg-info}/PKG-INFO +1 -1
- wizata_dsapi-1.4.0.dev6/wizata_dsapi/version.py +0 -1
- {wizata_dsapi-1.4.0.dev6 → wizata_dsapi-1.4.0.dev9}/LICENSE.txt +0 -0
- {wizata_dsapi-1.4.0.dev6 → wizata_dsapi-1.4.0.dev9}/README.rst +0 -0
- {wizata_dsapi-1.4.0.dev6 → wizata_dsapi-1.4.0.dev9}/setup.cfg +0 -0
- {wizata_dsapi-1.4.0.dev6 → wizata_dsapi-1.4.0.dev9}/setup.py +0 -0
- {wizata_dsapi-1.4.0.dev6 → wizata_dsapi-1.4.0.dev9}/wizata_dsapi/__init__.py +0 -0
- {wizata_dsapi-1.4.0.dev6 → wizata_dsapi-1.4.0.dev9}/wizata_dsapi/api_config.py +0 -0
- {wizata_dsapi-1.4.0.dev6 → wizata_dsapi-1.4.0.dev9}/wizata_dsapi/api_dto.py +0 -0
- {wizata_dsapi-1.4.0.dev6 → wizata_dsapi-1.4.0.dev9}/wizata_dsapi/api_interface.py +0 -0
- {wizata_dsapi-1.4.0.dev6 → wizata_dsapi-1.4.0.dev9}/wizata_dsapi/bucket.py +0 -0
- {wizata_dsapi-1.4.0.dev6 → wizata_dsapi-1.4.0.dev9}/wizata_dsapi/business_label.py +0 -0
- {wizata_dsapi-1.4.0.dev6 → wizata_dsapi-1.4.0.dev9}/wizata_dsapi/context.py +0 -0
- {wizata_dsapi-1.4.0.dev6 → wizata_dsapi-1.4.0.dev9}/wizata_dsapi/dataframe_toolkit.py +0 -0
- {wizata_dsapi-1.4.0.dev6 → wizata_dsapi-1.4.0.dev9}/wizata_dsapi/datapoint.py +0 -0
- {wizata_dsapi-1.4.0.dev6 → wizata_dsapi-1.4.0.dev9}/wizata_dsapi/datastore.py +0 -0
- {wizata_dsapi-1.4.0.dev6 → wizata_dsapi-1.4.0.dev9}/wizata_dsapi/ds_dataframe.py +0 -0
- {wizata_dsapi-1.4.0.dev6 → wizata_dsapi-1.4.0.dev9}/wizata_dsapi/dsapi_json_encoder.py +0 -0
- {wizata_dsapi-1.4.0.dev6 → wizata_dsapi-1.4.0.dev9}/wizata_dsapi/evaluation.py +0 -0
- {wizata_dsapi-1.4.0.dev6 → wizata_dsapi-1.4.0.dev9}/wizata_dsapi/execution.py +0 -0
- {wizata_dsapi-1.4.0.dev6 → wizata_dsapi-1.4.0.dev9}/wizata_dsapi/experiment.py +0 -0
- {wizata_dsapi-1.4.0.dev6 → wizata_dsapi-1.4.0.dev9}/wizata_dsapi/group_system.py +0 -0
- {wizata_dsapi-1.4.0.dev6 → wizata_dsapi-1.4.0.dev9}/wizata_dsapi/ilogger.py +0 -0
- {wizata_dsapi-1.4.0.dev6 → wizata_dsapi-1.4.0.dev9}/wizata_dsapi/insight.py +0 -0
- {wizata_dsapi-1.4.0.dev6 → wizata_dsapi-1.4.0.dev9}/wizata_dsapi/mlmodel.py +0 -0
- {wizata_dsapi-1.4.0.dev6 → wizata_dsapi-1.4.0.dev9}/wizata_dsapi/model_toolkit.py +0 -0
- {wizata_dsapi-1.4.0.dev6 → wizata_dsapi-1.4.0.dev9}/wizata_dsapi/models/__init__.py +0 -0
- {wizata_dsapi-1.4.0.dev6 → wizata_dsapi-1.4.0.dev9}/wizata_dsapi/models/common.py +0 -0
- {wizata_dsapi-1.4.0.dev6 → wizata_dsapi-1.4.0.dev9}/wizata_dsapi/paged_query_result.py +0 -0
- {wizata_dsapi-1.4.0.dev6 → wizata_dsapi-1.4.0.dev9}/wizata_dsapi/pipeline.py +0 -0
- {wizata_dsapi-1.4.0.dev6 → wizata_dsapi-1.4.0.dev9}/wizata_dsapi/pipeline_image.py +0 -0
- {wizata_dsapi-1.4.0.dev6 → wizata_dsapi-1.4.0.dev9}/wizata_dsapi/plot.py +0 -0
- {wizata_dsapi-1.4.0.dev6 → wizata_dsapi-1.4.0.dev9}/wizata_dsapi/plots/__init__.py +0 -0
- {wizata_dsapi-1.4.0.dev6 → wizata_dsapi-1.4.0.dev9}/wizata_dsapi/plots/common.py +0 -0
- {wizata_dsapi-1.4.0.dev6 → wizata_dsapi-1.4.0.dev9}/wizata_dsapi/request.py +0 -0
- {wizata_dsapi-1.4.0.dev6 → wizata_dsapi-1.4.0.dev9}/wizata_dsapi/script.py +0 -0
- {wizata_dsapi-1.4.0.dev6 → wizata_dsapi-1.4.0.dev9}/wizata_dsapi/scripts/__init__.py +0 -0
- {wizata_dsapi-1.4.0.dev6 → wizata_dsapi-1.4.0.dev9}/wizata_dsapi/scripts/common.py +0 -0
- {wizata_dsapi-1.4.0.dev6 → wizata_dsapi-1.4.0.dev9}/wizata_dsapi/solution_component.py +0 -0
- {wizata_dsapi-1.4.0.dev6 → wizata_dsapi-1.4.0.dev9}/wizata_dsapi/streamlit_utils.py +0 -0
- {wizata_dsapi-1.4.0.dev6 → wizata_dsapi-1.4.0.dev9}/wizata_dsapi/template.py +0 -0
- {wizata_dsapi-1.4.0.dev6 → wizata_dsapi-1.4.0.dev9}/wizata_dsapi/trigger.py +0 -0
- {wizata_dsapi-1.4.0.dev6 → wizata_dsapi-1.4.0.dev9}/wizata_dsapi/twin.py +0 -0
- {wizata_dsapi-1.4.0.dev6 → wizata_dsapi-1.4.0.dev9}/wizata_dsapi/twinregistration.py +0 -0
- {wizata_dsapi-1.4.0.dev6 → wizata_dsapi-1.4.0.dev9}/wizata_dsapi/wizard_function.py +0 -0
- {wizata_dsapi-1.4.0.dev6 → wizata_dsapi-1.4.0.dev9}/wizata_dsapi/wizard_request.py +0 -0
- {wizata_dsapi-1.4.0.dev6 → wizata_dsapi-1.4.0.dev9}/wizata_dsapi/wizata_dsapi_client.py +0 -0
- {wizata_dsapi-1.4.0.dev6 → wizata_dsapi-1.4.0.dev9}/wizata_dsapi/words.py +0 -0
- {wizata_dsapi-1.4.0.dev6 → wizata_dsapi-1.4.0.dev9}/wizata_dsapi.egg-info/SOURCES.txt +0 -0
- {wizata_dsapi-1.4.0.dev6 → wizata_dsapi-1.4.0.dev9}/wizata_dsapi.egg-info/dependency_links.txt +0 -0
- {wizata_dsapi-1.4.0.dev6 → wizata_dsapi-1.4.0.dev9}/wizata_dsapi.egg-info/requires.txt +0 -0
- {wizata_dsapi-1.4.0.dev6 → wizata_dsapi-1.4.0.dev9}/wizata_dsapi.egg-info/top_level.txt +0 -0
|
@@ -5,6 +5,7 @@ from .twin import Twin
|
|
|
5
5
|
from .template import Template
|
|
6
6
|
from .twinregistration import TwinRegistration
|
|
7
7
|
from .execution import ExecutionStatus
|
|
8
|
+
from typing import Optional, Union
|
|
8
9
|
import uuid
|
|
9
10
|
import sys
|
|
10
11
|
import json
|
|
@@ -49,11 +50,11 @@ class ExecutionLog(Dto):
|
|
|
49
50
|
properties = json.loads(properties)
|
|
50
51
|
|
|
51
52
|
return cls(
|
|
52
|
-
execution_id=uuid.UUID(data["id"]) if "id" in data else None,
|
|
53
|
+
execution_id=uuid.UUID(data["id"]) if "id" in data and not isinstance(data["id"], int) else None,
|
|
53
54
|
experiment=data.get("experiment"),
|
|
54
|
-
pipeline=data.get("pipeline") if "pipeline" in data else uuid.UUID(data.get("pipelineId")) if "pipelineId" in data else None,
|
|
55
|
-
template=data.get("template") if "template" in data else uuid.UUID(data.get("templateId")) if "templateId" in data else None,
|
|
56
|
-
twin=data.get("twin") if "twin" in data else uuid.UUID(data.get("twinId")) if "twinId" in data else None,
|
|
55
|
+
pipeline=data.get("pipeline") if "pipeline" in data and data["pipeline"] is not None else uuid.UUID(data.get("pipelineId")) if "pipelineId" in data and data["pipelineId"] is not None else None,
|
|
56
|
+
template=data.get("template") if "template" in data and data["template"] is not None else uuid.UUID(data.get("templateId")) if "templateId" in data and data["templateId"] is not None else None,
|
|
57
|
+
twin=data.get("twin") if "twin" in data and data["twin"] is not None else uuid.UUID(data.get("twinId")) if "twinId" in data and data["twinId"] is not None else None,
|
|
57
58
|
edge_device_id=data.get("edgeDeviceId"),
|
|
58
59
|
status=ExecutionStatus(str(data["status"])) if "status" in data else None,
|
|
59
60
|
pipeline_image_id=data.get("pipelineImageId"),
|
|
@@ -68,11 +69,11 @@ class ExecutionLog(Dto):
|
|
|
68
69
|
|
|
69
70
|
def __init__(self,
|
|
70
71
|
execution_id: uuid.UUID = None,
|
|
71
|
-
experiment: str
|
|
72
|
-
pipeline: str
|
|
73
|
-
twin: str
|
|
74
|
-
template: str
|
|
75
|
-
registration: uuid.UUID
|
|
72
|
+
experiment: Optional[Union[str, uuid.UUID, Experiment]] = None,
|
|
73
|
+
pipeline: Optional[Union[str, uuid.UUID, Pipeline]] = None,
|
|
74
|
+
twin: Optional[Union[str, uuid.UUID, Twin]] = None,
|
|
75
|
+
template: Optional[Union[str, uuid.UUID, Template]] = None,
|
|
76
|
+
registration: Optional[Union[str, uuid.UUID, TwinRegistration]] = None,
|
|
76
77
|
edge_device_id: str = None,
|
|
77
78
|
status: ExecutionStatus = None,
|
|
78
79
|
pipeline_image_id: str = None,
|
|
@@ -148,7 +149,7 @@ class ExecutionLog(Dto):
|
|
|
148
149
|
return self._experiment_id
|
|
149
150
|
|
|
150
151
|
@experiment.setter
|
|
151
|
-
def experiment(self, value: str
|
|
152
|
+
def experiment(self, value: Optional[Union[str, uuid.UUID, Experiment , None]]):
|
|
152
153
|
"""
|
|
153
154
|
set experiment - accept key/uuid or a Experiment
|
|
154
155
|
"""
|
|
@@ -201,7 +202,7 @@ class ExecutionLog(Dto):
|
|
|
201
202
|
return self._pipeline_id
|
|
202
203
|
|
|
203
204
|
@pipeline.setter
|
|
204
|
-
def pipeline(self, value: str
|
|
205
|
+
def pipeline(self, value: Optional[Union[str, uuid.UUID, Pipeline , None]]):
|
|
205
206
|
"""
|
|
206
207
|
set pipeline - accept key/uuid or a Pipeline
|
|
207
208
|
"""
|
|
@@ -254,7 +255,7 @@ class ExecutionLog(Dto):
|
|
|
254
255
|
return self._twin_id
|
|
255
256
|
|
|
256
257
|
@twin.setter
|
|
257
|
-
def twin(self, value: str
|
|
258
|
+
def twin(self, value: Optional[Union[str, uuid.UUID, Twin , None]]):
|
|
258
259
|
"""
|
|
259
260
|
set twin - accept key/uuid or a Twin
|
|
260
261
|
"""
|
|
@@ -307,7 +308,7 @@ class ExecutionLog(Dto):
|
|
|
307
308
|
return self._template_id
|
|
308
309
|
|
|
309
310
|
@template.setter
|
|
310
|
-
def template(self, value: str
|
|
311
|
+
def template(self, value: Optional[Union[str, uuid.UUID, Template , None]]):
|
|
311
312
|
"""
|
|
312
313
|
set template - accept key/uuid or a Template
|
|
313
314
|
"""
|
|
@@ -358,7 +359,7 @@ class ExecutionLog(Dto):
|
|
|
358
359
|
return self._registration_id
|
|
359
360
|
|
|
360
361
|
@registration.setter
|
|
361
|
-
def registration(self, value: uuid.UUID
|
|
362
|
+
def registration(self, value: Optional[Union[str, uuid.UUID, TwinRegistration , None]]):
|
|
362
363
|
"""
|
|
363
364
|
set template - accept uuid or a TwinRegistration
|
|
364
365
|
"""
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "1.4.0.dev9"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "1.4.0.dev6"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{wizata_dsapi-1.4.0.dev6 → wizata_dsapi-1.4.0.dev9}/wizata_dsapi.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|