You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 ?
The text was updated successfully, but these errors were encountered:
HI @Akazz-L the plan is add (basic) annotations for the entire main namespace in the next 1.22 release.
If you're interested in an up date progress of the annotation effort, I'd recommend keeping an eye on #16546.
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
includingnp.median
are not typed yet which might cause this issue. Any idea on when the typing will be available for those functions ?The text was updated successfully, but these errors were encountered: