]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
setup JoinedDispatch to support pickling
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 7 May 2024 22:03:51 +0000 (18:03 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 8 May 2024 15:12:20 +0000 (11:12 -0400)
commit039c684331c387718339f1a735c0cb22aa00faa9
tree35bd15eb9e3b329a3c1c4cbd45b8adf1673046b2
parent3848aa957870ad84d79aabe90c1309d4e5426844
setup JoinedDispatch to support pickling

Fixed issue where a :class:`.MetaData` collection would not be
serializable, if an :class:`.Enum` or :class:`.Boolean` datatype were
present which had been adapted. This specific scenario in turn could occur
when using the :class:`.Enum` or :class:`.Boolean` within ORM Annotated
Declarative form where type objects frequently get copied.

Fixes: #11365
Change-Id: Iaaa64baad79c41075d37cf53dade744d79e600a3
(cherry picked from commit 93cfb49572ac56bc320a09b82285bf8ef8cdff57)
doc/build/changelog/unreleased_20/11365.rst [new file with mode: 0644]
lib/sqlalchemy/event/base.py
test/sql/test_types.py