]> 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:23 +0000 (17:29 -0500)
commitf4a72d3720bcc084a8bb7fb48ad40e2db30b7a6d
treed66035fb18b00751aafc5ab3928295335de77eda
parent4a24277f0dd1c07c8ec194a3ad19fe6f9d998445
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
(cherry picked from commit 12dad561a77506fe262d791d3135babc0be50e66)
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