[sqlalchemy] Re: Polymorphic write - 'InstanceState' object has no attribute 'manager'

2010-05-07 Thread andrew cooke
As far as I know, I'm doing nothing that complex. I am creating a pile of mapped objects in Python and then dumping them to the database. The most likely cause is that a field is None, or of the incorrect type in some way, I would have guessed. Andrew On May 7, 9:56 am, Michael Bayer

Re: [sqlalchemy] Re: Polymorphic write - 'InstanceState' object has no attribute 'manager'

2010-05-07 Thread Michael Bayer
manager is an attribute on InstanceState that is set at construction time, and is never changed thereafter.Looking at your error more closely, its not that manager is None, its not even present. That can only happen if something del'ed the manager attribute, the InstanceState somehow went