]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Adding setter to should_evaluate_none property
authorsanjana <sanjana0796@gmail.com>
Wed, 13 Feb 2019 15:17:46 +0000 (10:17 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 13 Feb 2019 22:29:13 +0000 (17:29 -0500)
commit12dad561a77506fe262d791d3135babc0be50e66
treec60ca8c1edab121ae45455bb10338909595a90b0
parent5cc5234e0b065907deb2765249dde1c526fe5c89
Adding setter to should_evaluate_none property

Fixed issue where the :class:`.JSON` type had a read-only
:attr:`.JSON.should_evaluate_none` attribute, which would cause failures
when making use of the :meth:`.TypeEngine.evaluates_none` method in
conjunction with this type.  Pull request courtesy Sanjana S.

Fixes: #4485
Closes: #4496
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/4496
Pull-request-sha: 044beb23982d411be6fe640716b1b693df0f7189

Change-Id: I1f3e1d7dec9d2ceb6ccaaa8cac158a062cf02710
doc/build/changelog/unreleased_12/4485.rst [new file with mode: 0644]
lib/sqlalchemy/sql/sqltypes.py
test/orm/test_unitofworkv2.py
test/sql/test_types.py