Commits

Mike Bayer committed aadad98

remove check_columns here so warning not emitted with update from

  • Participants
  • Parent commits ec7650b

Comments (0)

Files changed (1)

lib/sqlalchemy/sql/compiler.py

         if parameters and stmt.parameters:
             check = set(parameters).intersection(
                 sql._column_as_key(k) for k in stmt.parameters
-            )
+            ).difference(check_columns)
             if check:
                 util.warn(
                     "Unconsumed column names: %s" %