From bf2597c1f775c5b3614906d43d06ecd6461e5b33 Mon Sep 17 00:00:00 2001 From: Marius Andra Date: Tue, 5 Dec 2023 18:02:02 +0100 Subject: [PATCH] fix(queries): inherit enum from string (#19102) --- posthog/hogql/constants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/posthog/hogql/constants.py b/posthog/hogql/constants.py index 8ea5670321267..0e82558ec1628 100644 --- a/posthog/hogql/constants.py +++ b/posthog/hogql/constants.py @@ -33,7 +33,7 @@ MAX_SELECT_RETURNED_ROWS = 10000 # sync with CSV_EXPORT_LIMIT -class LimitContext(Enum): +class LimitContext(str, Enum): QUERY = "query" EXPORT = "export"