diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2008-02-16 06:07:28 +0000 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2008-02-16 06:07:28 +0000 |
| commit | 191dbee5c899af3a80050dcfd844c5ebc04195b2 (patch) | |
| tree | 336c9ac1ea84ba8a7a215e8155f95162a43bdc5b /lib/sqlalchemy/engine/__init__.py | |
| parent | 29e456d51c59e10a844ef80c450792473dc9b6f2 (diff) | |
| download | sqlalchemy-191dbee5c899af3a80050dcfd844c5ebc04195b2.tar.gz | |
- remove some old cruft
- deprecate ancient engine_descriptors() method
Diffstat (limited to 'lib/sqlalchemy/engine/__init__.py')
| -rw-r--r-- | lib/sqlalchemy/engine/__init__.py | 21 |
1 files changed, 4 insertions, 17 deletions
diff --git a/lib/sqlalchemy/engine/__init__.py b/lib/sqlalchemy/engine/__init__.py index 443f74c2a..03162bac2 100644 --- a/lib/sqlalchemy/engine/__init__.py +++ b/lib/sqlalchemy/engine/__init__.py @@ -71,23 +71,8 @@ __all__ = [ def engine_descriptors(): """Provide a listing of all the database implementations supported. - - This data is provided as a list of dictionaries, where each - dictionary contains the following key/value pairs: - - name - the name of the engine, suitable for use in the create_engine function - - description - a plain description of the engine. - - arguments - a dictionary describing the name and description of each - parameter used to connect to this engine's underlying DB-API. - - This function is meant for usage in automated configuration tools - that wish to query the user for database and connection - information. + + deprecated - this method will be removed in 0.5. """ result = [] @@ -96,6 +81,8 @@ def engine_descriptors(): __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): |
