def _get_asl_pipeline(aml_model):
    """ Extract the pipeline object from an autosklearn_optimizer model.
    """
    # this is from the old development branch
    # the model *contained* a pipeline
    #aml_model_pipeline = aml_model.pipeline_

    # this is the updated 0.1.3 branch

    # that is, the model simply *is* a pipeline now
    asl_pipeline = aml_model
    return asl_pipeline