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
It seems that operators on ORM columns are not mapped properly for sqlalchemy 1.3 …
Test case:
"""Minimal test-case to reproduce a pylint-flask-sqlalchemy issue."""# pylint: disable=too-few-public-methodsfromflask_sqlalchemyimportSQLAlchemydb=SQLAlchemy()
classUser(db.Model):
"""Minimal model class."""id=db.Column(db.Integer(), primary_key=True)
User.query.filter(User.id.in_([1, 2, 3])).all()
Gives tihs output:
$ pylint minimal-pylint.py
************* Module minimal-pylint
minimal-pylint.py:15:18: E1101: Instance of 'Column' has no 'in_' member (no-member)
-------------------------------------------------------------------
Your code has been rated at 0.00/10 (previous run: -4.00/10, +4.00)
The text was updated successfully, but these errors were encountered:
It seems that operators on ORM columns are not mapped properly for sqlalchemy 1.3 …
Test case:
Gives tihs output:
The text was updated successfully, but these errors were encountered: