[EMAIL PROTECTED] wrote: > On Friday 20 June 2008 17:38:25 Michael Bayer wrote: [snip] > move it in some convenience.py? > together with other such non-mandatory but convenient shortcuts that > most people would make in one form or another
In my mind, create_session is actually not the shortcut or convenience, it's more low-level than sessionmaker, which is quite magic in comparison. So I'd say sessionmaker is the convenience. The thing about good conveniences is that you'd want most people to use them. I'm just in a special position as I'm basically replacing sessionmaker with Zope 3 style configuration, which, by working together with another magic convenience story, scoped_session, can do neat things like have the same 'Session' be connected to different engines in different contexts. Regards, Martijn --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---