<s> from . base import CreateBaseCommand <EOL> class IndicesCreateCommand ( CreateBaseCommand ) : <EOL> command_name = "<STR_LIT>" <EOL> def is_enabled ( self ) : <EOL> return True <EOL> def run_request ( self , index = None ) : <EOL> if not index : <EOL> self . show_input_panel ( <EOL> '<STR_LIT>' , self . settings . index , self . run ) <EOL> return <EOL> options = dict ( <EOL> index = index <EOL> ) <EOL> return self . client . indices . create ( ** options ) </s>
