Skip to content

Commit

Permalink
blergh
Browse files Browse the repository at this point in the history
  • Loading branch information
mariusandra committed Aug 26, 2024
1 parent c2a9644 commit 5fafd52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion posthog/hogql/resolver.py
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ def visit_lambda(self, node: ast.Lambda):

new_node = cast(ast.Lambda, clone_expr(node))
new_node.type = node_type
new_node.expr = self.visit(new_node.expr)
new_node.expr = cast(ast.Expr | ast.Block, self.visit(new_node.expr))

Check failure on line 541 in posthog/hogql/resolver.py

View workflow job for this annotation

GitHub Actions / Python code quality checks

Argument 1 to "visit" of "Resolver" has incompatible type "Expr | Block"; expected "Expr | None"

self.scopes.pop()

Expand Down

0 comments on commit 5fafd52

Please sign in to comment.