summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql/dml.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2021-04-29 16:38:03 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2021-04-29 16:41:28 -0400
commit7002b2b0b109e70b47d4ae4f5f6a4d7df5586f21 (patch)
tree9652d3ef8e9bd1bae574222915bc20a0c99b6a46 /lib/sqlalchemy/sql/dml.py
parent75d1a599519fde61c9ea2c9d8c935f1e420b8333 (diff)
downloadsqlalchemy-7002b2b0b109e70b47d4ae4f5f6a4d7df5586f21.tar.gz
Ensure iterable passed to Select is not a mapped class
Fixed regression caused by :ticket:`5395` where tuning back the check for sequences in :func:`_sql.select` now caused failures when doing 2.0-style querying with a mapped class that also happens to have an ``__iter__()`` method. Tuned the check some more to accommodate this as well as some other interesting ``__iter__()`` scenarios. Fixes: #6300 Change-Id: Idf1983fd764b91a7d5fa8117aee8a3def3cfe5ff
Diffstat (limited to 'lib/sqlalchemy/sql/dml.py')
0 files changed, 0 insertions, 0 deletions