This one time, at band camp, Jamie Wilkinson wrote:
>Is there a way to query SA for the current set of mappers, and get the
>mapper for a particular class?

Yes!  It's object_mapper, in sqlalchemy.orm.

  mapper = object_mapper(instance)



-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
Sqlalchemy-users mailing list
Sqlalchemy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users

Reply via email to