jfinkels/flask-restless — pull request #315 by eirnym (2014-05-12 13:42:42+00:00)
Title: If model has query, but it has no attribute filter, use session

Query is None for models with latest Flask-SQLAlchemy.

https://github.com/mitsuhiko/flask-sqlalchemy/blob/master/flask_sqlalchemy/__init__.py#L567