]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Accommodate for same base class multiple times in inherits list
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 27 Sep 2020 15:44:58 +0000 (11:44 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 27 Sep 2020 15:45:49 +0000 (11:45 -0400)
commit17dd7fce6164794f6fd75a9351061f109e3360b1
treeec85112b76a1124c113993d8124c7516134dfae5
parentffafbd4b9657a4ee8bec57c0861414144f37bdc5
Accommodate for same base class multiple times in inherits list

Improved declarative inheritance scanning to not get tripped up when the
same base class appears multiple times in the base inheritance list.

Fixes: #4699
Change-Id: I932e735cd2e2c1efa935936c84219924225d10f1
doc/build/changelog/unreleased_14/4699.rst [new file with mode: 0644]
lib/sqlalchemy/orm/decl_base.py
test/orm/declarative/test_mixin.py