Skip to content

Commit

Permalink
chore(python): Suggest allow_null as replacement (#17969)
Browse files Browse the repository at this point in the history
  • Loading branch information
deepyaman committed Aug 1, 2024
1 parent 5134051 commit c975ec8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py-polars/polars/testing/parametric/strategies/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ def _handle_null_probability_deprecation(
null_probability: float | Mapping[str, float],
) -> bool | dict[str, bool]:
issue_deprecation_warning(
"`null_probability` is deprecated. Use `include_nulls` instead.",
"`null_probability` is deprecated. Use `allow_null` instead.",
version="0.20.26",
)

Expand Down

0 comments on commit c975ec8

Please sign in to comment.