]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
pickle mutable parents according to key
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 14 Jun 2022 19:41:31 +0000 (15:41 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 14 Jun 2022 20:16:06 +0000 (16:16 -0400)
commit042bccd2e4d6fbfcdf70ede760b29f78771f4b22
tree9662d95a33d7c24759208e3831f15b7b406cf953
parentbcd03652c45e1638aaadc398d990696a49f56dbb
pickle mutable parents according to key

Fixed bug in :class:`.Mutable` where pickling and unpickling of an ORM
mapped instance would not correctly restore state for mappings that
contained multiple :class:`.Mutable`-enabled attributes.

Fixes: #8133
Change-Id: I508763e0df0d7a624e1169f9a46d7f25404add1e
doc/build/changelog/unreleased_14/8133.rst [new file with mode: 0644]
lib/sqlalchemy/ext/mutable.py
test/ext/test_mutable.py