Skip to content

How does pylance decide what is and isn't exported from a module? #3397

Answered by bschnurr
decorator-factory asked this question in Q&A
Discussion options

You must be logged in to vote

see
https://github.com/microsoft/pyright/blob/main/docs/typed-libraries.md#library-interface

Can use __all__ or redundant import from ._dock_view import DockView as DockView

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@erictraut
Comment options

@decorator-factory
Comment options

Answer selected by decorator-factory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants