diff options
Diffstat (limited to 'lib/sqlalchemy/databases/__init__.py')
| -rw-r--r-- | lib/sqlalchemy/databases/__init__.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/sqlalchemy/databases/__init__.py b/lib/sqlalchemy/databases/__init__.py index 77191819b..3e636871b 100644 --- a/lib/sqlalchemy/databases/__init__.py +++ b/lib/sqlalchemy/databases/__init__.py @@ -16,7 +16,7 @@ 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 @@ -30,3 +30,9 @@ __all__ = ( "oracle", "sybase", ) + + +warn_deprecated_20( + "The `database` package is deprecated and will be removed in v2.0 " + "of sqlalchemy. Use the `dialects` package instead." +) |
