]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Remove type key in mysql index reflection dicts
authorFederico Caselli <cfederico87@gmail.com>
Fri, 10 Jan 2025 22:26:50 +0000 (23:26 +0100)
committerFederico Caselli <cfederico87@gmail.com>
Fri, 23 May 2025 21:06:41 +0000 (23:06 +0200)
commit45c6e849e608e2b89de4c6d42af2a4e4d3488b7c
tree80f335b38d655de24bcb556b966c3ddaaaf82ed7
parent4cac1c6002f805879188c21fb4c75b7406d743f3
Remove type key in mysql index reflection dicts

Updated the reflection logic for indexes in the MariaDB and MySQL
dialect to avoid setting the undocumented ``type`` key in the
:class:`_engine.ReflectedIndex` dicts returned by
:class:`_engine.Inspector.get_indexes` method.

Fixes: #12240
Change-Id: Id188d8add441fe2070f36950569401c63ee35ffa
doc/build/changelog/unreleased_21/12240 .rst [new file with mode: 0644]
lib/sqlalchemy/dialects/mysql/base.py