domainiac 0.1.2__py3-none-any.whl → 0.1.3__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.
@@ -19,24 +19,16 @@ class MasterdataManager:
|
|
19
19
|
self.resolution = resolution
|
20
20
|
|
21
21
|
@typechecked
|
22
|
-
def get_operational_entities(
|
23
|
-
self,
|
24
|
-
table: str,
|
25
|
-
filters: dict = {},
|
26
|
-
) -> pd.DataFrame:
|
22
|
+
def get_operational_entities(self, table: str, filters: dict = {}) -> pd.DataFrame:
|
27
23
|
"""Gets the operational data for a given table."""
|
28
24
|
|
29
25
|
filters["standing_entity_state"] = "InOperation"
|
30
26
|
df = self.db.query(table, filters=filters)
|
31
|
-
|
32
27
|
return df
|
33
28
|
|
34
29
|
@typechecked
|
35
30
|
def get_data(
|
36
|
-
self,
|
37
|
-
table: str,
|
38
|
-
filters: dict = {},
|
39
|
-
columns: list = [],
|
31
|
+
self, table: str, filters: dict = {}, columns: list = []
|
40
32
|
) -> pd.DataFrame:
|
41
33
|
"""Gets the data for a given table.
|
42
34
|
Filters for rows valid at the end of time interval.
|
@@ -1,10 +1,10 @@
|
|
1
1
|
domainiac/__init__.py,sha256=7-KoUot9OZgzMoOLhuHInlvyt9EfL5QjuZagTbAJksU,82
|
2
2
|
domainiac/managers/__init__.py,sha256=QzkZNv8_3G0TPcfQia45RWBnASYR6WIuY6jlFBeley0,220
|
3
|
-
domainiac/managers/masterdata_manager.py,sha256=
|
3
|
+
domainiac/managers/masterdata_manager.py,sha256=5YI5K6fE8EFL5TE6OCn1FKIConlIrhKy3aj9yyKze90,1406
|
4
4
|
domainiac/managers/metering_manager.py,sha256=NXGHuNjWiAUE08fGIPAfvwbzlKESbKaO5uyxLNyZKC0,995
|
5
|
-
domainiac/managers/plant_manager.py,sha256=
|
5
|
+
domainiac/managers/plant_manager.py,sha256=nDbc0_XFUITylbSCjfhjeVZtffjjSgFJb8BXGr4TJgo,1855
|
6
6
|
domainiac/managers/resource_manager.py,sha256=LJvAI6y1RcUgNrMS5iGMqV1Y4X2Pe_ocT_qgffh7HPU,1919
|
7
7
|
domainiac/managers/unit_manager.py,sha256=PjtLag75PRDlX57lxbYo6hundkQy37jC170R4YKJw7U,1085
|
8
|
-
domainiac-0.1.
|
9
|
-
domainiac-0.1.
|
10
|
-
domainiac-0.1.
|
8
|
+
domainiac-0.1.3.dist-info/METADATA,sha256=hI1_mD-iY5_XPchJ4HP07aNV0zx1YQAAG5UUSGo5rks,465
|
9
|
+
domainiac-0.1.3.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
10
|
+
domainiac-0.1.3.dist-info/RECORD,,
|
File without changes
|