summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/engine/threadlocal.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2006-10-17 02:03:00 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2006-10-17 02:03:00 +0000
commit180d3741997c1471b9199334d6076e45cd581d62 (patch)
treede7b56896d440e375a10df1440f6cccec11047cc /lib/sqlalchemy/engine/threadlocal.py
parentbc698d778d9bc8ddf2ee676fde24326f819da7dc (diff)
downloadsqlalchemy-180d3741997c1471b9199334d6076e45cd581d62.tar.gz
reorganizing classnames a bit, flagging "private" classes in the sql package,
getting the generated docs to look a little nicer. fixes to extensions, sqlsoup etc. to be compatible with recent API tweaks
Diffstat (limited to 'lib/sqlalchemy/engine/threadlocal.py')
-rw-r--r--lib/sqlalchemy/engine/threadlocal.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/sqlalchemy/engine/threadlocal.py b/lib/sqlalchemy/engine/threadlocal.py
index d86828716..a04e8edbe 100644
--- a/lib/sqlalchemy/engine/threadlocal.py
+++ b/lib/sqlalchemy/engine/threadlocal.py
@@ -83,14 +83,14 @@ class TLTransaction(base.Transaction):
def rollback(self):
self.connection.session.rollback()
-class TLEngine(base.ComposedSQLEngine):
- """a ComposedSQLEngine that includes support for thread-local managed transactions. This engine
+class TLEngine(base.Engine):
+ """an Engine that includes support for thread-local managed transactions. This engine
is better suited to be used with threadlocal Pool object."""
def __init__(self, *args, **kwargs):
"""the TLEngine relies upon the ConnectionProvider having "threadlocal" behavior,
so that once a connection is checked out for the current thread, you get that same connection
repeatedly."""
- base.ComposedSQLEngine.__init__(self, *args, **kwargs)
+ super(TLEngine, self).__init__(*args, **kwargs)
self.context = util.ThreadLocal()
def raw_connection(self):
"""returns a DBAPI connection."""