From c975ec8233bfcdf16c803f0e13b9e5bb71594300 Mon Sep 17 00:00:00 2001 From: Deepyaman Datta Date: Thu, 1 Aug 2024 01:36:49 -0600 Subject: [PATCH] chore(python): Suggest `allow_null` as replacement (#17969) --- 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", )