

def insert_card_comp(self, comp, index, card_comp):
    self.data.insert_card(index, card_comp().data)
    self.cards.insert(index, card_comp)
    card_comp.on_answer(self.handle_event, comp)

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