diff options
| author | Federico Caselli <cfederico87@gmail.com> | 2021-10-30 22:24:51 +0200 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2021-10-31 12:31:56 -0400 |
| commit | ed78e679eafe787f4c152b78726bf1e1b91ab465 (patch) | |
| tree | 9ba564f0ad1f0569650fcf803157bf4576fc738f /lib/sqlalchemy/databases | |
| parent | 4427ec68219b624a89dda4acb994c80fa0d8a5d7 (diff) | |
| download | sqlalchemy-ed78e679eafe787f4c152b78726bf1e1b91ab465.tar.gz | |
Remove deprecated dialects and drivers
Fixes: #7258
Change-Id: I3577f665eca04f2632b69bcb090f0a4ec9271db9
Diffstat (limited to 'lib/sqlalchemy/databases')
| -rw-r--r-- | lib/sqlalchemy/databases/__init__.py | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/lib/sqlalchemy/databases/__init__.py b/lib/sqlalchemy/databases/__init__.py deleted file mode 100644 index 017680425..000000000 --- a/lib/sqlalchemy/databases/__init__.py +++ /dev/null @@ -1,38 +0,0 @@ -# databases/__init__.py -# Copyright (C) 2005-2021 the SQLAlchemy authors and contributors -# <see AUTHORS file> -# -# This module is part of SQLAlchemy and is released under -# the MIT License: https://www.opensource.org/licenses/mit-license.php - -"""Include imports from the sqlalchemy.dialects package for backwards -compatibility with pre 0.6 versions. - -""" -from ..dialects.firebird import base as firebird -from ..dialects.mssql import base as mssql -from ..dialects.mysql import base as mysql -from ..dialects.oracle import base as oracle -from ..dialects.postgresql import base as postgresql -from ..dialects.sqlite import base as sqlite -from ..dialects.sybase import base as sybase -from ..util import warn_deprecated_20 - -postgres = postgresql - - -__all__ = ( - "firebird", - "mssql", - "mysql", - "postgresql", - "sqlite", - "oracle", - "sybase", -) - - -warn_deprecated_20( - "The `database` package is deprecated and will be removed in v2.0 " - "of sqlalchemy. Use the `dialects` package instead." -) |
