forked from platypush/platypush
Recursively normalize child entities in EntityManager._normalize_entities
This commit is contained in:
parent
613e32e7c1
commit
8aedc3c233
1 changed files with 1 additions and 0 deletions
|
@ -75,6 +75,7 @@ class EntityManager(ABC):
|
||||||
|
|
||||||
entity.plugin = get_plugin_name_by_class(self.__class__) # type: ignore
|
entity.plugin = get_plugin_name_by_class(self.__class__) # type: ignore
|
||||||
entity.updated_at = datetime.utcnow() # type: ignore
|
entity.updated_at = datetime.utcnow() # type: ignore
|
||||||
|
entity.children = self._normalize_entities(entity.children)
|
||||||
|
|
||||||
return entities
|
return entities
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue