]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
adapt_from_selectables is a set
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 16 Apr 2022 15:40:13 +0000 (11:40 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 16 Apr 2022 15:42:17 +0000 (11:42 -0400)
commit549e3a5be6a8c6db7183b1f7d20e8f3f39687ef4
treeec14391638ff08c32d00f29e8f3f6e5271f554b0
parent2ea124b61f0ef98d398c43299509224e9a9d77f6
adapt_from_selectables is a set

aliasedclass setting this as a list, making all the containment
checks more expensive.

the presence of the collection also serves as a flag so it
has to stay optional.

Change-Id: Iafffbeb29d77441ca35ecd8048244ee6eed1232c
(cherry picked from commit c538f810bce57472c8960a0a6c4c61024b00f3ed)
lib/sqlalchemy/orm/util.py