diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2018-03-12 12:50:52 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2018-03-12 12:51:54 -0400 |
| commit | aeb825fef70e40e02ce4de01e4d1053aafc0ccba (patch) | |
| tree | ee1b933cbcb2349e12e869a021497bb4b98346f8 /test/sql | |
| parent | b8a928e5293d3bc4017e352da123176121178b71 (diff) | |
| download | sqlalchemy-aeb825fef70e40e02ce4de01e4d1053aafc0ccba.tar.gz | |
Ignore non-primary mappers within mutable instrumentation
Fixed bug where using :meth:`.Mutable.associate_with` or
:meth:`.Mutable.as_mutable` in conjunction with a class that has non-
primary mappers set up with alternatively-named attributes would produce an
attribute error. Since non-primary mappers are not used for persistence,
the mutable extension now excludes non-primary mappers from its
instrumentation steps.
Change-Id: I2630d9f771a171aece03181ccf9159885f68f25e
Fixes: #4215
(cherry picked from commit 0fd508ad32a6f94653757a5ae10c1eae14e099fc)
Diffstat (limited to 'test/sql')
0 files changed, 0 insertions, 0 deletions
