diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2020-01-21 18:41:48 -0500 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2020-01-21 20:09:39 -0500 |
| commit | c506e01324cac524ee15257d31d9821aa8a23b95 (patch) | |
| tree | e3fef4f33a05b4f8cacd21a7a3e42089694f9a85 /lib/sqlalchemy/sql/naming.py | |
| parent | d8ac1e9e6bfc931d2f14f9846d6924106f56b7e6 (diff) | |
| download | sqlalchemy-c506e01324cac524ee15257d31d9821aa8a23b95.tar.gz | |
Reorganize core event modules to avoid import cycles
sqlalchemy.sql.naming was causing a full import of
engine due to the DDLEvents dependency. Break out pool,
DDL and engine events into new modules specific to those
packages; resolve some other import cycles in Core also.
Change-Id: Ife8d217e58a26ab3605dd80ee70837968f957eaf
Diffstat (limited to 'lib/sqlalchemy/sql/naming.py')
| -rw-r--r-- | lib/sqlalchemy/sql/naming.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/sql/naming.py b/lib/sqlalchemy/sql/naming.py index 756a85b22..f530177dd 100644 --- a/lib/sqlalchemy/sql/naming.py +++ b/lib/sqlalchemy/sql/naming.py @@ -12,6 +12,7 @@ import re +from . import events # noqa from .elements import _defer_name from .elements import _defer_none_name from .elements import conv @@ -24,7 +25,6 @@ from .schema import PrimaryKeyConstraint from .schema import Table from .schema import UniqueConstraint from .. import event -from .. import events # noqa from .. import exc |
