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
lieryan
changed the title
Incorrect sqlite autoimport incorrect import from functions/classes in __init__.py
__init__ not removed when using sqlite autoimport
Jan 16, 2023
lieryan
changed the title
__init__ not removed when using sqlite autoimport
__init__ should be removed when using sqlite autoimport
Jan 16, 2023
lieryan
changed the title
__init__ should be removed when using sqlite autoimport
Remove __init__ from import statement when using sqlite autoimport
Jan 16, 2023
Describe the bug
To Reproduce
Steps to reproduce the behavior:
Code before refactoring:
And you want to autoimport
mod1.foo
from mod2.py using sqlite-based autoimport:Currently, it seems that sqlite autoimport would suggest this autoimport:
Note that the legacy pickle autoimport (which is currently still the default) does the right thing and makes the second suggestion.
Editor information (please complete the following information):
Additional context: sqlite autoimport and pickle autoimport has completely different implementation of autoimport, not just the storage backend.
The text was updated successfully, but these errors were encountered: