def reset_key(self, key: Union[(int, str)]) -> None:
    if (key in self.memos):
        self.memos.pop(key)
        if (self.duration is not None):
            self.expire_order.pop(key)
        if (self.db is not None):
            self.db.execute(f"DELETE FROM `{self.table_name}` WHERE k == '{key}'")
def reset_key(self, key: Union[(int, str)]) -> None:
    if (key in self.memos):
        self.memos.pop(key)
        if (self.duration is not None):
            self.expire_order.pop(key)
        if (self.db is not None):
            self.db.execute(f"DELETE FROM `{self.table_name}` WHERE k == '{key}'")