@tornado.gen.coroutine
    def delprop(self, ctx, loctx, key):
        if ctx.level != LEVEL_EXECUTE:
            raise Exception('Properties may only be deleted in action code (location prop "%s")' % (key,))
        iid = loctx.iid
        locid = self.locid
        app = ctx.app
        
        tup = ('instanceprop', iid, locid, key)
        yield app.propcache.delete(tup)
        ctx.task.changeset.add(tup)
Delete an instance property, if present.
dataset/ETHPy150Open erkyrath/tworld/lib/two/execute.py/LocationProxy.delprop