]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
use internal declarative creator for DeclarativeBaseNoMeta
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 30 May 2023 18:54:42 +0000 (14:54 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 5 Jun 2023 15:32:11 +0000 (11:32 -0400)
commit8e297afa8ddd66d5d7317a1b965a8919adb8f1aa
treeabff5a23fe371ad52157dbe6f76619bc10127e54
parent7f55ba3e08e2c2631c062550a4211309b2b9e238
use internal declarative creator for DeclarativeBaseNoMeta

Fixed issue where :class:`.DeclarativeBaseNoMeta` declarative base class
would not function with non-mapped mixins or abstract classes, raising an
``AttributeError`` instead.

Fixes: #9862
Change-Id: I91cfe663530a2eb712004b9fb09d3f0cefcaeef5
doc/build/changelog/unreleased_20/9862.rst [new file with mode: 0644]
lib/sqlalchemy/orm/decl_api.py
test/orm/declarative/test_basic.py