From 323c223008fa3d424fe79da728c1c55b9d6f438f Mon Sep 17 00:00:00 2001 From: Hana Joo Date: Wed, 29 Jul 2026 11:14:40 -0700 Subject: [PATCH] Suppressions for pyrefly PiperOrigin-RevId: 955985913 --- dataclass_array/utils/np_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dataclass_array/utils/np_utils.py b/dataclass_array/utils/np_utils.py index 90944f4..7de2b65 100644 --- a/dataclass_array/utils/np_utils.py +++ b/dataclass_array/utils/np_utils.py @@ -124,7 +124,7 @@ def asarray( # Handle ndarray dtype = enp.dtypes.DType.from_value(dtype) # pyrefly: ignore[bad-assignment] - return dtype.asarray(x, xnp=xnp, casting='all' if cast_dtype else 'none') + return dtype.asarray(x, xnp=xnp, casting='all' if cast_dtype else 'none') # pyrefly: ignore[missing-attribute] def _assert_valid_xnp_cast(from_: enp.NpModule, to: enp.NpModule) -> None: