Skip to content

Commit 81b6a3b

Browse files
committed
update typing
1 parent f233f13 commit 81b6a3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bioimageio/core/tensor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ def tagged_shape(self):
250250
return self.sizes
251251

252252
def argmax(self) -> Mapping[AxisId, int]:
253-
ret = self._data.argmax(...) # pyright: ignore[reportUnknownArgumentType]
253+
ret = self._data.argmax(...)
254254
assert isinstance(ret, dict)
255255
return {cast(AxisId, k): cast(int, v.item()) for k, v in ret.items()}
256256

0 commit comments

Comments
 (0)