Open
Description
In the sqlalchemy version 1.4, the method isnot was renamed to is_not, and the old method was left for backward compatibility.
However, if one try to use is_not on the column expression
(something like:
...
.where(and_(pch_alias.c.New_Id.is_not(None))))
)
then one gets following warning in mypy:
error: "Column[Any]" has no attribute "is_not"
However, if one is using older isnot construct, then mypy produces no warning.
As is_not now is a recommended method, I think stubs should function with it without warnings.
Metadata
Metadata
Assignees
Labels
No labels