From 59a49668b49ecbd9e4fb44189ee3a28f9a3d414a Mon Sep 17 00:00:00 2001 From: Deepyaman Datta Date: Wed, 31 Jul 2024 16:36:04 -0600 Subject: [PATCH] chore(python): Suggest `allow_null` as replacement --- py-polars/polars/testing/parametric/strategies/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py-polars/polars/testing/parametric/strategies/core.py b/py-polars/polars/testing/parametric/strategies/core.py index 483e06623437..659a6f2433b7 100644 --- a/py-polars/polars/testing/parametric/strategies/core.py +++ b/py-polars/polars/testing/parametric/strategies/core.py @@ -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", )