-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Description
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:
$ ipython
In [1]: from aiostream import stream
In [2]: stream.take?
Signature: stream.take(source: 'AsyncIterable[T]', n: 'int') -> 'Stream[T]'
Type: PipableOperatorImplementation
String form: aiostream.stream.select.take
File: ~/repos/aiostream/aiostream/stream/select.py
Docstring:
Forward the first ``n`` elements from an asynchronous sequence.
If ``n`` is negative, it simply terminates before iterating the source.
Metadata
Metadata
Assignees
Labels
No labels