diff options
Diffstat (limited to 'alembic/config.py')
-rw-r--r-- | alembic/config.py | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/alembic/config.py b/alembic/config.py index 7f813d2..b3fc36f 100644 --- a/alembic/config.py +++ b/alembic/config.py @@ -1,10 +1,13 @@ from argparse import ArgumentParser -from .compat import SafeConfigParser +from .util.compat import SafeConfigParser import inspect import os import sys -from . import command, util, package_dir, compat +from . import command +from . import util +from . import package_dir +from .util import compat class Config(object): @@ -127,7 +130,7 @@ class Config(object): This is a utility dictionary which can include not just strings but engines, connections, schema objects, or anything else. Use this to pass objects into an env.py script, such as passing - a :class:`.Connection` when calling + a :class:`sqlalchemy.engine.base.Connection` when calling commands from :mod:`alembic.command` programmatically. .. versionadded:: 0.7.5 @@ -152,7 +155,7 @@ class Config(object): @util.memoized_property def file_config(self): - """Return the underlying :class:`ConfigParser` object. + """Return the underlying ``ConfigParser`` object. Direct access to the .ini file is available here, though the :meth:`.Config.get_section` and |