diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2021-04-20 11:55:22 +0200 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2021-04-20 11:55:22 +0200 |
commit | 5b43e9b07d48bb65771a66760128fc85afc1b95e (patch) | |
tree | 8cd11b1162d6ba44f3047a2e6f2281fe99a5385c /lib/model.py | |
parent | f48482529e34cc5d9f7d11681febb57905251b47 (diff) |
proper kconfig-webconf export
Diffstat (limited to 'lib/model.py')
-rw-r--r-- | lib/model.py | 7 |
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), ...) |