diff --git a/py-polars/polars/_typing.py b/py-polars/polars/_typing.py index 1c404a670f96..894ab9e79346 100644 --- a/py-polars/polars/_typing.py +++ b/py-polars/polars/_typing.py @@ -298,12 +298,5 @@ def fetchmany(self, *args: Any, **kwargs: Any) -> Any: EngineType: TypeAlias = Union[Literal["cpu", "gpu"], "GPUEngine"] ScanSource: TypeAlias = Union[ - str - | Path - | IO[bytes] - | bytes - | list[str] - | list[Path] - | list[IO[bytes]] - | list[bytes] + str, Path, IO[bytes], bytes, list[str], list[Path], list[IO[bytes]], list[bytes] ]