For example, I have a Mixin as follow:

class MyNoteMixin:
    note = Column(String)

Now I have a subclass that inherit from the above Mixin, but needs two 
different columns both are of a note nature. Can I do something like:

class Child(Base, MyNoteMixin as "Description", MyNoteMixin as "Quote"):

So that the resolved table would contain a column named Description that is 
exactly a MyNoteMixin copy except for the name, AND also has another column 
named Quote with the same nature.

Is this possible with SQLAlchemy? Thanks.

You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
To post to this group, send email to
Visit this group at
For more options, visit

Reply via email to