def get_list(self, name, val_func='auto'): """Parse value with key=name and transform it to list. If val_vun :param str name: :param func val_func: :return: """ return parse_list(self.get(name, ''), val_func)
def _to_python(self, value): if self.value_type: return parse_list(value, self.value_type._to_python) else: return parse_list(value, self.val_func)