well it's not set to be mapped until after the setup part of it. if you want to get every class whether mapped or not, maybe use Base.__subclasses__() ?
What's the use case where you need the abstract base in the decl class registry? it's not really something you'd want to refer to in a relationship(). On Sep 5, 2014, at 9:56 AM, Alex Grönholm <[email protected]> wrote: > Thanks. I've filed an issue at Bitbucket. > > A follow-up question: Why are abstract base classes not present in the > declarative class registry? Or is there another way to get all the mapped > classes besides iterating over Base._decl_class_registry? > > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/sqlalchemy. > For more options, visit https://groups.google.com/d/optout. -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sqlalchemy. For more options, visit https://groups.google.com/d/optout.
