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/traversals.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/traversals.py')
-rw-r--r-- | lib/sqlalchemy/sql/traversals.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/sql/traversals.py b/lib/sqlalchemy/sql/traversals.py index 68a3a0749..03ff7c439 100644 --- a/lib/sqlalchemy/sql/traversals.py +++ b/lib/sqlalchemy/sql/traversals.py @@ -5,8 +5,8 @@ import operator from . import operators from .visitors import ExtendedInternalTraversal from .visitors import InternalTraversal -from .. import inspect from .. import util +from ..inspection import inspect SKIP_TRAVERSE = util.symbol("skip_traverse") COMPARE_FAILED = False |