def build_pipewelder(conn, config):
    """
    Return a Pipewelder object defined by *config*.
    """
    try:
        pw = Pipewelder(conn, config['template'])
    except __HOLE__ as e:
        print(e)
        return 1
    for d in config['dirs']:
        p = pw.add_pipeline(d)
        for k, v in config["values"].items():
            p.values[k] = v
    return pw
dataset/ETHPy150Open SimpleFinance/pipewelder/pipewelder/cli.py/build_pipewelder