]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Add "impl" parameter to PickleType
authorjason3gb <jason3gb@gmail.com>
Thu, 24 Jun 2021 16:11:04 +0000 (12:11 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 24 Jun 2021 16:22:20 +0000 (12:22 -0400)
commit791f1d9407f68cc668c7078fa87784ebdf3bd688
tree6d7a83795ddfe6e352899ea36105d306b62916a5
parentfb141d9d5e3116dc233138fa0cf78ffdd05be87a
Add "impl" parameter to PickleType

Add a impl parameter to :class:`_types.PickleType` constructor, allowing
any arbitary type to be used in place of the default implementation of
:class:`_types.LargeBinary`. Pull request courtesy jason3gb.

Fixes: #6646
Closes: #6657
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/6657
Pull-request-sha: e49bcd368d1f71dba92225d8d6e3af2bbe7142f7

Change-Id: Ib79f3b0ebbc94393f673f5a5ba6558260083d0cf
doc/build/changelog/unreleased_14/6646.rst [new file with mode: 0644]
lib/sqlalchemy/sql/sqltypes.py
test/sql/test_types.py