def post(self, request, response): actual_post = lambda req, rep: self._post(req, rep) return AbstractEndpointCostMapBackend.post(self, request, response, actual_post)