addons14/base_rest/components/service.py
def _prepare_input_params(self, method, params):
        """
        Internal method used to process the input_param parameter. The
        result will be used to call the final method. The processing is
        delegated to the `resapi.RestMethodParam` instance specified by the
        restapi.method` decorator on the method.
        :param method:
        :param params:
        :return:
        """
        method_name = method.__name__
        if hasattr(method, "skip_secure_params"):
            return params
        routing = getattr(method, "routing", None)
        if not routing:
            _logger.warning(
                "Method %s is not a public method of service %s",
                method_name,
                self._name,
            )
            raise NotFound()
        input_param = routing["input_param"]
        if input_param:
            return input_param.from_params(self, params)
        return {}

        Internal method used to process the input_param parameter. The
        result will be used to call the final method. The processing is
        delegated to the `resapi.RestMethodParam` instance specified by the
        restapi.method` decorator on the method.
        :param method:
        :param params:
        :return:
        
Internal method used to process the input_param parameter. The
result will be used to call the final method. The processing is
delegated to the `resapi.RestMethodParam` instance specified by the
restapi.method` decorator on the method.
Internal method used to process the input_param parameter . The result will be used to call the final method . The processing is delegated to the ` resapi . RestMethodParam ` instance specified by the restapi . method ` decorator on the method .
def _prepare_input_params(self, method, params):
        method_name = method.__name__
        if hasattr(method, "skip_secure_params"):
            return params
        routing = getattr(method, "routing", None)
        if not routing:
            _logger.warning(
                "Method %s is not a public method of service %s",
                method_name,
                self._name,
            )
            raise NotFound()
        input_param = routing["input_param"]
        if input_param:
            return input_param.from_params(self, params)
        return {}
def _prepare_input_params ( self , method , params ) : method_name = method . __name__ if hasattr ( method , "skip_secure_params" ) : return params routing = getattr ( method , "routing" , None ) if not routing : _logger . warning ( "Method %s is not a public method of service %s" , method_name , self . _name , ) raise NotFound ( ) input_param = routing [ "input_param" ] if input_param : return input_param . from_params ( self , params ) return { }
Internal method used to process the input_param parameter.
Internal method used to process the input_param parameter .
"""
        Internal method used to process the input_param parameter. The
        result will be used to call the final method. The processing is
        delegated to the `resapi.RestMethodParam` instance specified by the
        restapi.method` decorator on the method.
        :param method:
        :param params:
        :return:
        """
None
self
method
None
params
None