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
# make sure the adapter doesn't try to grab other tables that
# are not even the thing we are mapping, such as embedded
# selectables in subqueries or CTEs. See issue #6060
- adapt_from_selectables=[
+ adapt_from_selectables={
m.selectable
for m in self.with_polymorphic_mappers
if not adapt_on_names
- ],
+ },
)
if nest_adapters: