]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
remove case_sensitive create_engine parameter
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 31 Oct 2021 16:54:23 +0000 (12:54 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 1 Nov 2021 19:06:25 +0000 (15:06 -0400)
commit1f7c699962558d26eb5ce8ccbe934ced97f7d598
tree4c329f4c5c93a0bf4487607ba7a0b4e959d448ce
parent7a0a035601258b8ac32e84830b2a615b03aec98f
remove case_sensitive create_engine parameter

Removed the previously deprecated ``case_sensitive`` parameter from
:func:`_sa.create_engine`, which would impact only the lookup of string
column names in Core-only result set rows; it had no effect on the behavior
of the ORM. The effective behavior of what ``case_sensitive`` refers
towards remains at its default value of ``True``, meaning that string names
looked up in ``row._mapping`` will match case-sensitively, just like any
other Python mapping.

Change-Id: I0dc4be3fac37d30202b1603db26fa10a110b618d
doc/build/changelog/unreleased_20/casesens.rst [new file with mode: 0644]
lib/sqlalchemy/engine/create.py
lib/sqlalchemy/engine/cursor.py
lib/sqlalchemy/engine/default.py
test/sql/test_deprecations.py