]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Correct name for json_serializer / json_deserializer, document and test
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 9 Aug 2019 03:34:20 +0000 (23:34 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 9 Aug 2019 03:53:40 +0000 (23:53 -0400)
commit622571e758942297bd7aae656ae09062049a41b5
tree551851e2b197e2223bcf361f63f68fc9f17d348c
parent2185b0698b5a87272b8ddb64048e1d0a369d4b56
Correct name for json_serializer / json_deserializer, document and test

The dialects that support json are supposed to take arguments
``json_serializer`` and ``json_deserializer`` at the create_engine() level,
however the SQLite dialect calls them ``_json_serilizer`` and
``_json_deserilalizer``.  The names have been corrected, the old names are
accepted with a change warning, and these parameters are now documented as
:paramref:`.create_engine.json_serializer` and
:paramref:`.create_engine.json_deserializer`.

Fixes: #4798
Change-Id: I1dbfe439b421fe9bb7ff3594ef455af8156f8851
(cherry picked from commit 104e6907284e602a8485f32fc67fd6af0c00e4d0)
doc/build/changelog/unreleased_13/4798.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/sqlite/base.py
lib/sqlalchemy/engine/__init__.py
lib/sqlalchemy/sql/sqltypes.py
lib/sqlalchemy/testing/suite/test_types.py
test/dialect/test_sqlite.py