

def create_boolean_input(node, modelclass, metadata, row):
    id = ('id_' + metadata.colname)
    value = getattr(row, metadata.colname)
    modelclass.add_label(metadata.colname, id)
    return node.add_input(type='checkbox', name=metadata.colname, id=id, checked=value)

dataset/ETHPy150Open kdart/pycopia/storage/pycopia/db/webhelpers.py create_boolean_input/VarMisuse@37/45 `node`->`modelclass`