[Checkins] SVN: z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/base.py passing 'kw' down to the sessionmaker

Andreas Jung andreas at andreas-jung.com
Tue Oct 30 10:44:44 EDT 2007


Log message for revision 81209:
  passing 'kw' down to the sessionmaker
  

Changed:
  U   z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/base.py

-=-
Modified: z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/base.py
===================================================================
--- z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/base.py	2007-10-30 11:29:24 UTC (rev 81208)
+++ z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/base.py	2007-10-30 14:44:44 UTC (rev 81209)
@@ -144,7 +144,8 @@
         self._engine.echo = self.echo
         self._sessionmaker = sqlalchemy.orm.sessionmaker(bind=self._engine, 
                                                          autoflush=True,
-                                                         transactional=True)
+                                                         transactional=True,
+                                                         **self.kw)
 
 
 connection_cache = SynchronizedThreadCache()



More information about the Checkins mailing list