Skip to content

Commit

Permalink
chore: fix ast.Attribute construction
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud committed Dec 16, 2024
1 parent e2cc5bc commit 3550f91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ibis/backends/sql/compilers/bigquery/udf/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def rewrite_len(node):
return ast.Attribute(value=node.args[0], attr="length", ctx=ast.Load())


@rewrite.register(ast.Call(func=ast.Attribute(attr="append")))
@rewrite.register(ast.Call(func=ast.Attribute(attr="append", value=None)))
def rewrite_append(node):
return ast.Call(
func=ast.Attribute(value=node.func.value, attr="push", ctx=ast.Load()),
Expand Down

0 comments on commit 3550f91

Please sign in to comment.