]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
check for TypeDecorator when handling getitem
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 19 Jul 2022 14:50:05 +0000 (10:50 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 19 Jul 2022 16:37:57 +0000 (12:37 -0400)
commit81d20ae7f23c9e3f3487dc91687f934ee6ae124c
treeacc9665f944a16f309163a188ef24e2957de9f35
parent6d0570de2b43463b82fbf6628610bf3c89befd59
check for TypeDecorator when handling getitem

Fixed issue where :class:`.TypeDecorator` would not correctly proxy the
``__getitem__()`` operator when decorating the :class:`.ARRAY` datatype,
without explicit workarounds.

Fixes: #7249
Change-Id: I3273572b4757e41fb5952639cb867314227d368a
(cherry picked from commit 1e01fab7e600c53284eabceceab5706e4074eb2e)
doc/build/changelog/unreleased_14/7249.rst [new file with mode: 0644]
lib/sqlalchemy/sql/default_comparator.py
lib/sqlalchemy/sql/type_api.py
test/sql/test_types.py