

def new_enumtype(node, modelclass, metadata):
    enumtype = getattr(types, metadata.coltype)
    return node.add_radiobuttons(enumtype.colname, enumtype.get_choices(), checked=enumtype.get_default(), class_='radioset')

dataset/ETHPy150Open kdart/pycopia/storage/pycopia/db/webhelpers.py new_enumtype/VarMisuse@30/38 `metadata`->`enumtype`