def _parse_input_data(self, data, request): """ Execute appropriate parser. """ return datamapper.parse(data, request, self)
def _parse_input_data(self, data, request): """ Execute appropriate parser. """ if self.mapper: return self.mapper.parse(data, util.get_charset(request)) else: return datamapper.parse(data, request, self.default_mapper)