

def create_pickleinput(node, modelclass, metadata, row):
    value = getattr(row, metadata.colname)
    if (metadata.nullable and (value is None)):
        value = ''
    else:
        value = repr(value)
    return node.add_textinput(metadata.colname, metadata.colname, value)

dataset/ETHPy150Open kdart/pycopia/storage/pycopia/db/webhelpers.py create_pickleinput/original