@classmethod
    @multiplayer_service
    @jsonify
    def read(cls):
        params = request.params
        try:
            session_id = params['session']
        except KeyError:
            response.status_int = 400
            return {'ok': False, 'msg': 'Missing session information.'}

        try:
            session = cls.sessions[session_id]
        except __HOLE__:
            response.status_int = 404
            return {'ok': False, 'msg': 'Unknown session.'}

        session.update_status()

        return {'ok': True, 'data': session.get_info(request.host)}
dataset/ETHPy150Open turbulenz/turbulenz_local/turbulenz_local/controllers/apiv1/multiplayer.py/MultiplayerController.read