def METHOD_NAME(self, task_id, context):
    """Get task status, result, quantized model path according to id.
    Args:
        task_id (str): the id of task.
    Returns:
        json: task status, result, quantized model path
    """
    db_path = get_db_path(config.workspace)
    result = query_task_status(task_id.task_id, db_path)
    logger.info("query result : result")
    response = neural_solution_pb2.TaskStatus(**result)  # pylint: disable=no-member
    return response