Skip to content

Commit

Permalink
no-any-return
Browse files Browse the repository at this point in the history
  • Loading branch information
jleibs committed Dec 13, 2024
1 parent 924340f commit c586031
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rerun_py/rerun_sdk/rerun/archetypes/image_ext.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def _to_numpy(tensor: ImageLike) -> npt.NDArray[Any]:

try:
# Make available to the cpu
return tensor.numpy(force=True) # type: ignore[union-attr]
return tensor.numpy(force=True) # type: ignore[union-attr, no-any-return]
except AttributeError:
return np.array(tensor, copy=False)

Expand Down

0 comments on commit c586031

Please sign in to comment.