summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Kirtland <jek@discorporate.us>2007-10-13 20:50:04 +0000
committerJason Kirtland <jek@discorporate.us>2007-10-13 20:50:04 +0000
commit059b939dbaa3cc56c2b2c3a5ed067f8f196ab8ac (patch)
tree173974d452ed4b341844ff7389181f7c3682c5ed
parent810e29e34056fff671457ee64a078ac3e31bf1ff (diff)
downloadsqlalchemy-059b939dbaa3cc56c2b2c3a5ed067f8f196ab8ac.tar.gz
Winnowed __all__ for 'import * from sqlalchemy.engine'
-rw-r--r--lib/sqlalchemy/engine/__init__.py16
1 files changed, 15 insertions, 1 deletions
diff --git a/lib/sqlalchemy/engine/__init__.py b/lib/sqlalchemy/engine/__init__.py
index 1c1107d3d..758721712 100644
--- a/lib/sqlalchemy/engine/__init__.py
+++ b/lib/sqlalchemy/engine/__init__.py
@@ -51,10 +51,24 @@ url.py
"""
import sqlalchemy.databases
-from sqlalchemy.engine.base import *
+from sqlalchemy.engine.base import Dialect, ExecutionContext, Compiled, \
+ Connectable, Connection, Transaction, RootTransaction, \
+ NestedTransaction, TwoPhaseTransaction, Engine, RowProxy, \
+ BufferedColumnRow, ResultProxy, BufferedRowResultProxy, \
+ BufferedColumnResultProxy, SchemaIterator, DefaultRunner
from sqlalchemy.engine import strategies
from sqlalchemy import util
+
+__all__ = [
+ 'engine_descriptors', 'create_engine', 'engine_from_config',
+ 'Dialect', 'ExecutionContext', 'Compiled', 'Connectable',
+ 'Connection', 'Transaction', 'RootTransaction', 'NestedTransaction',
+ 'TwoPhaseTransaction', 'Engine', 'RowProxy', 'BufferedColumnRow',
+ 'ResultProxy', 'BufferedRowResultProxy', 'BufferedColumnResultProxy',
+ 'SchemaIterator', 'DefaultRunner',
+ ]
+
def engine_descriptors():
"""Provide a listing of all the database implementations supported.