Skip to content

: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.

chore(hogql): quote bareword type key in clean_properties test (#65109)

posthog[bot]84ef0d7d8f17
diff --git a/posthog/hogql_queries/legacy_compatibility/test/test_clean_properties.py b/posthog/hogql_queries/legacy_compatibility/test/test_clean_properties.py
index 8918df060d97..929e19183b85 100644
--- a/posthog/hogql_queries/legacy_compatibility/test/test_clean_properties.py
+++ b/posthog/hogql_queries/legacy_compatibility/test/test_clean_properties.py
@@ -136,7 +136,7 @@ class TestCleanEntityProperties(BaseTest):
def test_handles_property_filter_lists(self):
properties = [
- {"key": "$current_url", type: "event", "value": "https://hedgebox.net/signup/", "operator": "exact"},
+ {"key": "$current_url", "type": "event", "value": "https://hedgebox.net/signup/", "operator": "exact"},
]
result = clean_entity_properties(properties)
@@ -144,7 +144,7 @@ class TestCleanEntityProperties(BaseTest):
self.assertEqual(
result,
[
- {"key": "$current_url", type: "event", "value": "https://hedgebox.net/signup/", "operator": "exact"},
+ {"key": "$current_url", "type": "event", "value": "https://hedgebox.net/signup/", "operator": "exact"},
],
)