Skip to content

Commit

Permalink
fix(python): Fix typing for SchemaDefinition (#19647)
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigogiraoserrao authored Nov 6, 2024
1 parent 10abada commit 12ba207
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py-polars/polars/_typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def __arrow_c_stream__(self, requested_schema: object | None = None) -> object:
]

SchemaDefinition: TypeAlias = Union[
Mapping[str, Union[PolarsDataType, PythonDataType]],
Mapping[str, Union[PolarsDataType, PythonDataType, None]],
Sequence[Union[str, tuple[str, Union[PolarsDataType, PythonDataType, None]]]],
]
SchemaDict: TypeAlias = Mapping[str, PolarsDataType]
Expand Down

0 comments on commit 12ba207

Please sign in to comment.