def argparse_type(variable):
 for action in helpful_parser.parser._actions:
  if ((action.type is not None) and (action.dest == variable)):
   return action.type
 return str

def argparse_type ( variable ) : for action in helpful_parser . parser . _actions : if ( ( action . type is not None ) and ( action . dest == variable ) ) : return action . type return str
return our argparse type function for a config variable .