]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
fixing broken links (see #2625)
authorDiana Clarke <diana.joan.clarke@gmail.com>
Thu, 6 Dec 2012 05:00:17 +0000 (00:00 -0500)
committerDiana Clarke <diana.joan.clarke@gmail.com>
Thu, 6 Dec 2012 05:00:17 +0000 (00:00 -0500)
doc/build/core/connections.rst
lib/sqlalchemy/engine/base.py
lib/sqlalchemy/engine/result.py
lib/sqlalchemy/ext/compiler.py

index de12a4689d32bd7d39c021530aa55d35169c8f23..d6726015a5a90f2ef8e241bc1002d831312eab4d 100644 (file)
@@ -42,7 +42,8 @@ is achieved via the usage of :class:`.NullPool`) does not have this
 requirement.
 
 The engine can be used directly to issue SQL to the database. The most generic
-way is first procure a connection resource, which you get via the :class:`connect` method::
+way is first procure a connection resource, which you get via the
+:meth:`.Engine.connect` method::
 
     connection = engine.connect()
     result = connection.execute("select username from users")
@@ -325,7 +326,7 @@ Overall, the usage of "bound metadata" has three general effects:
   on behalf of a particular mapped class, though the :class:`.Session`
   also features its own explicit system of establishing complex :class:`.Engine`/
   mapped class configurations.
-* The :meth:`.MetaData.create_all`, :meth:`.Metadata.drop_all`, :meth:`.Table.create`,
+* The :meth:`.MetaData.create_all`, :meth:`.MetaData.drop_all`, :meth:`.Table.create`,
   :meth:`.Table.drop`, and "autoload" features all make usage of the bound
   :class:`.Engine` automatically without the need to pass it explicitly.
 
@@ -416,7 +417,7 @@ connectionless execution::
         db.rollback()
 
 Explicit execution can be mixed with connectionless execution by
-using the :class:`.Engine.connect` method to acquire a :class:`.Connection`
+using the :meth:`.Engine.connect` method to acquire a :class:`.Connection`
 that is not part of the threadlocal scope::
 
     db.begin()
index fdeeac516df585a315ac1be6c792765f615a76b4..e3b09e63a274c62d2f62db9b934b7b3628721713 100644 (file)
@@ -121,7 +121,7 @@ class Connection(Connectable):
 
         Note that any key/value can be passed to
         :meth:`.Connection.execution_options`, and it will be stored in the
-        ``_execution_options`` dictionary of the :class:`.Connnection`.   It
+        ``_execution_options`` dictionary of the :class:`.Connection`.   It
         is suitable for usage by end-user schemes to communicate with
         event listeners, for example.
 
@@ -1295,8 +1295,8 @@ class TwoPhaseTransaction(Transaction):
 class Engine(Connectable, log.Identified):
     """
     Connects a :class:`~sqlalchemy.pool.Pool` and
-    :class:`~sqlalchemy.engine.Dialect` together to provide a source
-    of database connectivity and behavior.
+    :class:`~sqlalchemy.engine.interfaces.Dialect` together to provide a
+    source of database connectivity and behavior.
 
     An :class:`.Engine` object is instantiated publicly using the
     :func:`~sqlalchemy.create_engine` function.
@@ -1426,15 +1426,15 @@ class Engine(Connectable, log.Identified):
 
     @property
     def name(self):
-        """String name of the :class:`~sqlalchemy.engine.Dialect` in use by
-        this ``Engine``."""
+        """String name of the :class:`~sqlalchemy.engine.interfaces.Dialect`
+        in use by this :class:`Engine`."""
 
         return self.dialect.name
 
     @property
     def driver(self):
-        """Driver name of the :class:`~sqlalchemy.engine.Dialect` in use by
-        this ``Engine``."""
+        """Driver name of the :class:`~sqlalchemy.engine.interfaces.Dialect`
+        in use by this :class:`Engine`."""
 
         return self.dialect.driver
 
index 98b0ea4b236febc9f9f32f37aacc8fb12dad49de..dcfd5ac31550d80a2590426f9ff86f209e3b733b 100644 (file)
@@ -557,7 +557,7 @@ class ResultProxy(object):
         supports "returning" and the insert statement executed
         with the "implicit returning" enabled.
 
-        Raises :class:`.InvalidRequestError` if the executed
+        Raises :class:`~sqlalchemy.exc.InvalidRequestError` if the executed
         statement is not a compiled expression construct
         or is not an insert() construct.
 
@@ -583,7 +583,7 @@ class ResultProxy(object):
         """Return the collection of updated parameters from this
         execution.
 
-        Raises :class:`.InvalidRequestError` if the executed
+        Raises :class:`~sqlalchemy.exc.InvalidRequestError` if the executed
         statement is not a compiled expression construct
         or is not an update() construct.
 
@@ -605,7 +605,7 @@ class ResultProxy(object):
         """Return the collection of inserted parameters from this
         execution.
 
-        Raises :class:`.InvalidRequestError` if the executed
+        Raises :class:`~sqlalchemy.exc.InvalidRequestError` if the executed
         statement is not a compiled expression construct
         or is not an insert() construct.
 
@@ -639,7 +639,7 @@ class ResultProxy(object):
 
         See :class:`.ExecutionContext` for details.
 
-        Raises :class:`.InvalidRequestError` if the executed
+        Raises :class:`~sqlalchemy.exc.InvalidRequestError` if the executed
         statement is not a compiled expression construct
         or is not an insert() or update() construct.
 
@@ -661,7 +661,7 @@ class ResultProxy(object):
 
         See :class:`.ExecutionContext` for details.
 
-        Raises :class:`.InvalidRequestError` if the executed
+        Raises :class:`~sqlalchemy.exc.InvalidRequestError` if the executed
         statement is not a compiled expression construct
         or is not an insert() or update() construct.
 
index 93984d0d1e44ee3da078978496bcfa305567f888..25de2c0b65d248e92406a6e5e76a3300820ed957 100644 (file)
@@ -65,11 +65,12 @@ dialect is used.
 Compiling sub-elements of a custom expression construct
 =======================================================
 
-The ``compiler`` argument is the :class:`~sqlalchemy.engine.base.Compiled`
-object in use. This object can be inspected for any information about the
-in-progress compilation, including ``compiler.dialect``,
-``compiler.statement`` etc. The :class:`~sqlalchemy.sql.compiler.SQLCompiler`
-and :class:`~sqlalchemy.sql.compiler.DDLCompiler` both include a ``process()``
+The ``compiler`` argument is the
+:class:`~sqlalchemy.engine.interfaces.Compiled` object in use. This object
+can be inspected for any information about the in-progress compilation,
+including ``compiler.dialect``, ``compiler.statement`` etc. The
+:class:`~sqlalchemy.sql.compiler.SQLCompiler` and
+:class:`~sqlalchemy.sql.compiler.DDLCompiler` both include a ``process()``
 method which can be used for compilation of embedded attributes::
 
     from sqlalchemy.sql.expression import Executable, ClauseElement