flask-sqlalchemy icon indicating copy to clipboard operation
flask-sqlalchemy copied to clipboard

SqlAlchemy warning raised using pagination api.

Open brassy-endomorph opened this issue 4 years ago • 0 comments

The following warning is raised when using the pagination API.

/usr/local/lib/python3.10/site-packages/flask_sqlalchemy/__init__.py:550:
  SAWarning: implicitly coercing SELECT object to scalar subquery; please use the .scalar_subquery() method to produce a scalar subquery.

Possibly related to or covered by #1010

Environment:

  • Python version: 3.10
  • Flask-SQLAlchemy version: 2.5.1
  • SQLAlchemy version: 1.4.31

brassy-endomorph avatar Feb 13 '22 09:02 brassy-endomorph