-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Incompatible return value type #4577
Copy link
Copy link
Closed
Description
Describe the bug
premerge mypy issue
https://github.com/Project-MONAI/MONAI/runs/7032166426?check_suite_focus=true
mypy 0.961 (compiled: yes)
monai/transforms/spatial/array.py:361:16: error: Incompatible return value type (got "Tuple[Union[ndarray[Any, Any], Tensor], Dict[Any, Any]]", expected "Tuple[Union[ndarray[Any, Any], Tensor], Union[ndarray[Any, Any], Tensor]]") [return-value]
Found 1 error in 1 file (checked 867 source files)
Error: Process completed with exit code 1.
fixing this when merging the PR #4576
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels