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
This is a known problem (though there doesn't seem to be an open issue). If there are cyclic module dependencies, type inference often needs help because mypy does only a single type checking pass.
In this particular case, you may want to rewrite cases like this:
That workaround worked for the sqlalchemy stubs; I had actually tried it before unsuccessfully, but I now suspect that was due to an unrelated problem.
I ran into this trying to get the sqlalchemy stubs working. The error is:
Here's a reproducer zipped tar archive:
foo.zip
The text was updated successfully, but these errors were encountered: