Skip to content

Commit

Permalink
fix(python): Use cls for to_python (#19726)
Browse files Browse the repository at this point in the history
  • Loading branch information
max-muoto authored Nov 11, 2024
1 parent 4c90458 commit 4fb7cd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py-polars/polars/datatypes/classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def from_python(cls, py_type: PythonDataType) -> PolarsDataType: # noqa: D102
...

@classmethod
def to_python(self) -> PythonDataType: # noqa: D102
def to_python(cls) -> PythonDataType: # noqa: D102
...


Expand Down

0 comments on commit 4fb7cd1

Please sign in to comment.