Skip to content

Commit

Permalink
fix(python): use explicit type-arg for PythonDataType (#6481)
Browse files Browse the repository at this point in the history
  • Loading branch information
josh authored Feb 13, 2023
1 parent 1d4c4ec commit f81ba2f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions py-polars/polars/datatypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
Union,
overload,
)
from typing import List as ListType

from polars.dependencies import numpy as np
from polars.dependencies import pyarrow as pa
Expand Down Expand Up @@ -80,8 +81,8 @@ def get_args(tp: Any) -> Any:
Type[time],
Type[datetime],
Type[timedelta],
Type[list],
Type[tuple], # type: ignore[type-arg]
Type[ListType[Any]],
Type[Tuple[Any, ...]],
Type[bytes],
Type[Decimal],
]
Expand Down

0 comments on commit f81ba2f

Please sign in to comment.