]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
add tests for pickling types inside an expression, some reduce methods
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 15 Oct 2024 12:20:25 +0000 (08:20 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 15 Oct 2024 16:00:44 +0000 (12:00 -0400)
commitfa568215788c274eb2d178b6eb180ab1f7955c01
treeb25f5801f12ae37a8f89ca8387743db9e4bb8a61
parent4d4bd9a42d67fb4d15b13bcbb4fbdc900ba4ca83
add tests for pickling types inside an expression, some reduce methods

Fixed regression from 1.4 where some datatypes such as those derived from
:class:`.TypeDecorator` could not be pickled when they were part of a
larger SQL expression composition due to internal supporting structures
themselves not being pickleable.

Fixes: #12002
Change-Id: I016e37b0c62071413f24c9aac35f6ecf475becaa
doc/build/changelog/unreleased_20/12002.rst [new file with mode: 0644]
lib/sqlalchemy/sql/type_api.py
test/sql/test_types.py