

def actions(self, action, comp):
    if (action == 'delete'):
        self.emit_event(comp, events.ColumnDeleted, comp)
    elif (action == 'set_limit'):
        self.card_counter.call(model='edit')
    elif (action == 'purge'):
        self.purge_cards()
    self.emit_event(comp, events.SearchIndexUpdated)

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