The following code fails with AttributeError: 'NoneType' object has no attribute 'concrete':
from sqlalchemy import * from sqlalchemy.orm import * from sqlalchemy.ext.declarative import AbstractConcreteBase, declarative_base Base = declarative_base() class Document(Base, AbstractConcreteBase): type = Column(Unicode, nullable=False) class ContactDocument(Document): __abstract__ = True send_method = Column('sendmethod', Unicode) class ActualDocument(ContactDocument): __tablename__ = 'actual_documents' __mapper_args__ = {'concrete': True, 'polymorphic_identity': 'actual'} id = Column(Integer, primary_key=True) configure_mappers() Am I not supposed to have more than one level of abstract base classes? Or am I doing something else wrong? This is with SQLAlchemy 0.9.7. -- 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 sqlalchemy+unsubscr...@googlegroups.com. To post to this group, send email to sqlalchemy@googlegroups.com. Visit this group at http://groups.google.com/group/sqlalchemy. For more options, visit https://groups.google.com/d/optout.