From fa9d0d4db52abde540178e5db7fc22a2c2b40945 Mon Sep 17 00:00:00 2001 From: Ellie Huxtable Date: Thu, 26 Oct 2023 12:52:59 +0100 Subject: [PATCH] Fix type error - ignore comment moved --- posthog/models/filters/mixins/simplify.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/posthog/models/filters/mixins/simplify.py b/posthog/models/filters/mixins/simplify.py index d63cf6782ebc3..3b1e0eb426ba1 100644 --- a/posthog/models/filters/mixins/simplify.py +++ b/posthog/models/filters/mixins/simplify.py @@ -39,8 +39,8 @@ def simplify(self: T, team: "Team", **kwargs) -> T: if hasattr(result, "entities_to_dict"): for entity_type, entities in result.entities_to_dict().items(): updated_entities[entity_type] = [ - self._simplify_entity(team, entity_type, entity, **kwargs) - for entity in entities # type: ignore + self._simplify_entity(team, entity_type, entity, **kwargs) # type: ignore + for entity in entities ] from posthog.models.property.util import clear_excess_levels