]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
fix a usage issue here
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 28 Jan 2012 22:09:27 +0000 (17:09 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 28 Jan 2012 22:09:27 +0000 (17:09 -0500)
examples/custom_attributes/custom_management.py

index 644d512cf749c4de60b988bb2c854c782619afb3..50b65a37ee271869b09f79c30ca3ba110d30899d 100644 (file)
@@ -103,6 +103,9 @@ class MyCollectionAdapter(object):
     def append_with_event(self, item, initiator=None):
         self.collection.add(item, emit=initiator)
 
+    def append_multiple_without_event(self, items):
+        self.collection.members.extend(items)
+
     def append_without_event(self, item):
         self.collection.add(item, emit=False)