On Mar 17, 12:17 am, Alessandro Dentella <[email protected]> wrote:
>   Now I want to get User class starting from Project and 'staff'.
>
>   Project.__mapper__.get_property('manager')._get_target().class_
>
>   seems to do that but the leading underscore in _get_target suggest it's
>   private, so I wandererd if that's the best way...

Project.manager.property.mapper.class_
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to