diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2016-10-21 09:34:32 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2016-10-21 10:42:14 -0400 |
commit | 1f32d014da5d40406cd5d3996be5283c2fc57b26 (patch) | |
tree | 81c267cfebe0ca9e00393270e07a62c4d64dc694 /lib/sqlalchemy/orm/unitofwork.py | |
parent | 232eec47d13974e9c7bc7bafacba93ddbd59747d (diff) | |
download | sqlalchemy-1f32d014da5d40406cd5d3996be5283c2fc57b26.tar.gz |
Ensure .mapper is set on _ColumnEntity
_ColumnEntity didn't seem to have .mapper present, which
due to the way _mapper_zero() worked didn't tend to come
across it. With :ticket:`3608` _mapper_zero() has
been simplified so make sure this is now present.
Also ensure that _select_from_entity is an entity and
not a mapped class, though this does not seem to matter
at the moment.
Fixes: #3836
Change-Id: Id6dae8e700269b97de3b01562edee95ac1e01f80
Diffstat (limited to 'lib/sqlalchemy/orm/unitofwork.py')
0 files changed, 0 insertions, 0 deletions