#NEWLINE# @ update_trigger #NEWLINE# def index_files( self , named_files ) : #NEWLINE# #INDENT# "\n        Translate to index_string_buffers() call, since file objects\n        can't be serialized for rpcs to backends.  Note: we\n        currently read in all files in memory, and make one call to\n        index_string_buffers() -- this can be memory-intesive\n        if named_files represents a large number of files.\n        \n        TODO: read in files in smaller batches, and then make mutiple\n        calls to index_string_buffers().\n        " #NEWLINE# named_string_buffers = [ ( name , file . read ( ) ) for ( name , file ) in named_files ] #NEWLINE# self . index_string_buffers ( named_string_buffers )