]> 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:41:48 +0000 (11:41 -0400)
commitc538f810bce57472c8960a0a6c4c61024b00f3ed
tree87c50dd955a93fb535314501a96e47d7c2d17680
parentdd201d444e555c2940f85dbc1a3e2bc727f86690
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
lib/sqlalchemy/orm/util.py