Hi Michael,
I read http://www.sqlalchemy.org/trac/ticket/1751 with some curiousity.
My take on declarative mixins was that _as_declarative should basically
accumulate everything from the bases as if it were in the class itself
and then let _as_declarative behave exactly as it usually did on
On Mar 27, 2010, at 12:31 PM, Chris Withers wrote:
Hi Michael,
I read http://www.sqlalchemy.org/trac/ticket/1751 with some curiousity.
My take on declarative mixins was that _as_declarative should basically
accumulate everything from the bases as if it were in the class itself and
Michael Bayer wrote:
We can fine tune the restriction to be more about specifically what was in that
ticket, i.e.
BaseClass(Base)
some column
Mixin
some column with foreign key to BaseClass.some column
ActualClass(BaseClass)
some column that overrides BaseClass.some column