def _auto_create_specific_service_result_parser(run=utils.run):
 result_parser = _result_parsers[get_name_of_init(run)]
 command_list = [c for c in COMMANDS if (c not in ['list', 'set_target'])]
 return _ServiceResultParser(result_parser, command_list)

def _auto_create_specific_service_result_parser ( run = utils . run ) : result_parser = _result_parsers [ get_name_of_init ( run ) ] command_list = [ c for c in COMMANDS if ( c not in [ 'list' , 'set_target' ] ) ] return _ServiceResultParser ( result_parser , command_list )
create a class that will create partial functions that generate result_parser for the current init command .