wizata-dsapi 1.2.4__tar.gz → 1.2.6__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.4 → wizata_dsapi-1.2.6}/PKG-INFO +1 -1
- {wizata_dsapi-1.2.4 → wizata_dsapi-1.2.6}/wizata_dsapi/request.py +21 -20
- wizata_dsapi-1.2.6/wizata_dsapi/version.py +1 -0
- {wizata_dsapi-1.2.4 → wizata_dsapi-1.2.6}/wizata_dsapi.egg-info/PKG-INFO +1 -1
- wizata_dsapi-1.2.4/wizata_dsapi/version.py +0 -1
- {wizata_dsapi-1.2.4 → wizata_dsapi-1.2.6}/LICENSE.txt +0 -0
- {wizata_dsapi-1.2.4 → wizata_dsapi-1.2.6}/README.rst +0 -0
- {wizata_dsapi-1.2.4 → wizata_dsapi-1.2.6}/setup.cfg +0 -0
- {wizata_dsapi-1.2.4 → wizata_dsapi-1.2.6}/setup.py +0 -0
- {wizata_dsapi-1.2.4 → wizata_dsapi-1.2.6}/wizata_dsapi/__init__.py +0 -0
- {wizata_dsapi-1.2.4 → wizata_dsapi-1.2.6}/wizata_dsapi/api_config.py +0 -0
- {wizata_dsapi-1.2.4 → wizata_dsapi-1.2.6}/wizata_dsapi/api_dto.py +0 -0
- {wizata_dsapi-1.2.4 → wizata_dsapi-1.2.6}/wizata_dsapi/api_interface.py +0 -0
- {wizata_dsapi-1.2.4 → wizata_dsapi-1.2.6}/wizata_dsapi/bucket.py +0 -0
- {wizata_dsapi-1.2.4 → wizata_dsapi-1.2.6}/wizata_dsapi/business_label.py +0 -0
- {wizata_dsapi-1.2.4 → wizata_dsapi-1.2.6}/wizata_dsapi/context.py +0 -0
- {wizata_dsapi-1.2.4 → wizata_dsapi-1.2.6}/wizata_dsapi/dataframe_toolkit.py +0 -0
- {wizata_dsapi-1.2.4 → wizata_dsapi-1.2.6}/wizata_dsapi/datapoint.py +0 -0
- {wizata_dsapi-1.2.4 → wizata_dsapi-1.2.6}/wizata_dsapi/datastore.py +0 -0
- {wizata_dsapi-1.2.4 → wizata_dsapi-1.2.6}/wizata_dsapi/ds_dataframe.py +0 -0
- {wizata_dsapi-1.2.4 → wizata_dsapi-1.2.6}/wizata_dsapi/dsapi_json_encoder.py +0 -0
- {wizata_dsapi-1.2.4 → wizata_dsapi-1.2.6}/wizata_dsapi/evaluation.py +0 -0
- {wizata_dsapi-1.2.4 → wizata_dsapi-1.2.6}/wizata_dsapi/execution.py +0 -0
- {wizata_dsapi-1.2.4 → wizata_dsapi-1.2.6}/wizata_dsapi/experiment.py +0 -0
- {wizata_dsapi-1.2.4 → wizata_dsapi-1.2.6}/wizata_dsapi/group_system.py +0 -0
- {wizata_dsapi-1.2.4 → wizata_dsapi-1.2.6}/wizata_dsapi/ilogger.py +0 -0
- {wizata_dsapi-1.2.4 → wizata_dsapi-1.2.6}/wizata_dsapi/insight.py +0 -0
- {wizata_dsapi-1.2.4 → wizata_dsapi-1.2.6}/wizata_dsapi/mlmodel.py +0 -0
- {wizata_dsapi-1.2.4 → wizata_dsapi-1.2.6}/wizata_dsapi/model_toolkit.py +0 -0
- {wizata_dsapi-1.2.4 → wizata_dsapi-1.2.6}/wizata_dsapi/models/__init__.py +0 -0
- {wizata_dsapi-1.2.4 → wizata_dsapi-1.2.6}/wizata_dsapi/models/common.py +0 -0
- {wizata_dsapi-1.2.4 → wizata_dsapi-1.2.6}/wizata_dsapi/paged_query_result.py +0 -0
- {wizata_dsapi-1.2.4 → wizata_dsapi-1.2.6}/wizata_dsapi/pipeline.py +0 -0
- {wizata_dsapi-1.2.4 → wizata_dsapi-1.2.6}/wizata_dsapi/pipeline_image.py +0 -0
- {wizata_dsapi-1.2.4 → wizata_dsapi-1.2.6}/wizata_dsapi/plot.py +0 -0
- {wizata_dsapi-1.2.4 → wizata_dsapi-1.2.6}/wizata_dsapi/plots/__init__.py +0 -0
- {wizata_dsapi-1.2.4 → wizata_dsapi-1.2.6}/wizata_dsapi/plots/common.py +0 -0
- {wizata_dsapi-1.2.4 → wizata_dsapi-1.2.6}/wizata_dsapi/script.py +0 -0
- {wizata_dsapi-1.2.4 → wizata_dsapi-1.2.6}/wizata_dsapi/scripts/__init__.py +0 -0
- {wizata_dsapi-1.2.4 → wizata_dsapi-1.2.6}/wizata_dsapi/scripts/common.py +0 -0
- {wizata_dsapi-1.2.4 → wizata_dsapi-1.2.6}/wizata_dsapi/solution_component.py +0 -0
- {wizata_dsapi-1.2.4 → wizata_dsapi-1.2.6}/wizata_dsapi/streamlit_utils.py +0 -0
- {wizata_dsapi-1.2.4 → wizata_dsapi-1.2.6}/wizata_dsapi/template.py +0 -0
- {wizata_dsapi-1.2.4 → wizata_dsapi-1.2.6}/wizata_dsapi/trigger.py +0 -0
- {wizata_dsapi-1.2.4 → wizata_dsapi-1.2.6}/wizata_dsapi/twin.py +0 -0
- {wizata_dsapi-1.2.4 → wizata_dsapi-1.2.6}/wizata_dsapi/twinregistration.py +0 -0
- {wizata_dsapi-1.2.4 → wizata_dsapi-1.2.6}/wizata_dsapi/wizard_function.py +0 -0
- {wizata_dsapi-1.2.4 → wizata_dsapi-1.2.6}/wizata_dsapi/wizard_request.py +0 -0
- {wizata_dsapi-1.2.4 → wizata_dsapi-1.2.6}/wizata_dsapi/wizata_dsapi_client.py +0 -0
- {wizata_dsapi-1.2.4 → wizata_dsapi-1.2.6}/wizata_dsapi/words.py +0 -0
- {wizata_dsapi-1.2.4 → wizata_dsapi-1.2.6}/wizata_dsapi.egg-info/SOURCES.txt +0 -0
- {wizata_dsapi-1.2.4 → wizata_dsapi-1.2.6}/wizata_dsapi.egg-info/dependency_links.txt +0 -0
- {wizata_dsapi-1.2.4 → wizata_dsapi-1.2.6}/wizata_dsapi.egg-info/requires.txt +0 -0
- {wizata_dsapi-1.2.4 → wizata_dsapi-1.2.6}/wizata_dsapi.egg-info/top_level.txt +0 -0
|
@@ -15,25 +15,6 @@ filter_map = {
|
|
|
15
15
|
'!=': 'neq'
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
class RequestGroupMap:
|
|
20
|
-
"""
|
|
21
|
-
Define a mapping between a set of datapoints and their corresponding event datapoint.
|
|
22
|
-
:ivar event_hardware_id str: hardware id of the datapoint identifying event inside a group.
|
|
23
|
-
:ivar event_datapoint: datapoint complete definition corresponding to event_hardware_id.
|
|
24
|
-
:ivar datapoints_hardware_ids list: list of all related datapoints.
|
|
25
|
-
:ivar datapoints dict: dict with key as hardware id and value datapoint for all mapped datapoints.
|
|
26
|
-
"""
|
|
27
|
-
|
|
28
|
-
def __init__(self,
|
|
29
|
-
event_hardware_id: str,
|
|
30
|
-
datapoints_hardware_ids: list):
|
|
31
|
-
self.event_hardware_id = event_hardware_id
|
|
32
|
-
self.datapoints_hardware_ids = datapoints_hardware_ids
|
|
33
|
-
self.event_datapoint = None
|
|
34
|
-
self.datapoints = {}
|
|
35
|
-
|
|
36
|
-
|
|
37
18
|
class RequestGroup:
|
|
38
19
|
"""
|
|
39
20
|
Define a group statement within a structured query.
|
|
@@ -63,7 +44,7 @@ class RequestGroup:
|
|
|
63
44
|
raise ValueError(f"please specify system_id in {my_dict}")
|
|
64
45
|
|
|
65
46
|
group = RequestGroup(
|
|
66
|
-
system_id=["system_id"]
|
|
47
|
+
system_id=my_dict["system_id"]
|
|
67
48
|
)
|
|
68
49
|
|
|
69
50
|
# set group_by
|
|
@@ -87,6 +68,26 @@ class RequestGroup:
|
|
|
87
68
|
return group
|
|
88
69
|
|
|
89
70
|
|
|
71
|
+
class RequestGroupMap:
|
|
72
|
+
"""
|
|
73
|
+
Define a mapping between a set of datapoints and their corresponding event datapoint.
|
|
74
|
+
:ivar event_hardware_id str: hardware id of the datapoint identifying event inside a group.
|
|
75
|
+
:ivar event_datapoint: datapoint complete definition corresponding to event_hardware_id.
|
|
76
|
+
:ivar datapoints_hardware_ids list: list of all related datapoints.
|
|
77
|
+
:ivar datapoints dict: dict with key as hardware id and value datapoint for all mapped datapoints.
|
|
78
|
+
"""
|
|
79
|
+
|
|
80
|
+
def __init__(self,
|
|
81
|
+
event_hardware_id: str,
|
|
82
|
+
datapoints_hardware_ids: list,
|
|
83
|
+
group: RequestGroup = None):
|
|
84
|
+
self.event_hardware_id = event_hardware_id
|
|
85
|
+
self.datapoints_hardware_ids = datapoints_hardware_ids
|
|
86
|
+
self.event_datapoint = None
|
|
87
|
+
self.datapoints = {}
|
|
88
|
+
self.group = group
|
|
89
|
+
|
|
90
|
+
|
|
90
91
|
class Request(ApiDto):
|
|
91
92
|
"""
|
|
92
93
|
request defines how to fetch data from time-series database.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "1.2.6"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "1.2.4"
|
|
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
|