wizata-dsapi 1.2.13__tar.gz → 1.2.14__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.2.13 → wizata_dsapi-1.2.14}/PKG-INFO +1 -1
- {wizata_dsapi-1.2.13 → wizata_dsapi-1.2.14}/wizata_dsapi/request.py +25 -1
- wizata_dsapi-1.2.14/wizata_dsapi/version.py +1 -0
- {wizata_dsapi-1.2.13 → wizata_dsapi-1.2.14}/wizata_dsapi.egg-info/PKG-INFO +1 -1
- wizata_dsapi-1.2.13/wizata_dsapi/version.py +0 -1
- {wizata_dsapi-1.2.13 → wizata_dsapi-1.2.14}/LICENSE.txt +0 -0
- {wizata_dsapi-1.2.13 → wizata_dsapi-1.2.14}/README.rst +0 -0
- {wizata_dsapi-1.2.13 → wizata_dsapi-1.2.14}/setup.cfg +0 -0
- {wizata_dsapi-1.2.13 → wizata_dsapi-1.2.14}/setup.py +0 -0
- {wizata_dsapi-1.2.13 → wizata_dsapi-1.2.14}/wizata_dsapi/__init__.py +0 -0
- {wizata_dsapi-1.2.13 → wizata_dsapi-1.2.14}/wizata_dsapi/api_config.py +0 -0
- {wizata_dsapi-1.2.13 → wizata_dsapi-1.2.14}/wizata_dsapi/api_dto.py +0 -0
- {wizata_dsapi-1.2.13 → wizata_dsapi-1.2.14}/wizata_dsapi/api_interface.py +0 -0
- {wizata_dsapi-1.2.13 → wizata_dsapi-1.2.14}/wizata_dsapi/bucket.py +0 -0
- {wizata_dsapi-1.2.13 → wizata_dsapi-1.2.14}/wizata_dsapi/business_label.py +0 -0
- {wizata_dsapi-1.2.13 → wizata_dsapi-1.2.14}/wizata_dsapi/context.py +0 -0
- {wizata_dsapi-1.2.13 → wizata_dsapi-1.2.14}/wizata_dsapi/dataframe_toolkit.py +0 -0
- {wizata_dsapi-1.2.13 → wizata_dsapi-1.2.14}/wizata_dsapi/datapoint.py +0 -0
- {wizata_dsapi-1.2.13 → wizata_dsapi-1.2.14}/wizata_dsapi/datastore.py +0 -0
- {wizata_dsapi-1.2.13 → wizata_dsapi-1.2.14}/wizata_dsapi/ds_dataframe.py +0 -0
- {wizata_dsapi-1.2.13 → wizata_dsapi-1.2.14}/wizata_dsapi/dsapi_json_encoder.py +0 -0
- {wizata_dsapi-1.2.13 → wizata_dsapi-1.2.14}/wizata_dsapi/evaluation.py +0 -0
- {wizata_dsapi-1.2.13 → wizata_dsapi-1.2.14}/wizata_dsapi/execution.py +0 -0
- {wizata_dsapi-1.2.13 → wizata_dsapi-1.2.14}/wizata_dsapi/experiment.py +0 -0
- {wizata_dsapi-1.2.13 → wizata_dsapi-1.2.14}/wizata_dsapi/group_system.py +0 -0
- {wizata_dsapi-1.2.13 → wizata_dsapi-1.2.14}/wizata_dsapi/ilogger.py +0 -0
- {wizata_dsapi-1.2.13 → wizata_dsapi-1.2.14}/wizata_dsapi/insight.py +0 -0
- {wizata_dsapi-1.2.13 → wizata_dsapi-1.2.14}/wizata_dsapi/mlmodel.py +0 -0
- {wizata_dsapi-1.2.13 → wizata_dsapi-1.2.14}/wizata_dsapi/model_toolkit.py +0 -0
- {wizata_dsapi-1.2.13 → wizata_dsapi-1.2.14}/wizata_dsapi/models/__init__.py +0 -0
- {wizata_dsapi-1.2.13 → wizata_dsapi-1.2.14}/wizata_dsapi/models/common.py +0 -0
- {wizata_dsapi-1.2.13 → wizata_dsapi-1.2.14}/wizata_dsapi/paged_query_result.py +0 -0
- {wizata_dsapi-1.2.13 → wizata_dsapi-1.2.14}/wizata_dsapi/pipeline.py +0 -0
- {wizata_dsapi-1.2.13 → wizata_dsapi-1.2.14}/wizata_dsapi/pipeline_image.py +0 -0
- {wizata_dsapi-1.2.13 → wizata_dsapi-1.2.14}/wizata_dsapi/plot.py +0 -0
- {wizata_dsapi-1.2.13 → wizata_dsapi-1.2.14}/wizata_dsapi/plots/__init__.py +0 -0
- {wizata_dsapi-1.2.13 → wizata_dsapi-1.2.14}/wizata_dsapi/plots/common.py +0 -0
- {wizata_dsapi-1.2.13 → wizata_dsapi-1.2.14}/wizata_dsapi/script.py +0 -0
- {wizata_dsapi-1.2.13 → wizata_dsapi-1.2.14}/wizata_dsapi/scripts/__init__.py +0 -0
- {wizata_dsapi-1.2.13 → wizata_dsapi-1.2.14}/wizata_dsapi/scripts/common.py +0 -0
- {wizata_dsapi-1.2.13 → wizata_dsapi-1.2.14}/wizata_dsapi/solution_component.py +0 -0
- {wizata_dsapi-1.2.13 → wizata_dsapi-1.2.14}/wizata_dsapi/streamlit_utils.py +0 -0
- {wizata_dsapi-1.2.13 → wizata_dsapi-1.2.14}/wizata_dsapi/template.py +0 -0
- {wizata_dsapi-1.2.13 → wizata_dsapi-1.2.14}/wizata_dsapi/trigger.py +0 -0
- {wizata_dsapi-1.2.13 → wizata_dsapi-1.2.14}/wizata_dsapi/twin.py +0 -0
- {wizata_dsapi-1.2.13 → wizata_dsapi-1.2.14}/wizata_dsapi/twinregistration.py +0 -0
- {wizata_dsapi-1.2.13 → wizata_dsapi-1.2.14}/wizata_dsapi/wizard_function.py +0 -0
- {wizata_dsapi-1.2.13 → wizata_dsapi-1.2.14}/wizata_dsapi/wizard_request.py +0 -0
- {wizata_dsapi-1.2.13 → wizata_dsapi-1.2.14}/wizata_dsapi/wizata_dsapi_client.py +0 -0
- {wizata_dsapi-1.2.13 → wizata_dsapi-1.2.14}/wizata_dsapi/words.py +0 -0
- {wizata_dsapi-1.2.13 → wizata_dsapi-1.2.14}/wizata_dsapi.egg-info/SOURCES.txt +0 -0
- {wizata_dsapi-1.2.13 → wizata_dsapi-1.2.14}/wizata_dsapi.egg-info/dependency_links.txt +0 -0
- {wizata_dsapi-1.2.13 → wizata_dsapi-1.2.14}/wizata_dsapi.egg-info/requires.txt +0 -0
- {wizata_dsapi-1.2.13 → wizata_dsapi-1.2.14}/wizata_dsapi.egg-info/top_level.txt +0 -0
|
@@ -23,8 +23,16 @@ class DynamicSelector:
|
|
|
23
23
|
:ivar category: filter datapoints on uuid of a category or str name.
|
|
24
24
|
"""
|
|
25
25
|
|
|
26
|
-
def __init__(self,
|
|
26
|
+
def __init__(self,
|
|
27
|
+
category = None,
|
|
28
|
+
unit = None,
|
|
29
|
+
agg_method = None,
|
|
30
|
+
rename = None):
|
|
27
31
|
self.category = category
|
|
32
|
+
self.unit = unit
|
|
33
|
+
self.agg_method = agg_method
|
|
34
|
+
self.rename = rename
|
|
35
|
+
self.datapoints = []
|
|
28
36
|
|
|
29
37
|
@classmethod
|
|
30
38
|
def from_dict(cls, obj):
|
|
@@ -37,11 +45,27 @@ class DynamicSelector:
|
|
|
37
45
|
raise TypeError('dynamic selector to parse is not a dict.')
|
|
38
46
|
if "category" in obj:
|
|
39
47
|
self.category = obj["category"]
|
|
48
|
+
if "unit" in obj:
|
|
49
|
+
self.unit = obj["unit"]
|
|
50
|
+
if "datapoints" in obj:
|
|
51
|
+
self.datapoints = obj["datapoints"]
|
|
52
|
+
if "rename" in obj:
|
|
53
|
+
self.rename = obj["rename"]
|
|
54
|
+
if "agg_method" in obj:
|
|
55
|
+
self.agg_method = obj["agg_method"]
|
|
40
56
|
|
|
41
57
|
def to_json(self) -> dict:
|
|
42
58
|
obj = {}
|
|
43
59
|
if self.category:
|
|
44
60
|
obj["category"] = self.category
|
|
61
|
+
if self.unit:
|
|
62
|
+
obj["unit"] = self.unit
|
|
63
|
+
if self.datapoints:
|
|
64
|
+
obj["datapoints"] = self.datapoints
|
|
65
|
+
if self.agg_method:
|
|
66
|
+
obj["agg_method"] = self.agg_method
|
|
67
|
+
if self.rename:
|
|
68
|
+
obj["rename"] = self.rename
|
|
45
69
|
return obj
|
|
46
70
|
|
|
47
71
|
class RequestGroup:
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "1.2.14"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "1.2.13"
|
|
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
|