Another example is class cls1 (Base) ... class cls1_child(cls1) ...
class cls2(Base) cls1_rel = sqlalchemy.rel(cls1, ...) ... a = session.query(cls2) a.cls1_rel - > throw exception if return cls1_child( and it is not loaded before) -- SQLAlchemy - The Python SQL Toolkit and Object Relational Mapper http://www.sqlalchemy.org/ To post example code, please provide an MCVE: Minimal, Complete, and Verifiable Example. See http://stackoverflow.com/help/mcve for a full description. --- 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 https://groups.google.com/group/sqlalchemy. For more options, visit https://groups.google.com/d/optout.
