diff --git a/py-polars/polars/lazyframe/frame.py b/py-polars/polars/lazyframe/frame.py index cb3374b25ba3..bab3073fee2a 100644 --- a/py-polars/polars/lazyframe/frame.py +++ b/py-polars/polars/lazyframe/frame.py @@ -2800,7 +2800,7 @@ def filter( elif p is True: continue # no-op; matches all rows if _is_generator(p): - p = tuple(p) # type: ignore[arg-type] + p = tuple(p) if is_bool_sequence(p, include_series=True): boolean_masks.append(pl.Series(p, dtype=Boolean)) elif (