def server_output_get(server_id): server = Server(server_id) return utils.jsonify({ 'id': server.id, 'output': server.get_output(), })