]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Pass through plain selectable to .alias()
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 7 Dec 2020 15:08:06 +0000 (10:08 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 7 Dec 2020 15:08:06 +0000 (10:08 -0500)
commit1dc0b34b959d3571f8b21425bb43edb9c87d4a19
treed7c335cd56cf46565be4f5c10b1554afff72c512
parent0d7c12735b0a871205c23904320a6f42384df1e8
Pass through plain selectable to .alias()

Fixed regression where creating an :class:`_orm.aliased` construct against
a plain selectable and including a name would raise an assertionerror.

Fixes: #5750
Change-Id: I98fbc7c7bd2c88f0600fc507275eb8b1bb76d8df
doc/build/changelog/unreleased_14/5750.rst [new file with mode: 0644]
lib/sqlalchemy/orm/util.py
test/orm/test_utils.py