<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _map_purchase_request_to_func(self, purchase_request_type):
 """Provides appropriate parameters to the on_purchase functions."""

        
        if purchase_request_type in self._intent_view_funcs:
            view_func = self._intent_view_funcs[purchase_request_type]
        else:
            raise NotImplementedError('Request type "{}" not found and no default view specified.'.format(purchase_request_type)) 

        argspec = inspect.getargspec(view_func)
        arg_names = argspec.args
        arg_values = self._map_params_to_view_args(purchase_request_type, arg_names)

        print('_map_purchase_request_to_func', arg_names, arg_values, view_func, purchase_request_type)
        return partial(view_func, *arg_values)