From f4c82bcf818b787b5d514bfa5573b94f68d3c0ba Mon Sep 17 00:00:00 2001 From: Tom Augspurger Date: Wed, 28 Aug 2024 14:25:56 -0500 Subject: [PATCH] attribute --- src/zarr/_compat.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/zarr/_compat.py b/src/zarr/_compat.py index 491ecc19d2..b05ab92f01 100644 --- a/src/zarr/_compat.py +++ b/src/zarr/_compat.py @@ -6,6 +6,8 @@ T = TypeVar("T") +# Based off https://github.com/scikit-learn/scikit-learn/blob/e87b32a81c70abed8f2e97483758eb64df8255e9/sklearn/utils/validation.py#L63 + def _deprecate_positional_args( func: Callable[..., T] | None = None, *, version: str = "1.3"