]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Generate API and resolve cross references
authorVraj Mohan <r.vrajmohan@gmail.com>
Fri, 15 Nov 2013 16:11:13 +0000 (11:11 -0500)
committerVraj Mohan <r.vrajmohan@gmail.com>
Sun, 17 Nov 2013 22:37:55 +0000 (17:37 -0500)
doc/build/orm/internals.rst
lib/sqlalchemy/orm/events.py
lib/sqlalchemy/orm/session.py

index e2f5b7f62a907f3a2df1d5070307c759514e512b..023a9f37b1da3b6221a8e9f82354761cad0a6b28 100644 (file)
@@ -71,5 +71,8 @@ sections, are listed here.
 
 .. autoclass:: sqlalchemy.orm.attributes.QueryableAttribute
     :members:
-     
     :inherited-members:
+
+.. autoclass:: sqlalchemy.orm.session.UOWTransaction
+    :members:
+
index 855841408ce9cabfbff418af3688552c1a945d88..d34e2395b4a57734e991abaf37349476134b3cf9 100644 (file)
@@ -1116,7 +1116,7 @@ class SessionEvents(event.Events):
 
     The :func:`~.event.listen` function will accept
     :class:`.Session` objects as well as the return result
-    of :func:`.sessionmaker` and :func:`.scoped_session`.
+    of :class:`~.sessionmaker()` and :class:`~.scoped_session()`.
 
     Additionally, it accepts the :class:`.Session` class which
     will apply listeners to all :class:`.Session` instances
@@ -1203,7 +1203,7 @@ class SessionEvents(event.Events):
 
         .. note::
 
-            The :meth:`.before_commit` hook is *not* per-flush,
+            The :meth:`~.SessionEvents.before_commit` hook is *not* per-flush,
             that is, the :class:`.Session` can emit SQL to the database
             many times within the scope of a transaction.
             For interception of these events, use the :meth:`~.SessionEvents.before_flush`,
@@ -1389,7 +1389,7 @@ class SessionEvents(event.Events):
         This is called before an add, delete or merge causes
         the object to be part of the session.
 
-        .. versionadded:: 0.8.  Note that :meth:`.after_attach` now
+        .. versionadded:: 0.8.  Note that :meth:`~.SessionEvents.after_attach` now
            fires off after the item is part of the session.
            :meth:`.before_attach` is provided for those cases where
            the item should not yet be part of the session state.
@@ -1504,7 +1504,7 @@ class AttributeEvents(event.Events):
         listen(UserContact.phone, 'set', validate_phone, retval=True)
 
     A validation function like the above can also raise an exception
-    such as :class:`.ValueError` to halt the operation.
+    such as :exc:`ValueError` to halt the operation.
 
     Several modifiers are available to the :func:`~.event.listen` function.
 
index 21768626876478dfe6bd6d05b9c20b943ff159f3..6d4b239881abd5b3195edc301b9da416e264502f 100644 (file)
@@ -823,7 +823,7 @@ class Session(_SessionClassMethods):
             etc.) which will be used to locate a bind, if a bind
             cannot otherwise be identified.
 
-        :param close_with_result: Passed to :meth:`Engine.connect`, indicating
+        :param close_with_result: Passed to :meth:`.Engine.connect`, indicating
           the :class:`.Connection` should be considered "single use",
           automatically closing when the first result set is closed.  This
           flag only has an effect if this :class:`.Session` is configured with