Skip to content

Commit

Permalink
removed old ZopeBaseWrapper code and making it an alias
Browse files Browse the repository at this point in the history
to BaseWrapper (BBB)
  • Loading branch information
zopyx committed Mar 15, 2008
1 parent 1684f53 commit 588fae6
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions src/z3c/sqlalchemy/base.py
Expand Up @@ -131,17 +131,5 @@ def _createEngine(self):
transactional=True,
**self.session_options)

ZopeBaseWrapper = BaseWrapper

class ZopeBaseWrapper(BaseWrapper):
""" A wrapper to be used from within Zope. It connects
the session with the transaction management of Zope.
"""

@property
def connection(self):
""" This property is _private_ and only intented to be used
by SQLAlchemyDA and therefore it is not part of the
public API.
"""

return self.__getOrCreateConnectionCacheItem(self._id)['connection']

0 comments on commit 588fae6

Please sign in to comment.