wizata-dsapi 2.0.0.dev19__tar.gz → 2.0.0.dev21__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-2.0.0.dev19/wizata_dsapi.egg-info → wizata_dsapi-2.0.0.dev21}/PKG-INFO +1 -1
- {wizata_dsapi-2.0.0.dev19 → wizata_dsapi-2.0.0.dev21}/wizata_dsapi/__init__.py +1 -1
- {wizata_dsapi-2.0.0.dev19 → wizata_dsapi-2.0.0.dev21}/wizata_dsapi/pipeline.py +13 -1
- {wizata_dsapi-2.0.0.dev19 → wizata_dsapi-2.0.0.dev21}/wizata_dsapi/script.py +18 -1
- wizata_dsapi-2.0.0.dev21/wizata_dsapi/version.py +1 -0
- {wizata_dsapi-2.0.0.dev19 → wizata_dsapi-2.0.0.dev21/wizata_dsapi.egg-info}/PKG-INFO +1 -1
- wizata_dsapi-2.0.0.dev19/wizata_dsapi/version.py +0 -1
- {wizata_dsapi-2.0.0.dev19 → wizata_dsapi-2.0.0.dev21}/LICENSE.txt +0 -0
- {wizata_dsapi-2.0.0.dev19 → wizata_dsapi-2.0.0.dev21}/README.rst +0 -0
- {wizata_dsapi-2.0.0.dev19 → wizata_dsapi-2.0.0.dev21}/setup.cfg +0 -0
- {wizata_dsapi-2.0.0.dev19 → wizata_dsapi-2.0.0.dev21}/setup.py +0 -0
- {wizata_dsapi-2.0.0.dev19 → wizata_dsapi-2.0.0.dev21}/wizata_dsapi/api_config.py +0 -0
- {wizata_dsapi-2.0.0.dev19 → wizata_dsapi-2.0.0.dev21}/wizata_dsapi/api_dto.py +0 -0
- {wizata_dsapi-2.0.0.dev19 → wizata_dsapi-2.0.0.dev21}/wizata_dsapi/api_interface.py +0 -0
- {wizata_dsapi-2.0.0.dev19 → wizata_dsapi-2.0.0.dev21}/wizata_dsapi/bucket.py +0 -0
- {wizata_dsapi-2.0.0.dev19 → wizata_dsapi-2.0.0.dev21}/wizata_dsapi/business_label.py +0 -0
- {wizata_dsapi-2.0.0.dev19 → wizata_dsapi-2.0.0.dev21}/wizata_dsapi/context.py +0 -0
- {wizata_dsapi-2.0.0.dev19 → wizata_dsapi-2.0.0.dev21}/wizata_dsapi/dashboard.py +0 -0
- {wizata_dsapi-2.0.0.dev19 → wizata_dsapi-2.0.0.dev21}/wizata_dsapi/dataframe_toolkit.py +0 -0
- {wizata_dsapi-2.0.0.dev19 → wizata_dsapi-2.0.0.dev21}/wizata_dsapi/datapoint.py +0 -0
- {wizata_dsapi-2.0.0.dev19 → wizata_dsapi-2.0.0.dev21}/wizata_dsapi/datastore.py +0 -0
- {wizata_dsapi-2.0.0.dev19 → wizata_dsapi-2.0.0.dev21}/wizata_dsapi/ds_dataframe.py +0 -0
- {wizata_dsapi-2.0.0.dev19 → wizata_dsapi-2.0.0.dev21}/wizata_dsapi/dsapi_json_encoder.py +0 -0
- {wizata_dsapi-2.0.0.dev19 → wizata_dsapi-2.0.0.dev21}/wizata_dsapi/edge_config.py +0 -0
- {wizata_dsapi-2.0.0.dev19 → wizata_dsapi-2.0.0.dev21}/wizata_dsapi/edge_device.py +0 -0
- {wizata_dsapi-2.0.0.dev19 → wizata_dsapi-2.0.0.dev21}/wizata_dsapi/edge_module.py +0 -0
- {wizata_dsapi-2.0.0.dev19 → wizata_dsapi-2.0.0.dev21}/wizata_dsapi/evaluation.py +0 -0
- {wizata_dsapi-2.0.0.dev19 → wizata_dsapi-2.0.0.dev21}/wizata_dsapi/execution.py +0 -0
- {wizata_dsapi-2.0.0.dev19 → wizata_dsapi-2.0.0.dev21}/wizata_dsapi/execution_log.py +0 -0
- {wizata_dsapi-2.0.0.dev19 → wizata_dsapi-2.0.0.dev21}/wizata_dsapi/experiment.py +0 -0
- {wizata_dsapi-2.0.0.dev19 → wizata_dsapi-2.0.0.dev21}/wizata_dsapi/graylog_log.py +0 -0
- {wizata_dsapi-2.0.0.dev19 → wizata_dsapi-2.0.0.dev21}/wizata_dsapi/group_system.py +0 -0
- {wizata_dsapi-2.0.0.dev19 → wizata_dsapi-2.0.0.dev21}/wizata_dsapi/ilogger.py +0 -0
- {wizata_dsapi-2.0.0.dev19 → wizata_dsapi-2.0.0.dev21}/wizata_dsapi/insight.py +0 -0
- {wizata_dsapi-2.0.0.dev19 → wizata_dsapi-2.0.0.dev21}/wizata_dsapi/mlmodel.py +0 -0
- {wizata_dsapi-2.0.0.dev19 → wizata_dsapi-2.0.0.dev21}/wizata_dsapi/mobile_asset.py +0 -0
- {wizata_dsapi-2.0.0.dev19 → wizata_dsapi-2.0.0.dev21}/wizata_dsapi/model_toolkit.py +0 -0
- {wizata_dsapi-2.0.0.dev19 → wizata_dsapi-2.0.0.dev21}/wizata_dsapi/models/__init__.py +0 -0
- {wizata_dsapi-2.0.0.dev19 → wizata_dsapi-2.0.0.dev21}/wizata_dsapi/models/common.py +0 -0
- {wizata_dsapi-2.0.0.dev19 → wizata_dsapi-2.0.0.dev21}/wizata_dsapi/notification.py +0 -0
- {wizata_dsapi-2.0.0.dev19 → wizata_dsapi-2.0.0.dev21}/wizata_dsapi/paged_query_result.py +0 -0
- {wizata_dsapi-2.0.0.dev19 → wizata_dsapi-2.0.0.dev21}/wizata_dsapi/pipeline_image.py +0 -0
- {wizata_dsapi-2.0.0.dev19 → wizata_dsapi-2.0.0.dev21}/wizata_dsapi/plot.py +0 -0
- {wizata_dsapi-2.0.0.dev19 → wizata_dsapi-2.0.0.dev21}/wizata_dsapi/plots/__init__.py +0 -0
- {wizata_dsapi-2.0.0.dev19 → wizata_dsapi-2.0.0.dev21}/wizata_dsapi/plots/common.py +0 -0
- {wizata_dsapi-2.0.0.dev19 → wizata_dsapi-2.0.0.dev21}/wizata_dsapi/request.py +0 -0
- {wizata_dsapi-2.0.0.dev19 → wizata_dsapi-2.0.0.dev21}/wizata_dsapi/scripts/__init__.py +0 -0
- {wizata_dsapi-2.0.0.dev19 → wizata_dsapi-2.0.0.dev21}/wizata_dsapi/scripts/common.py +0 -0
- {wizata_dsapi-2.0.0.dev19 → wizata_dsapi-2.0.0.dev21}/wizata_dsapi/search.py +0 -0
- {wizata_dsapi-2.0.0.dev19 → wizata_dsapi-2.0.0.dev21}/wizata_dsapi/solution_component.py +0 -0
- {wizata_dsapi-2.0.0.dev19 → wizata_dsapi-2.0.0.dev21}/wizata_dsapi/streamlit_utils.py +0 -0
- {wizata_dsapi-2.0.0.dev19 → wizata_dsapi-2.0.0.dev21}/wizata_dsapi/template.py +0 -0
- {wizata_dsapi-2.0.0.dev19 → wizata_dsapi-2.0.0.dev21}/wizata_dsapi/template_config.py +0 -0
- {wizata_dsapi-2.0.0.dev19 → wizata_dsapi-2.0.0.dev21}/wizata_dsapi/trigger.py +0 -0
- {wizata_dsapi-2.0.0.dev19 → wizata_dsapi-2.0.0.dev21}/wizata_dsapi/twin.py +0 -0
- {wizata_dsapi-2.0.0.dev19 → wizata_dsapi-2.0.0.dev21}/wizata_dsapi/twinregistration.py +0 -0
- {wizata_dsapi-2.0.0.dev19 → wizata_dsapi-2.0.0.dev21}/wizata_dsapi/user.py +0 -0
- {wizata_dsapi-2.0.0.dev19 → wizata_dsapi-2.0.0.dev21}/wizata_dsapi/wizard_function.py +0 -0
- {wizata_dsapi-2.0.0.dev19 → wizata_dsapi-2.0.0.dev21}/wizata_dsapi/wizard_request.py +0 -0
- {wizata_dsapi-2.0.0.dev19 → wizata_dsapi-2.0.0.dev21}/wizata_dsapi/wizata_dsapi_client.py +0 -0
- {wizata_dsapi-2.0.0.dev19 → wizata_dsapi-2.0.0.dev21}/wizata_dsapi/words.py +0 -0
- {wizata_dsapi-2.0.0.dev19 → wizata_dsapi-2.0.0.dev21}/wizata_dsapi.egg-info/SOURCES.txt +0 -0
- {wizata_dsapi-2.0.0.dev19 → wizata_dsapi-2.0.0.dev21}/wizata_dsapi.egg-info/dependency_links.txt +0 -0
- {wizata_dsapi-2.0.0.dev19 → wizata_dsapi-2.0.0.dev21}/wizata_dsapi.egg-info/requires.txt +0 -0
- {wizata_dsapi-2.0.0.dev19 → wizata_dsapi-2.0.0.dev21}/wizata_dsapi.egg-info/top_level.txt +0 -0
|
@@ -9,7 +9,7 @@ from .execution import Execution, ExecutionStatus, ExecutionStepLog, AbortedExce
|
|
|
9
9
|
from .execution_log import ExecutionLog
|
|
10
10
|
from .experiment import Experiment
|
|
11
11
|
from .ds_dataframe import DSDataFrame
|
|
12
|
-
from .script import Script, ScriptConfig, ScriptType, ScriptLibrary, sanitize_blob_name, discover_from_wheel
|
|
12
|
+
from .script import Script, ScriptConfig, ScriptType, ScriptCategory, ScriptLibrary, sanitize_blob_name, discover_from_wheel
|
|
13
13
|
from .template import Template, TemplateProperty
|
|
14
14
|
from .solution_component import SolutionComponent, SolutionType
|
|
15
15
|
from .business_label import BusinessLabel
|
|
@@ -351,7 +351,9 @@ class PipelineStep(ApiDto):
|
|
|
351
351
|
step_type: StepType = None,
|
|
352
352
|
config=None,
|
|
353
353
|
inputs=None,
|
|
354
|
-
outputs=None
|
|
354
|
+
outputs=None,
|
|
355
|
+
name: str = None,
|
|
356
|
+
description: str = None):
|
|
355
357
|
|
|
356
358
|
if outputs is None:
|
|
357
359
|
outputs = []
|
|
@@ -361,6 +363,8 @@ class PipelineStep(ApiDto):
|
|
|
361
363
|
step_id = uuid.uuid4()
|
|
362
364
|
self.step_id = step_id
|
|
363
365
|
self.step_type = step_type
|
|
366
|
+
self.name = name
|
|
367
|
+
self.description = description
|
|
364
368
|
self.config = config
|
|
365
369
|
self.inputs = inputs
|
|
366
370
|
self.outputs = outputs
|
|
@@ -368,6 +372,10 @@ class PipelineStep(ApiDto):
|
|
|
368
372
|
def from_json(self, obj):
|
|
369
373
|
if "id" in obj.keys():
|
|
370
374
|
self.step_id = uuid.UUID(obj["id"])
|
|
375
|
+
if "name" in obj:
|
|
376
|
+
self.name = obj["name"]
|
|
377
|
+
if "description" in obj:
|
|
378
|
+
self.description = obj["description"]
|
|
371
379
|
|
|
372
380
|
if "type" in obj.keys():
|
|
373
381
|
self.step_type = StepType(obj["type"])
|
|
@@ -408,6 +416,10 @@ class PipelineStep(ApiDto):
|
|
|
408
416
|
}
|
|
409
417
|
if self.step_type is not None:
|
|
410
418
|
obj["type"] = str(self.step_type.value)
|
|
419
|
+
if self.name is not None:
|
|
420
|
+
obj["name"] = self.name
|
|
421
|
+
if self.description is not None:
|
|
422
|
+
obj["description"] = self.description
|
|
411
423
|
if self.config is not None:
|
|
412
424
|
if self.step_type == StepType.SCRIPT:
|
|
413
425
|
obj["config"] = self.config.to_json()
|
|
@@ -25,6 +25,18 @@ class ScriptType(Enum):
|
|
|
25
25
|
RAW = 'raw'
|
|
26
26
|
|
|
27
27
|
|
|
28
|
+
class ScriptCategory(Enum):
|
|
29
|
+
"""
|
|
30
|
+
Defines the category of a script, determining which pipeline step type it creates.
|
|
31
|
+
- "function" data transformation scripts (creates a SCRIPT step)
|
|
32
|
+
- "model" ML model training scripts (creates a MODEL step)
|
|
33
|
+
- "plot" visualization scripts (creates a PLOT step)
|
|
34
|
+
"""
|
|
35
|
+
FUNCTION = 'function'
|
|
36
|
+
MODEL = 'model'
|
|
37
|
+
PLOT = 'plot'
|
|
38
|
+
|
|
39
|
+
|
|
28
40
|
def sanitize_blob_name(name: str) -> str:
|
|
29
41
|
"""
|
|
30
42
|
Sanitize a script name for use as a blob path segment.
|
|
@@ -175,7 +187,7 @@ class Script(ApiDto):
|
|
|
175
187
|
return "json"
|
|
176
188
|
|
|
177
189
|
def __init__(self, script_id=None, description=None, function=None,
|
|
178
|
-
script_type=None, version=None, library=None):
|
|
190
|
+
script_type=None, version=None, library=None, category=None):
|
|
179
191
|
|
|
180
192
|
# Id
|
|
181
193
|
if script_id is None:
|
|
@@ -189,6 +201,7 @@ class Script(ApiDto):
|
|
|
189
201
|
self.version = version
|
|
190
202
|
self.library = library
|
|
191
203
|
self.module = None
|
|
204
|
+
self.category = category
|
|
192
205
|
|
|
193
206
|
# Source code property (not serialized)
|
|
194
207
|
self.source = None
|
|
@@ -256,6 +269,8 @@ class Script(ApiDto):
|
|
|
256
269
|
obj["module"] = self.module
|
|
257
270
|
if self.source is not None:
|
|
258
271
|
obj["source"] = self.source
|
|
272
|
+
if self.category is not None:
|
|
273
|
+
obj["category"] = self.category.value
|
|
259
274
|
return obj
|
|
260
275
|
|
|
261
276
|
def to_json(self, target: str = None):
|
|
@@ -287,6 +302,8 @@ class Script(ApiDto):
|
|
|
287
302
|
self.module = obj["module"]
|
|
288
303
|
if "source" in obj and obj["source"] is not None:
|
|
289
304
|
self.source = obj["source"]
|
|
305
|
+
if "category" in obj and obj["category"] is not None:
|
|
306
|
+
self.category = ScriptCategory(obj["category"])
|
|
290
307
|
|
|
291
308
|
def copy(self, myfunction):
|
|
292
309
|
"""
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "2.0.0.dev21"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "2.0.0.dev19"
|
|
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
|
|
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-2.0.0.dev19 → wizata_dsapi-2.0.0.dev21}/wizata_dsapi.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|