From 04ca9391e4fdb63fc62cb45287d570e4f3d5d4e8 Mon Sep 17 00:00:00 2001 From: Marius Andra Date: Tue, 5 Dec 2023 17:31:06 +0100 Subject: [PATCH] fix(queries): inherit enum from string --- 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"