(self)
return response
Create a response object.

        Returns:
            Response object (instance of flask.wrappers.Response)
Create a response object.
Create a response object .
def build_response(self):
        """Create a response object.

        Returns:
            Response object (instance of flask.wrappers.Response)
        """
        response = jsonify({
            'message': self.message,
            'status': self.status_code
        })
        response.status_code = self.status_code
        return response
def build_response ( self ) : response = jsonify ( { 'message' : self . message , 'status' : self . status_code } ) response . status_code = self . status_code return response