#NEWLINE# def run_request( self , index = None ) : #NEWLINE# #INDENT# if ( not index ) : #NEWLINE# #INDENT# self . show_index_list_panel ( index . run ) #NEWLINE# return #NEWLINE# #UNINDENT# response_close = self . client . indices . close ( index = index ) #NEWLINE# response_open = self . client . indices . open ( index = index ) #NEWLINE# return dict ( command = self . command_name , close = response_close , open = response_open )