From 8aedc3c2338a3a791251fce3d0124c41c28b54db Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Sat, 18 Feb 2023 17:51:57 +0100 Subject: [PATCH] Recursively normalize child entities in `EntityManager._normalize_entities` --- platypush/entities/_managers/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/platypush/entities/_managers/__init__.py b/platypush/entities/_managers/__init__.py index a70ca83c9a..3949469da0 100644 --- a/platypush/entities/_managers/__init__.py +++ b/platypush/entities/_managers/__init__.py @@ -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