diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-09-05 16:06:39 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-09-05 16:06:39 -0400 |
commit | 914ae5bcd4dbac844d26c70eeeb2f8bffd03c20d (patch) | |
tree | d15c31991aca9719ab09f8734ca41284e8821bdb /lib/sqlalchemy/engine/reflection.py | |
parent | 703ce7f1791c1143eb983c38e3bd627984ea1953 (diff) | |
download | sqlalchemy-914ae5bcd4dbac844d26c70eeeb2f8bffd03c20d.tar.gz |
fixup
Diffstat (limited to 'lib/sqlalchemy/engine/reflection.py')
-rw-r--r-- | lib/sqlalchemy/engine/reflection.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/sqlalchemy/engine/reflection.py b/lib/sqlalchemy/engine/reflection.py index 4a34ef1c6..def889e6d 100644 --- a/lib/sqlalchemy/engine/reflection.py +++ b/lib/sqlalchemy/engine/reflection.py @@ -50,27 +50,27 @@ class Inspector(object): consistent interface as well as caching support for previously fetched metadata. - The preferred method to construct an :class:`Inspector` is via the + The preferred method to construct an :class:`.Inspector` is via the :meth:`Inspector.from_engine` method. I.e.:: engine = create_engine('...') insp = Inspector.from_engine(engine) Where above, the :class:`~sqlalchemy.engine.base.Dialect` may opt - to return an :class:`Inspector` subclass that provides additional + to return an :class:`.Inspector` subclass that provides additional methods specific to the dialect's target database. """ def __init__(self, bind): - """Initialize a new :class:`Inspector`. + """Initialize a new :class:`.Inspector`. :param bind: a :class:`~sqlalchemy.engine.base.Connectable`, which is typically an instance of :class:`~sqlalchemy.engine.base.Engine` or :class:`~sqlalchemy.engine.base.Connection`. - For a dialect-specific instance of :class:`Inspector`, see + For a dialect-specific instance of :class:`.Inspector`, see :meth:`Inspector.from_engine` """ @@ -98,12 +98,12 @@ class Inspector(object): :class:`~sqlalchemy.engine.base.Engine` or :class:`~sqlalchemy.engine.base.Connection`. - This method differs from direct a direct constructor call of :class:`Inspector` + This method differs from direct a direct constructor call of :class:`.Inspector` in that the :class:`~sqlalchemy.engine.base.Dialect` is given a chance to provide - a dialect-specific :class:`Inspector` instance, which may provide additional + a dialect-specific :class:`.Inspector` instance, which may provide additional methods. - See the example at :class:`Inspector`. + See the example at :class:`.Inspector`. """ if hasattr(bind.dialect, 'inspector'): |