]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Added new checks for the common error case of passing mapped classes
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 22 Aug 2015 16:47:13 +0000 (12:47 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 22 Aug 2015 16:47:13 +0000 (12:47 -0400)
commit8712ef2f81498fe59b9636ba150833d779e60781
tree8e42639b148196a22d930fdef851b44686886279
parente0a8030048f4ad0690d3084929441bda4c21aba2
- Added new checks for the common error case of passing mapped classes
or mapped instances into contexts where they are interpreted as
SQL bound parameters; a new exception is raised for this.
fixes #3321
doc/build/changelog/changelog_11.rst
doc/build/changelog/migration_11.rst
lib/sqlalchemy/sql/compiler.py
lib/sqlalchemy/sql/default_comparator.py
lib/sqlalchemy/sql/elements.py
lib/sqlalchemy/sql/sqltypes.py
lib/sqlalchemy/sql/type_api.py
lib/sqlalchemy/types.py
test/aaa_profiling/test_compiler.py
test/orm/test_query.py
test/sql/test_types.py