On Jan 28, 2009, at 11:21 AM, GustaV wrote:
> > I'm using Declarative extension actually. > > In the pylons framework, the session initialise like this > def init_model(engine): > """Call me before using any of the tables or classes in the > model""" > sm = orm.sessionmaker(autoflush=True, autocommit=False, > bind=engine) > > meta.engine = engine > meta.Session = orm.scoped_session(sm) that's all unrelated. Nothing is added to the Session implicitly upon __init__ unless you are using the Session.mapper function, a function I've removed from almost all documentation and will likely be sending into deprecation soon. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" 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/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---
