@wamp.register(u"com.example.keyvalue.set")
    def set(self, key=None, value=None):
        if key is not None:
            k = str(key)
            if value is not None:
                self.store[k] = value
            else:
                if k in self.store:
                    del self.store[k]
        else:
            self.store.clear()
        self.store.sync()
dataset/ETHPy150Open crossbario/autobahn-python/examples/twisted/wamp/app/keyvalue/store.py/KeyValueStore.set/original