def unregister(self, user_id):
        if user_id in self.users:
            self.users.pop(user_id)
            self.active = bool(self.users)
            self.forget(time.time())
        else:
            raise Exception("User id not found")
dataset/ETHPy150Open EricssonResearch/calvin-base/calvin/runtime/north/metering.py/Metering.unregister/original