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
In summary, I think the pyright type analyzer is doing the right thing here and preserving the docstring, but the hover provider (which is owned by the pylance team) is not using this information when the identifier is an instance of a callable object (i.e. an instance of a class that has a __call__ method). So I think this is a feature request for the Pylance team to add such support.
Pylance does not show the actual docstring and prototype when overing a stream operators:
Surprisingly, it does show it for their
pipe
method:Also, it does show when opening a parenthesis after a stream operator:
Note that introspection does work properly:
The text was updated successfully, but these errors were encountered: