On Jul 6, 2008, at 5:08 AM, Iwan wrote:
> > > On Jul 4, 3:41 pm, Michael Bayer <[EMAIL PROTECTED]> wrote: >> On Jul 4, 2008, at 5:40 AM, Iwan wrote: >> >>> Assume also that CC.get_context_hash() returns id(CC.get_context()) >>> >>> Session = scoped_session(sessionmaker(), >>> scopefunc=CC.get_context_hash) >> >> if get_context_hash returns a dict, thats specifically what would >> *not* work since its not hashable. > > Mmm, please note I said it should return id() of the dict... ok, sounds good. have you tried it ? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalchemy@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---