def __init__(self, redis_host='redis://localhost:6379', namespace='/simulation'): self.namespace = namespace self.socketio = SocketIO(redis_host)