summaryrefslogtreecommitdiff
path: root/lib/model.py
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2021-04-20 11:55:22 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2021-04-20 11:55:22 +0200
commit5b43e9b07d48bb65771a66760128fc85afc1b95e (patch)
tree8cd11b1162d6ba44f3047a2e6f2281fe99a5385c /lib/model.py
parentf48482529e34cc5d9f7d11681febb57905251b47 (diff)
proper kconfig-webconf export
Diffstat (limited to 'lib/model.py')
-rw-r--r--lib/model.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/model.py b/lib/model.py
index 4585dfe..8cbb012 100644
--- a/lib/model.py
+++ b/lib/model.py
@@ -373,6 +373,13 @@ class AnalyticModel:
return ret
+ def webconf_function_map(self) -> list:
+ ret = list()
+ for name in self.names:
+ for attr_model in self.attr_by_name[name].values():
+ ret.extend(attr_model.webconf_function_map())
+ return ret
+
def predict(self, trace, with_fitted=True, wth_lut=False):
pass
# TODO trace= ( (name, duration), (name, duration), ...)