<s> from . base import BaseCommand <EOL> class IndicesGetAliasCommand ( BaseCommand ) : <EOL> command_name = "<STR_LIT>" <EOL> def is_enabled ( self ) : <EOL> return True <EOL> def run_request ( self , index = None , name = None ) : <EOL> if not index or not name : <EOL> self . show_alias_list_panel ( self . run ) <EOL> return <EOL> options = dict ( <EOL> index = index , <EOL> name = name <EOL> ) <EOL> return self . client . indices . get_alias ( ** options ) </s>
