code: def package_result(status: str, msg: str, data: dict):
      """
      Package message of response.
  
      Args:
           status(str): Error code
              ========   ==============================================================================================
              Code       Meaning
              --------   ----------------------------------------------------------------------------------------------
              '000'      Return results normally
              '101'      An error occurred in the predicting method
              '111'      Module is not available
              '112'      Use outdated and abandoned HTTP protocol format
              ========   ===============================================================================================
           msg(str): Detailed info for error
           data(dict): Result of predict api.
  
      Returns:
          dict: Message of response
  
      Examples:
          .. code-block:: python
  
              data = {'result': 0.002}
              package_result(status='000', msg='', data=data)
      """
      return {"status": status, "msg": msg, "results": data}
  
file_path: PaddleHub/paddlehub/serving/http_server.py
imports: import time
  import os
  import multiprocessing
  import platform
  from flask import Flask, request
  from paddlehub.serving.device import InferenceServer
  from paddlehub.serving.client import InferenceClientProxy
  from paddlehub.utils import utils, log
label_desc: Use image node_id 1 for calling a global function with example usage: package_result(status, msg, data) and returns: dict