:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
fix(hogql): import HogQLQueryModifiers from posthog.schema in geoip test (#63364)
Daniel Visca77bef39eeb93
diff --git a/posthog/hogql/transforms/test/test_geoip_dict_fallback.py b/posthog/hogql/transforms/test/test_geoip_dict_fallback.pyindex b9ae7bd77413..4582f6a2828e 100644--- a/posthog/hogql/transforms/test/test_geoip_dict_fallback.py+++ b/posthog/hogql/transforms/test/test_geoip_dict_fallback.py@@ -13,12 +13,11 @@ from django.test import override_settingsfrom parameterized import parameterized-from posthog.schema import PersonsOnEventsMode+from posthog.schema import HogQLQueryModifiers, PersonsOnEventsModefrom posthog.hogql.context import HogQLContextfrom posthog.hogql.errors import QueryErrorfrom posthog.hogql.hogql import translate_hogql-from posthog.hogql.modifiers import HogQLQueryModifiersfrom posthog.hogql.parser import parse_selectfrom posthog.hogql.printer.base import get_geoip_city_postal_dictfrom posthog.hogql.printer.utils import prepare_and_print_ast