diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-04-03 18:53:39 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-04-03 18:53:39 -0400 |
| commit | f1bdd4e4bbf8366ff7177ebc3ee6647f32fd414f (patch) | |
| tree | 3ffef191d48fc13c0595c893ef5ab2bf55db5a9e /lib/sqlalchemy/__init__.py | |
| parent | 53b4337de3ab4d4abe17ca47903aaaa8664cd50f (diff) | |
| download | sqlalchemy-f1bdd4e4bbf8366ff7177ebc3ee6647f32fd414f.tar.gz | |
begin implementing inspection system for #2208
Diffstat (limited to 'lib/sqlalchemy/__init__.py')
| -rw-r--r-- | lib/sqlalchemy/__init__.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/sqlalchemy/__init__.py b/lib/sqlalchemy/__init__.py index 4e00437ea..ee7bf4c6f 100644 --- a/lib/sqlalchemy/__init__.py +++ b/lib/sqlalchemy/__init__.py @@ -4,7 +4,7 @@ # This module is part of SQLAlchemy and is released under # the MIT License: http://www.opensource.org/licenses/mit-license.php -import inspect +import inspect as _inspect import sys import sqlalchemy.exc as exceptions @@ -111,15 +111,17 @@ from sqlalchemy.schema import ( UniqueConstraint, ) +from sqlalchemy.inspection import inspect + from sqlalchemy.engine import create_engine, engine_from_config __all__ = sorted(name for name, obj in locals().items() - if not (name.startswith('_') or inspect.ismodule(obj))) + if not (name.startswith('_') or _inspect.ismodule(obj))) __version__ = '0.7.7' -del inspect, sys +del _inspect, sys from sqlalchemy import util as _sa_util _sa_util.importlater.resolve_all() |
