

def __init__(self, columns_count):
    'Initialization\n\n        In:\n            - ``board`` -- the board the new column will belong\n        '
    self.columns_count = columns_count
    self.index = editor.Property('').validate(nagare_validator.to_int)
    self.title = editor.Property('')
    self.title.validate((lambda v: nagare_validator.to_string(v).not_empty(_("Can't be empty"))))
    self.nb_cards = editor.Property('').validate(self.validate_nb_cards)

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