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
input_file.py:7: error: Incompatible types in assignment (expression has type"Column[NullType]", variable has type"FileType")
Note : I am importing the file_type_db_enum, as it is being reused by multiple other models, and also, because graphene-sqlalchemy wants it to be declared this way, Otherwise it generates conflicts for multiple objectType with the same name.
Expected behavior
This should not raise any errors.
The following code runs fine without any mypy error
But changing input file to following throws mypy error
Note : I am importing the file_type_db_enum, as it is being reused by multiple other models, and also, because graphene-sqlalchemy wants it to be declared this way, Otherwise it generates conflicts for multiple objectType with the same name.
Expected behavior
This should not raise any errors.
To Reproduce
Error
Versions.
The text was updated successfully, but these errors were encountered: