Commits

Christoph Zwerschke committed 39542f6

Fix broken error message if a tuple instance is passed as column.

  • Participants
  • Parent commits 6a3c2d0

Comments (0)

Files changed (1)

File lib/sqlalchemy/orm/query.py

         if not isinstance(column, sql.ColumnElement):
             raise sa_exc.InvalidRequestError(
                 "SQL expression, column, or mapped entity "
-                "expected - got '%r'" % column
+                "expected - got '%r'" % (column,)
             )
 
         # If the Column is unnamed, give it a