Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
stinodego committed Oct 21, 2023
1 parent 234e85b commit 9250de5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions py-polars/polars/datatypes/classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -556,6 +556,9 @@ def __init__( # noqa: D417
from polars.utils.deprecation import issue_deprecation_warning

if args:
# TODO: When removing this deprecation, update the `to_object`
# implementation in py-polars/src/conversion.rs to use `call1` instead of
# `call`
issue_deprecation_warning(
"Parameters `inner` and `width` will change positions in the next breaking release."
" Use keyword arguments to keep current behavior and silence this warning.",
Expand Down

0 comments on commit 9250de5

Please sign in to comment.