Skip to content

MyPy call to untyped function "median" in typed context #19807

@Akazz-L

Description

@Akazz-L

Hi, I'm working with Numpy and MyPy for static type checking and I ran accross this error while running MyPy and calling np.median function : error: Call to untyped function "median" in typed context
It seems all the functions in numpy/numpy/lib/function_base.pyi including np.median are not typed yet which might cause this issue. Any idea on when the typing will be available for those functions ?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions