]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
ensure collection adapter is serialized
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 2 Aug 2023 17:34:03 +0000 (13:34 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 2 Aug 2023 17:37:22 +0000 (13:37 -0400)
commitb62f791bd4306b636c01707b9c715aa14e6e0903
tree05a7b531b064202c642f8007457bd535bf76ec46
parent19da1e2cfb59ad91c930b627a1facd14d14bd023
ensure collection adapter is serialized

Fixed issue where dictionary-based collections such as
:func:`_orm.attribute_keyed_dict` did not fully pickle/unpickle correctly,
leading to issues when attempting to mutate such a collection after
unpickling.

Fixes: #10175
Change-Id: I1281f8695a0c95a20cab9449ee9c5d2db0d544fe
doc/build/changelog/unreleased_20/10175.rst [new file with mode: 0644]
lib/sqlalchemy/orm/mapped_collection.py
test/orm/test_pickled.py