

def __init__(self, id_, board, card_extensions, action_log, search_engine_service, services_service, data=None):
    'Initialization\n\n        In:\n            - ``id_`` -- the id of the column\n        '
    self.db_id = id_
    self._data = data
    self.id = ('list_' + str(self.db_id))
    self.board = board
    self.nb_card = var.Var(self.data.nb_max_cards)
    self._services = services_service
    self.action_log = action_log
    self.search_engine = search_engine_service
    self.card_extensions = card_extensions
    self.body = component.Component(self, 'body')
    self.title = component.Component(title.EditableTitle(self.get_title)).on_answer(self.set_title)
    self.card_counter = component.Component(CardsCounter(self))
    self.cards = [component.Component(self._services(comp.Card, c.id, self.card_extensions, self.action_log, data=c)) for c in self.data.cards]
    self.new_card = component.Component(comp.NewCard(self))
    self.actions_comp = component.Component(self, 'overlay')
    self.actions_overlay = component.Component(overlay.Overlay((lambda r: r.i(class_='icon-target2')), self.actions_comp.render, title=_('List actions'), dynamic=False))

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