def construct_pipeline(cfg):
    steps = cfg["steps"]
    try:
        est_param = cfg["est_param"]
    except KeyError:
        est_param = None
    pipe = []
    for step in steps:
        pipe.append(_get_step(step))
    return {'steps': pipe}, est_param
test _parent_
dataset/ETHPy150Open BenoitDamota/mempamal/mempamal/dynamic.py/construct_pipeline--crossover with--dataset/ETHPy150Open mission-liao/pyswagger/pyswagger/tests/test_base.py/SwaggerBaseTestCase.test_baseobj_parent