addons14/base_rest/restapi.py
def to_response(self, service, result):
        """
        This method is called to prepare the result of the call to the method
        in a format suitable by the controller (http.Response or JSON dict).
        It's responsible for validating and sanitizing the result.
        :param service:
        :param obj:
        :return: http.Response or JSON dict
        """

        This method is called to prepare the result of the call to the method
        in a format suitable by the controller (http.Response or JSON dict).
        It's responsible for validating and sanitizing the result.
        :param service:
        :param obj:
        :return: http.Response or JSON dict
        
This method is called to prepare the result of the call to the method
in a format suitable by the controller .
It's responsible for validating and sanitizing the result.
This method is called to prepare the result of the call to the method in a format suitable by the controller . It ' s responsible for validating and sanitizing the result .
def to_response(self, service, result):
def to_response ( self , service , result ) :
This method is called to prepare the result of the call to the method
in a format suitable by the controller (http.Response or JSON dict).
This method is called to prepare the result of the call to the method in a format suitable by the controller ( http . Response or JSON dict ) .
"""
        This method is called to prepare the result of the call to the method
        in a format suitable by the controller (http.Response or JSON dict).
        It's responsible for validating and sanitizing the result.
        :param service:
        :param obj:
        :return: http.Response or JSON dict
        """
http.Response or JSON dict
http . Response or JSON dict
self
service
None
result
obj
None