]> 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:26 +0000 (12:37 -0400)
commit807d4945d2c1e2f2e1c77ac9ee6e84af330706a3
tree4bb43a5fa68f8515eb965fc863e6bbbc21429d4f
parent42c0928a731954649e95a7ee56b6709b1ec59aed
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
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