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