Skip to content
Snippets Groups Projects
Commit 9fa1fc44 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Context component:

- added retrieve of action in config rules
parent 9fe3c1a1
No related branches found
No related tags found
2 merge requests!54Release 2.0.0,!34Context Scalability extensions using CockroachDB + Removal of Stateful database inside Device + other
......@@ -46,4 +46,7 @@ class ConfigRuleModel(_Base):
)
def dump(self) -> Dict:
return {self.kind.value: json.loads(self.data)}
return {
'action': self.action.value,
self.kind.value: json.loads(self.data),
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment