diff options
| author | mike bayer <mike_mp@zzzcomputing.com> | 2020-01-07 01:53:34 +0000 |
|---|---|---|
| committer | Gerrit Code Review <gerrit@bbpush.zzzcomputing.com> | 2020-01-07 01:53:34 +0000 |
| commit | 84cb9d1f0a3f91fb5e3d4ece78b9ef94d1e5d826 (patch) | |
| tree | 29ac3a2c6afd6bf14c84358172c4de968ab06304 /lib/sqlalchemy/sql/base.py | |
| parent | 463a5f2e29ca28e53b5d19ac2b63acf39438ce87 (diff) | |
| parent | 217948f5c79e03956de998af86fef77ebc3edb76 (diff) | |
| download | sqlalchemy-84cb9d1f0a3f91fb5e3d4ece78b9ef94d1e5d826.tar.gz | |
Merge "Enable F821"
Diffstat (limited to 'lib/sqlalchemy/sql/base.py')
| -rw-r--r-- | lib/sqlalchemy/sql/base.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/sqlalchemy/sql/base.py b/lib/sqlalchemy/sql/base.py index 60456223f..a7324c45f 100644 --- a/lib/sqlalchemy/sql/base.py +++ b/lib/sqlalchemy/sql/base.py @@ -19,9 +19,12 @@ from .visitors import ClauseVisitor from .. import exc from .. import util -coercions = None # type: types.ModuleType -elements = None # type: types.ModuleType -type_api = None # type: types.ModuleType +if util.TYPE_CHECKING: + from types import ModuleType + +coercions = None # type: ModuleType +elements = None # type: ModuleType +type_api = None # type: ModuleType PARSE_AUTOCOMMIT = util.symbol("PARSE_AUTOCOMMIT") NO_ARG = util.symbol("NO_ARG") |
