On May 7, 2007, at 3:59 PM, Cory Johns wrote:
>> a better choice would be property.mapper.class_ , i.e. >> >> object_mapper(ormvar).properties[attr].mapper.class_ > > Out of curiosity, why is this a better choice? Less likely to > change in the > future, or simply more descriptive? > id say both. "property.argument" is just whatever was passed directly to the "relation" function which may be a mapper or a class (or maybe other things in a future release), its essentially the unparsed argument. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---