]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
docuemnt args for before_parent_attach, after_parent_attach
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 1 Feb 2011 20:09:28 +0000 (15:09 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 1 Feb 2011 20:09:28 +0000 (15:09 -0500)
lib/sqlalchemy/events.py

index 8a2776898d5d4ecb3249ffd4987ac35f109119b3..fe9c5dda15a76cb7b889798d8aea25c14e2c016e 100644 (file)
@@ -131,11 +131,31 @@ class DDLEvents(event.Events):
         """Called before a :class:`.SchemaItem` is associated with 
         a parent :class:`.SchemaItem`.
         
+        :param target: the target object
+        :param parent: the parent to which the target is being attached.
+        
+        :func:`.event.listen` also accepts a modifier for this event:
+        
+        :param propagate=False: When True, the listener function will
+         be established for any copies made of the target object,
+         i.e. those copies that are generated when
+         :meth:`.Table.tometadata` is used.
+        
         """
 
     def after_parent_attach(self, target, parent):
         """Called after a :class:`.SchemaItem` is associated with 
         a parent :class:`.SchemaItem`.
+
+        :param target: the target object
+        :param parent: the parent to which the target is being attached.
+        
+        :func:`.event.listen` also accepts a modifier for this event:
+        
+        :param propagate=False: When True, the listener function will
+         be established for any copies made of the target object,
+         i.e. those copies that are generated when
+         :meth:`.Table.tometadata` is used.
         
         """