From f12e51ac5d09297df47bf48ec7e5e3f285d8b7e3 Mon Sep 17 00:00:00 2001 From: Paul D'Ambra Date: Mon, 17 Jun 2024 22:42:17 +0100 Subject: [PATCH] need to return something --- .../queries/session_recording_list_from_filters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/posthog/session_recordings/queries/session_recording_list_from_filters.py b/posthog/session_recordings/queries/session_recording_list_from_filters.py index 8d59ba3acad96..0b2ccc538641e 100644 --- a/posthog/session_recordings/queries/session_recording_list_from_filters.py +++ b/posthog/session_recordings/queries/session_recording_list_from_filters.py @@ -273,7 +273,7 @@ def _having_predicates(self) -> ast.And | Constant: ), ) - return ast.And(exprs=exprs) + return ast.And(exprs=exprs) if exprs else ast.Constant(value=True) def _strip_person_and_event_properties(self, property_group: PropertyGroup) -> PropertyGroup | None: property_groups_to_keep = [