[sqlalchemy] Re: association proxy error: stale association proxy

2008-04-29 Thread Paul K
I understand why I'm seeing the error. But should the user really be required to keep the parent around in a variable? I would have thought that the session would be tracking each successive changes. --~--~-~--~~~---~--~~ You received this message because you are

[sqlalchemy] Re: association proxy error: stale association proxy

2008-04-29 Thread jason kirtland
Paul K wrote: The following code duplicates a situation I'm seeing with the association proxy. There are at least two ways I can avoid having the error happen. But since I wasn't sure if the error is a usage error, I wanted to post here first before implementing my work around. One work

[sqlalchemy] Re: association proxy error: stale association proxy

2008-04-29 Thread Paul K
Thanks. That fixed what I was seeing. Paul Kippes On Apr 29, 1:49 pm, jason kirtland [EMAIL PROTECTED] wrote: Paul K wrote: The following code duplicates a situation I'm seeing with the association proxy. There are at least two ways I can avoid having the error happen. But since I