[Checkins] SVN: Product.ZSQLAlchemy/trunk/ZSQLAlchemy.py added getSession()

Andreas Jung andreas at andreas-jung.com
Thu Feb 1 07:16:50 EST 2007


Log message for revision 72296:
  added getSession()
  

Changed:
  U   Product.ZSQLAlchemy/trunk/ZSQLAlchemy.py

-=-
Modified: Product.ZSQLAlchemy/trunk/ZSQLAlchemy.py
===================================================================
--- Product.ZSQLAlchemy/trunk/ZSQLAlchemy.py	2007-02-01 12:08:53 UTC (rev 72295)
+++ Product.ZSQLAlchemy/trunk/ZSQLAlchemy.py	2007-02-01 12:16:50 UTC (rev 72296)
@@ -65,6 +65,11 @@
         return sqlalchemy.BoundMetaData(self._engine)
 
 
+    security.declarePublic('getSession')
+    def getSession(self):      
+        """ return the session itself"""
+        return self._session
+
 InitializeClass(SessionProxy)
 
 



More information about the Checkins mailing list