]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Completed engine_descriptors() removal (started in r4900)
authorJason Kirtland <jek@discorporate.us>
Tue, 15 Jul 2008 21:50:48 +0000 (21:50 +0000)
committerJason Kirtland <jek@discorporate.us>
Tue, 15 Jul 2008 21:50:48 +0000 (21:50 +0000)
lib/sqlalchemy/engine/__init__.py

index b8b1c719fd9d712c99fbf8a817133ac30cf75d24..f22987976fc096a559108ff444c5e7bf980f1bd3 100644 (file)
@@ -75,28 +75,27 @@ 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',
+    'BufferedColumnResultProxy',
+    'BufferedColumnRow',
+    'BufferedRowResultProxy',
+    'Compiled',
+    'Connectable',
+    'Connection',
+    'DefaultRunner',
+    'Dialect',
+    'Engine',
+    'ExecutionContext',
+    'NestedTransaction',
+    'ResultProxy',
+    'RootTransaction',
+    'RowProxy',
+    'SchemaIterator',
+    'Transaction',
+    'TwoPhaseTransaction',
+    'create_engine',
+    'engine_from_config',
     )
 
-def engine_descriptors():
-    """Provide a listing of all the database implementations supported.
-
-    This method will be removed in 0.5.
-
-    """
-    result = []
-    for module in sqlalchemy.databases.__all__:
-        module = getattr(
-            __import__('sqlalchemy.databases.%s' % module).databases, module)
-        result.append(module.descriptor())
-    return result
-engine_descriptors = util.deprecated()(engine_descriptors)
-
 
 default_strategy = 'plain'
 def create_engine(*args, **kwargs):