SQLAlchemy already understands that class A is abstract, and if it doesn't > have the relationship that is also fine, but then there's nothing to point > a "back populates" towards. If you want a "back populates" then you have > to make the "action" relationship on your base class. This is possible, > you'd just have to get it to be in terms of the polymorphic selectable > youre mapping to on the abstract class. >
Is it possible to create a polymorphic selectable returning an empty collection? I could not think of a way of doing this using * polymorphic_union*. I just need to lure the orm for the abstract class "A" returning an empty list... it will never return anything anyway, because I do not intend to instantiate A. -- 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/groups/opt_out.
