<s> from . base import BaseCommand <EOL> class IndicesRecoveryCommand ( BaseCommand ) : <EOL> command_name = "<STR_LIT>" <EOL> def is_enabled ( self ) : <EOL> return True <EOL> def run_request ( self , index = None ) : <EOL> if index is None : <EOL> self . show_index_list_panel ( self . run ) <EOL> return <EOL> options = dict ( <EOL> index = index , <EOL> params = dict ( human = True ) <EOL> ) <EOL> return self . client . indices . recovery ( ** options ) </s>
