Hi,

use mapper.get_property(name) and mapper.iterate_properties ().   I've
> > considered removing "properties" as a public accessor since it serves
> > no useful purpose.
>
>
Ok, I found a hacky way that does what I need:

[(n, getattr(obj, n)) for n in dir(obj)
        if isinstance(getattr(obj, n),
sqlalchemy.orm.attributes.InstrumentedAttribute)]

That'll do me for now.

Paul

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to