Skip to content

Commit

Permalink
fix(python): Satisfy mypy unknown arg-type
Browse files Browse the repository at this point in the history
  • Loading branch information
dangotbanned committed May 15, 2024
1 parent be94bb0 commit c048b0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py-polars/polars/lazyframe/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -2798,7 +2798,7 @@ def filter(
elif p is True:
continue # no-op; matches all rows
if _is_generator(p):
p = tuple(p)
p: Iterable[IntoExprColumn] = tuple(p)
if is_bool_sequence(p, include_series=True):
boolean_masks.append(pl.Series(p, dtype=Boolean))
elif (
Expand Down

0 comments on commit c048b0a

Please sign in to comment.