#NEWLINE# def add_objects( self , objects ) : #NEWLINE# #INDENT# '\n        Add several objects.\n\n        @param objects contains an array of objects to add\n        ' #NEWLINE# requests = [ { #NEWLINE# #INDENT# 'action' : 'addObject' , #NEWLINE# 'body' : obj , #NEWLINE# #UNINDENT# } for obj in objects ] #NEWLINE# return self . batch ( requests )