We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I need to rename a module import and maintain backwards compatibility.
This has led me to this solution: https://stackoverflow.com/a/24324577
import sys import foo sys.modules["bar"] = sys.modules["foo"]
Unfortunately, mypy (0.910) isn't detecting any of the types. There's a py.typed in both folders.
py.typed
Is there a way to do this that mypy will honor it?
The text was updated successfully, but these errors were encountered:
You could keep a bar.py that does from foo import *
bar.py
from foo import *
Sorry, something went wrong.
No branches or pull requests
I need to rename a module import and maintain backwards compatibility.
This has led me to this solution: https://stackoverflow.com/a/24324577
Unfortunately, mypy (0.910) isn't detecting any of the types. There's a
py.typed
in both folders.Is there a way to do this that mypy will honor it?
The text was updated successfully, but these errors were encountered: