On Wed, 2009-10-21 at 09:24 -0700, David Gardner wrote:
> Using setattr() shouldn't be a problem, however the __dict__ attribute
> also has other things in there like _sa_instance_state that I don't
> believe you 
> want to copy to the new item. Try this instead:
> 
> for col in object_mapper(update):
>     setattr(proxy,col.key,getattr(update,col.key))
> 

Hum hum 

"Object Mapper is not Callable"

So I don't understand what you mean.


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