Skip to content

Commit

Permalink
Update template for how values are passed to update
Browse files Browse the repository at this point in the history
  • Loading branch information
timsaucer committed Sep 23, 2024
1 parent 3d4bf29 commit d997df1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/datafusion/udf.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def state(self) -> List[pyarrow.Scalar]:
pass

@abstractmethod
def update(self, values: pyarrow.Array) -> None:
def update(self, *values: pyarrow.Array) -> None:
"""Evaluate an array of values and update state."""
pass

Expand Down

0 comments on commit d997df1

Please sign in to comment.