Skip to content

Commit

Permalink
mnor typing fix
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-beedie committed Oct 21, 2023
1 parent d81ad46 commit b52394a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py-polars/polars/utils/various.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def is_int_sequence(

def is_sequence(
val: object, *, include_series: bool = False
) -> TypeGuard[Sequence[int]]:
) -> TypeGuard[Sequence[Any]]:
"""Check whether the given input is a numpy array or python sequence."""
return (_check_for_numpy(val) and isinstance(val, np.ndarray)) or isinstance(
val, (pl.Series, Sequence) if include_series else Sequence
Expand Down

0 comments on commit b52394a

Please sign in to comment.