On 8/17/07, Michael Bayer <[EMAIL PROTECTED]> wrote: > > > > On Aug 17, 4:36 pm, "Mike Orr" <[EMAIL PROTECTED]> wrote: > > > > However, this classmethod thing has hit a collision with > > model.Session.configure(bind=) in the "Multiple Engines" chapter. > > MikeB says the example does not do what it says: it affects only > > future sessions, not the current one. We're discussing how to handle > > this on the pylons-devel list. It's easy to work around this; but > > it's harder to explain it to newbies without introducing additional > > syntax. > > > > We may have to do model.Session().configure(bind=), which is > > inconsistent with the other class methods. Mike has suggested a > > lambda but I'm not sure it will work. I'm wondering if SQLAlchemy > > needs to rethink its .configure method or add another method. So this > > is up in the air. > > like I said, just do model.Session(bind=foo) for now.
OK, I misread what you wrote. -- Mike Orr <[EMAIL PROTECTED]> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" 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/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
