Skip to content

Commit

Permalink
re-added connection property
Browse files Browse the repository at this point in the history
  • Loading branch information
zopyx committed Mar 16, 2008
1 parent d99e668 commit 8600799
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/z3c/sqlalchemy/base.py
Expand Up @@ -101,6 +101,10 @@ def session(self):
transaction.get().join(AlchemyDataManager(session))
return session

@property
def session(self):
return session.connection()._Connection__connection.connection

def registerMapper(self, mapper, name):
self._mappers.registerMapper(mapper, name)

Expand Down

0 comments on commit 8600799

Please sign in to comment.