if you reflect a table that has a foreign key reference on itself to another table, that other table will be reflected as well, but at that point the second Table object is sitting inside the MetaData instance. to use it in a relation still requires that the related class is mapped, which requires having its table...so....yeah for any class you want to map you need to explicitly get a hold of the corresponding Table (or use ActiveMapper, or SqlSoup, which try to work around this step).
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalchemy@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---