summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/dialects/postgresql/dml.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2017-10-28 13:28:58 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2017-10-28 13:29:48 -0400
commitfd4289c5829d6498495ac59fe1dccb23b4975281 (patch)
tree23881bd839a6ca99d62748ef910fc1c343c5284c /lib/sqlalchemy/dialects/postgresql/dml.py
parentf7b957b589207cae98b6feec63be84ee6423c3ca (diff)
downloadsqlalchemy-fd4289c5829d6498495ac59fe1dccb23b4975281.tar.gz
Filter attributes we don't map during a load_scalar_attributes
Fixed bug where a descriptor that is elsewhere a mapped column or relationship within a hierarchy based on :class:`.AbstractConcreteBase` would be referred towards during a refresh operation, causing an error as the attribute is not mapped as a mapper property. A similar issue can arise for other attributes like the "type" column added by :class:`.AbstractConcreteBase` if the class fails to include "concrete=True" in its mapper, however the check here should also prevent that scenario from causing a problem. Change-Id: I407b07a3a3e2c374da19fc86ed44b987d595dcfa Fixes: #4124
Diffstat (limited to 'lib/sqlalchemy/dialects/postgresql/dml.py')
0 files changed, 0 insertions, 0 deletions