def __init__(self,
                 acceptNoContextTakeover=True,
                 requestNoContextTakeover=False):
        if type(acceptNoContextTakeover) != bool:
            raise Exception("invalid type %s for acceptNoContextTakeover" % type(acceptNoContextTakeover))

        self.acceptNoContextTakeover = acceptNoContextTakeover

        if type(requestNoContextTakeover) != bool:
            raise Exception("invalid type %s for requestNoContextTakeover" % type(requestNoContextTakeover))

        self.requestNoContextTakeover = requestNoContextTakeover
Constructor.
dataset/ETHPy150Open crossbario/autobahn-python/autobahn/websocket/compress_snappy.py/PerMessageSnappyOffer.__init__