Commits

jason kirtland  committed 637c439

Winnowed __all__ for 'import * from sqlalchemy.engine'

  • Participants
  • Parent commits e877330

Comments (0)

Files changed (1)

File lib/sqlalchemy/engine/__init__.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.