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
Sorry, I don't have much time, but mypy screams here:
my_valyes = values(
column("x", Integer), # here
column("y", Integer), # and here
name="my_values",
).data(my_values_data)
with:
error: Argument 1 to "Values" has incompatible type "ColumnClause[Integer]"; expected "Column[Any]"
error: Argument 2 to "Values" has incompatible type "ColumnClause[Integer]"; expected "Column[Any]"
stubs version 0.0.2a6
The text was updated successfully, but these errors were encountered:
(.venv) peter@peter-Inspiron-15-5510:~/PycharmProjects/sqla-stubs-228$ mypy main.py
main.py:9: note: Revealed type is "sqlalchemy.sql.selectable.Values"
Success: no issues found in 1 source file
The type of *columns param to Values changed from Column to ColumnClause[Any] in 0.0.2a12
Sorry, I don't have much time, but mypy screams here:
with:
stubs version 0.0.2a6
The text was updated successfully, but these errors were encountered: