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: blacklight
GPG Key ID: D90FBA7F76362774
1 changed files with 1 additions and 0 deletions

View File

@ -75,6 +75,7 @@ class EntityManager(ABC):
entity.plugin = get_plugin_name_by_class(self.__class__) # type: ignore
entity.updated_at = datetime.utcnow() # type: ignore
entity.children = self._normalize_entities(entity.children)
return entities