]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
and lets use the right method name here...
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 25 Aug 2011 13:40:52 +0000 (09:40 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 25 Aug 2011 13:40:52 +0000 (09:40 -0400)
lib/sqlalchemy/orm/events.py

index 913d764dac168f1a1bbfde5e07159bd779373da3..714cc924525bb3d0f12bdd414585aeda27734bb8 100644 (file)
@@ -586,7 +586,7 @@ class MapperEvents(event.Events):
         should any other ORM-based operation such as :class:`.Session.add`
         take place here.   Attribute changes on objects that were
         already flushed will be discarded, and changes to the flush
-        plan will also not take place.  Use :meth:`.Session.before_flush`
+        plan will also not take place.  Use :meth:`.SessionEvents.before_flush`
         to change the flush plan on flush.
         
         :param mapper: the :class:`.Mapper` which is the target
@@ -702,7 +702,7 @@ class MapperEvents(event.Events):
         should any other ORM-based operation such as :class:`.Session.add`
         take place here.   Attribute changes on objects that were
         already flushed will be discarded, and changes to the flush
-        plan will also not take place.  Use :meth:`.Session.before_flush`
+        plan will also not take place.  Use :meth:`.SessionEvents.before_flush`
         to change the flush plan on flush.
 
         :param mapper: the :class:`.Mapper` which is the target
@@ -770,7 +770,7 @@ class MapperEvents(event.Events):
         should any other ORM-based operation such as :class:`.Session.add`
         take place here.   Attribute changes on objects that were
         already flushed will be discarded, and changes to the flush
-        plan will also not take place.  Use :meth:`.Session.before_flush`
+        plan will also not take place.  Use :meth:`.SessionEvents.before_flush`
         to change the flush plan on flush.
 
         :param mapper: the :class:`.Mapper` which is the target