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

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

        session.public = True

        return {'ok': True}
dataset/ETHPy150Open turbulenz/turbulenz_local/turbulenz_local/controllers/apiv1/multiplayer.py/MultiplayerController.make_public