#NEWLINE# def load_indexed( self , index_name , key , value , cls ) : #NEWLINE# #INDENT# ' Load zero or more indexed nodes from the database into a list of\n        objects.\n\n        :param index_name: the node index name\n        :param key: the index key\n        :param value: the index value\n        :param cls: the class of the object to be returned\n        :return: a list of `cls` instances\n        ' #NEWLINE# index = self . index_manager . get_index ( Node , index_name ) #NEWLINE# nodes = index . get ( key , value ) #NEWLINE# return [ self . load ( cls , node ) for node in nodes ]