

def purge_cards(self):
    for card_comp in self.cards:
        card = card_comp()
        values = {
            'column_id': self.id,
            'column': card.get_title(),
            'card': card.get_title(),
        }
        card.action_log.add_history(security.get_user(), 'card_delete', values)
        self.search_engine.delete_document(card.schema, card.id)
        card.delete()
    del self.cards[:]
    self.search_engine.commit()
    self.data.purge_cards()

dataset/ETHPy150Open Net-ng/kansha/kansha/column/comp.py Column.purge_cards/VarMisuse@38/52 `self`->`card`