Skip to content

typing issue in premerge #4568

@wyli

Description

@wyli

Describe the bug
typing issue

mypy 0.961 (compiled: yes)
monai/transforms/utils_pytorch_numpy_unification.py:279:9: error: Returning Any from function declared to return "Union[ndarray[Any, Any], Tensor]"  [no-any-return]
Found 1 error in 1 file (checked 867 source files)

https://github.com/Project-MONAI/MONAI/runs/7020517619?check_suite_focus=true

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions