Skip to content

Commit

Permalink
mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
robbie-c committed Nov 28, 2024
1 parent e966ce8 commit 6111bf0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions posthog/hogql_queries/web_analytics/web_overview.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,13 +196,12 @@ def inner_select(self) -> ast.SelectQuery:
"date_range_end": end,
"event_properties": self.event_properties(),
"session_properties": self.session_properties(),
"conversion_person_id_expr": self.conversion_person_id_expr,
"event_type_expr": self.event_type_expr,
},
)
assert isinstance(parsed_select, ast.SelectQuery)

if self.query.conversionGoal:
if self.conversion_count_expr and self.conversion_person_id_expr:
parsed_select.select.append(ast.Alias(alias="conversion_count", expr=self.conversion_count_expr))
parsed_select.select.append(ast.Alias(alias="conversion_person_id", expr=self.conversion_person_id_expr))
else:
Expand Down

0 comments on commit 6111bf0

Please sign in to comment.