[sqlalchemy] Re: Deprecation of the objects argument to session.flush()

2009-08-23 Thread Alexander Lebedev
Great thanks for the answer. But if these object are already in my session? For example, I create a query, get some related objects from the query. Then the user modifies all objects, but he decides to save only one object, while remaining objects must be changed (user may decide to save this

[sqlalchemy] Re: Deprecation of the objects argument to session.flush()

2009-08-23 Thread Alexander Lebedev
Hi, Michael! Thanks for so detail answer. My project is a Windows application, it works with sqlite database. So, no concurrent transaction may appear. I guess, the two session solution is the best for me. Solution with a distinct Session for each window seems me unwieldy as the solution with