If I have a record object. me = Person.query.get(id)
and I access me.__dict__ everything looks good. However when I execute a db.session.commit() the me.__dict__ disappears and only contains _sa_state_instance The second I access an attribute of the me instance, __dict__ comes back. What is the best way to always make sure the __dict__ instance is always populated with the object data without knowing any of the column names ahead of time ? -- Thadeus -- 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.
