We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In the sqlalchemy version 1.4, the method isnot was renamed to is_not, and the old method was left for backward compatibility.
(see https://docs.sqlalchemy.org/en/14/core/sqlelement.html#sqlalchemy.sql.expression.ColumnOperators.is_not)
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.
error: "Column[Any]" has no attribute "is_not"
As is_not now is a recommended method, I think stubs should function with it without warnings.
The text was updated successfully, but these errors were encountered:
Ihttps://github.com//issues/237 covers this, and more cases.
Sorry, something went wrong.
No branches or pull requests
In the sqlalchemy version 1.4, the method isnot was renamed to is_not, and the old method was left for backward compatibility.
(see https://docs.sqlalchemy.org/en/14/core/sqlelement.html#sqlalchemy.sql.expression.ColumnOperators.is_not)
However, if one try to use is_not on the column expression
(something like:
)
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.
The text was updated successfully, but these errors were encountered: