Recursively normalize child entities in EntityManager._normalize_entities

This commit is contained in:
Fabio Manganiello 2023-02-18 17:51:57 +01:00
parent 613e32e7c1
commit 8aedc3c233
Signed by untrusted user: blacklight
GPG key ID: D90FBA7F76362774

View file

@ -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