wizata-dsapi 1.2.17__py3-none-any.whl → 1.2.19__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.
- wizata_dsapi/request.py +8 -1
- wizata_dsapi/version.py +1 -1
- {wizata_dsapi-1.2.17.dist-info → wizata_dsapi-1.2.19.dist-info}/METADATA +1 -1
- {wizata_dsapi-1.2.17.dist-info → wizata_dsapi-1.2.19.dist-info}/RECORD +7 -7
- {wizata_dsapi-1.2.17.dist-info → wizata_dsapi-1.2.19.dist-info}/LICENSE.txt +0 -0
- {wizata_dsapi-1.2.17.dist-info → wizata_dsapi-1.2.19.dist-info}/WHEEL +0 -0
- {wizata_dsapi-1.2.17.dist-info → wizata_dsapi-1.2.19.dist-info}/top_level.txt +0 -0
wizata_dsapi/request.py
CHANGED
|
@@ -5,6 +5,7 @@ from reactivex.operators import group_by
|
|
|
5
5
|
|
|
6
6
|
from .dataframe_toolkit import generate_epoch
|
|
7
7
|
from .api_dto import ApiDto
|
|
8
|
+
from .datapoint import BusinessType
|
|
8
9
|
|
|
9
10
|
filter_map = {
|
|
10
11
|
'>': 'gt',
|
|
@@ -28,12 +29,14 @@ class DynamicSelector:
|
|
|
28
29
|
unit = None,
|
|
29
30
|
twin_type = None,
|
|
30
31
|
agg_method = None,
|
|
31
|
-
rename = None
|
|
32
|
+
rename = None,
|
|
33
|
+
business_type: BusinessType = None):
|
|
32
34
|
self.category = category
|
|
33
35
|
self.unit = unit
|
|
34
36
|
self.twin_type = twin_type
|
|
35
37
|
self.agg_method = agg_method
|
|
36
38
|
self.rename = rename
|
|
39
|
+
self.business_type = business_type
|
|
37
40
|
self.datapoints = []
|
|
38
41
|
|
|
39
42
|
@classmethod
|
|
@@ -51,6 +54,8 @@ class DynamicSelector:
|
|
|
51
54
|
self.unit = obj["unit"]
|
|
52
55
|
if "twin_type" in obj:
|
|
53
56
|
self.twin_type = obj["twin_type"]
|
|
57
|
+
if "business_type" in obj:
|
|
58
|
+
self.business_type = BusinessType(obj["business_type"])
|
|
54
59
|
if "datapoints" in obj:
|
|
55
60
|
self.datapoints = obj["datapoints"]
|
|
56
61
|
if "rename" in obj:
|
|
@@ -66,6 +71,8 @@ class DynamicSelector:
|
|
|
66
71
|
obj["unit"] = self.unit
|
|
67
72
|
if self.twin_type:
|
|
68
73
|
obj["twin_type"] = self.twin_type
|
|
74
|
+
if self.business_type:
|
|
75
|
+
obj["business_type"] = self.business_type.value
|
|
69
76
|
if self.datapoints:
|
|
70
77
|
obj["datapoints"] = self.datapoints
|
|
71
78
|
if self.agg_method:
|
wizata_dsapi/version.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "1.2.
|
|
1
|
+
__version__ = "1.2.19"
|
|
@@ -23,7 +23,7 @@ wizata_dsapi/pipeline.py,sha256=WDJeOxPZJiYW1qwTNZUm3jom2epIxqrSoiUwcrTF9EE,3130
|
|
|
23
23
|
wizata_dsapi/pipeline_deployment.py,sha256=grekBaxUK0EhL9w7lDB8vNuW_wzLnHVm9Mq8Lkbkguk,1722
|
|
24
24
|
wizata_dsapi/pipeline_image.py,sha256=M3FOr45dJIAEvsmXPpMD8JZ09k5-YpW9PRYEWJqptcI,5272
|
|
25
25
|
wizata_dsapi/plot.py,sha256=SPGKFWWYNcRvHcqvvnPIIIBKsd5UwhdsxLW7b2dG2rs,2360
|
|
26
|
-
wizata_dsapi/request.py,sha256=
|
|
26
|
+
wizata_dsapi/request.py,sha256=g6iAjASGW1e-oM7rLbkMwBFoMNLWe5A4S3zM6xLwoCU,26558
|
|
27
27
|
wizata_dsapi/script.py,sha256=DeEciwVpuCYZetgJCoivw_bYe8ma52WuTaTQ_VkLEcg,12930
|
|
28
28
|
wizata_dsapi/solution_component.py,sha256=8gbZWx2h_xUqI_pAXa3goqAnR5Y-GDMii8MeGlaK1IE,9531
|
|
29
29
|
wizata_dsapi/streamlit_utils.py,sha256=sXBdygktbixV828Zg01Nl27_a4F8zGFc4RY0C8g-1bc,1942
|
|
@@ -31,7 +31,7 @@ wizata_dsapi/template.py,sha256=h2f3dLduJ4WhreVxJXuFIB3pinnI3c39WxBms0bCgos,1300
|
|
|
31
31
|
wizata_dsapi/trigger.py,sha256=w3BZYP-L3SUwvaT0oCTanh_Ewn57peZvlt7vxzHv9J8,5129
|
|
32
32
|
wizata_dsapi/twin.py,sha256=S0DUzQf1smZXZTdXpXZPtkZYCfKIhw53EecCnsl9i4Q,11017
|
|
33
33
|
wizata_dsapi/twinregistration.py,sha256=Mi6-YuwroiEXc0c1hgrOaphh4hNVoHupxOnXedVtJtE,13377
|
|
34
|
-
wizata_dsapi/version.py,sha256=
|
|
34
|
+
wizata_dsapi/version.py,sha256=vBqPpUxy9sFZkDmAAvQCrIqAA_ye7foz7jV5SkuJi0I,23
|
|
35
35
|
wizata_dsapi/wizard_function.py,sha256=RbM7W7Gf-6Rhp_1dU9DBYkHaciknGAGvuAndhAS_vyo,942
|
|
36
36
|
wizata_dsapi/wizard_request.py,sha256=v6BaqKLKvTWmUSo0_gda9FabAQz5x_-GOH1Av50GzFo,3762
|
|
37
37
|
wizata_dsapi/wizata_dsapi_client.py,sha256=6URQeMA5A9eXxC2cs8TUbKolmOo-Kj6kII9NmRRITPQ,78702
|
|
@@ -42,8 +42,8 @@ wizata_dsapi/plots/__init__.py,sha256=qgnSFqrjOPur-807M8uh5awIfjM1ZHXUXcAqHc-r2l
|
|
|
42
42
|
wizata_dsapi/plots/common.py,sha256=jdPsJqLHBwSKc6dX83BSGPqSRxzIVNHSYO5yI_8sjGk,6568
|
|
43
43
|
wizata_dsapi/scripts/__init__.py,sha256=hAxiETSQf0qOHde1si1tEAJU48seqEgHrchCzS2-LvQ,80
|
|
44
44
|
wizata_dsapi/scripts/common.py,sha256=efwq-Rd0lvYljIs3gSFz9izogBD7asOU2cTK-IvHTkM,4244
|
|
45
|
-
wizata_dsapi-1.2.
|
|
46
|
-
wizata_dsapi-1.2.
|
|
47
|
-
wizata_dsapi-1.2.
|
|
48
|
-
wizata_dsapi-1.2.
|
|
49
|
-
wizata_dsapi-1.2.
|
|
45
|
+
wizata_dsapi-1.2.19.dist-info/LICENSE.txt,sha256=QwcOLU5TJoTeUhuIXzhdCEEDDvorGiC6-3YTOl4TecE,11356
|
|
46
|
+
wizata_dsapi-1.2.19.dist-info/METADATA,sha256=7sKZQuOlsAtq5lgTpnOnu-HN32AGIjUo4azxIny89eM,2188
|
|
47
|
+
wizata_dsapi-1.2.19.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
|
48
|
+
wizata_dsapi-1.2.19.dist-info/top_level.txt,sha256=-OeTJbEnh5DuWyTOHtvw0Dw3LRg3G27TNS6W4ZtfwPs,13
|
|
49
|
+
wizata_dsapi-1.2.19.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|