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
Describe the bug
Exception with INTERNAL ERROR: maximum semantic analysis iteration count reached
Expected behavior
A message like error: Name "Address" is not defined [name-defined]
To Reproduce
Type check the code below.
Obviously, there is not class Address. When removing the base class, the error is emitted as expected. Stumbled upon this problem when having a typo in a relation.
This is related to the mypy plugin. Since v2 will not use it it's unlikely that it will be fixed. PR are welcome though.
(The plugin code lives in the main sqlalchemy repo)
Describe the bug
Exception with
INTERNAL ERROR: maximum semantic analysis iteration count reached
Expected behavior
A message like
error: Name "Address" is not defined [name-defined]
To Reproduce
Type check the code below.
Obviously, there is not class
Address
. When removing the base class, the error is emitted as expected. Stumbled upon this problem when having a typo in a relation.Error
Versions.
The text was updated successfully, but these errors were encountered: