[Bug]: symbols are not exported from apache_beam
, causing type errors from Pylance
#33437
Open
1 of 17 tasks
What happened?
When doing
Pylance complains about:
I think that that (and other symbols) imported in the packages
__init__.py
are meant to be part of the public interface. However, Pyalnce requires the following semantics to detect them as such:[source]
I propose that either redundant aliases or an
__all__
be added toapache_beam
's__init__.py
to prevent this.Probably the
transforms
module, which is*
imported will need this done to it as well (and, well, recursively astransforms
also imports other modules).Issue Priority
Priority: 3 (minor)
Issue Components
The text was updated successfully, but these errors were encountered: