Trying to use pyright strict mode. #940
Closed
JanEricNitschke
started this conversation in
General
Replies: 1 comment
-
Created #941 . This is a bug that can be fixed. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Specifically i am trying to typehint this function:
There are 2 issues here. The type hint for series.map says that the return type (parameter) is the same as the initial one, which is not the case here (but it still works when running it).
The other is that the type hint does not specify the argument type.
Which results in the classic unknown warning.
Is there anything that i can currently do to adress this or is there just no way with the stubs and pyright strict mode.
Beta Was this translation helpful? Give feedback.
All reactions