: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(batch-exports): relax events model HogQL values type (#85472)
Ross501c76f3da25
diff --git a/products/batch_exports/backend/api/batch_export.py b/products/batch_exports/backend/api/batch_export.pyindex 6beffb9aaaad..6125f6d486b4 100644--- a/products/batch_exports/backend/api/batch_export.py+++ b/products/batch_exports/backend/api/batch_export.py@@ -863,7 +863,7 @@ class BatchExportsField(TypedDict):class BatchExportsSchema(TypedDict):fields: list[BatchExportsField]- values: dict[str, str]+ values: dict[str, Any]hogql_query: strdiff --git a/products/batch_exports/backend/service.py b/products/batch_exports/backend/service.pyindex f8cc0b99644f..ae4ada4e875b 100644--- a/products/batch_exports/backend/service.py+++ b/products/batch_exports/backend/service.py@@ -137,7 +137,8 @@ class BatchExportField(typing.TypedDict):class BatchExportSchema(typing.TypedDict):fields: list[BatchExportField]- values: dict[str, str]+ # HogQL binds these at any type; narrowing breaks Temporal input decoding.+ values: dict[str, typing.Any]@dataclass