[sqlalchemy] Re: Sessions + Twisted Perspective Broker

2008-07-18 Thread Michael Bayer
On Jul 18, 2008, at 11:47 AM, Jeff wrote: I think that I'm using sessions wrong. I know I should be creating a new session for every request from PB-- but then how do I store a persistent copy of the Person object in the Avatar? Should I create a new session each time and use

[sqlalchemy] Re: Sessions + Twisted Perspective Broker

2008-07-18 Thread Jeff
Alright, merge() it is. That's kind of what I was leaning towards, as it seems that it would be the easiest (at this point) to implement. Thanks for weighing in, and thanks again for a great library. -Jeff On Jul 18, 2:12 pm, Michael Bayer [EMAIL PROTECTED] wrote: On Jul 18, 2008, at 11:47