From 2c8912830f9f3be6439f68fd2616bfd8ac0292c4 Mon Sep 17 00:00:00 2001 From: Emanuele Bezzi Date: Tue, 28 Nov 2023 09:49:05 -0800 Subject: [PATCH] Remove type subscription --- python-spec/src/somacore/query/query.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python-spec/src/somacore/query/query.py b/python-spec/src/somacore/query/query.py index 742e96b9..21ed5ddf 100644 --- a/python-spec/src/somacore/query/query.py +++ b/python-spec/src/somacore/query/query.py @@ -517,7 +517,7 @@ def _axisp_inner_ndarray( self, axis: "_Axis", layer: str, - ) -> np.ndarray[np.float32]: + ) -> np.ndarray: key = axis.value + "p" if key not in self._ms: @@ -543,7 +543,7 @@ def _axism_inner_ndarray( self, axis: "_Axis", layer: str, - ) -> np.ndarray[np.float32]: + ) -> np.ndarray: key = axis.value + "m" if key not in self._ms: