

def delete_card(self, card):
    'Delete card\n\n        In:\n            - ``card`` -- card to delete\n        '
    self.cards.pop(card.index)
    values = {
        'column_id': self.id,
        'column': self.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)
    self.search_engine.commit()
    card.delete()
    self.data.delete_card(card.data)

dataset/ETHPy150Open Net-ng/kansha/kansha/column/comp.py Column.delete_card/original