(app_name, dep_group)
return dep_group
Convert depends_on data into an expanded list of depends_on dicts, where
    the "all" values have been populated with a list of values determined by
    each parent app_name

    `dep_group` either a dict or a list of dicts in form:
        [{"app_name": ["a", "b"], "testID": "all", ...}]
        --> this input would return
            [{"app_name": ["a"], "testID": ["a's testID values"]},
            {"app_name": ["b"], "testID", ["b's testID values"]}]
Convert depends_on data into an expanded list of depends_on dicts, where
    the "all" values have been populated with a list of values determined by
    each parent app_name
Convert depends_on data into an expanded list of depends_on dicts where the all values have been populated with a list of values determined by each parent app_name
def convert_dep_grp_to_parsed_list(app_name, dep_group):
    """Convert depends_on data into an expanded list of depends_on dicts, where
    the "all" values have been populated with a list of values determined by
    each parent app_name

    `dep_group` either a dict or a list of dicts in form:
        [{"app_name": ["a", "b"], "testID": "all", ...}]
        --> this input would return
            [{"app_name": ["a"], "testID": ["a's testID values"]},
            {"app_name": ["b"], "testID", ["b's testID values"]}]

    """
    if isinstance(dep_group, cb.TasksConfigBaseMapping):
        dep_group = parse_values(app_name, dep_group)
    elif isinstance(dep_group, cb.TasksConfigBaseSequence):
        dep_group = [
            lst for grp in dep_group for lst in parse_values(app_name, grp)]
    else:
        raise Exception(
            "Expected TasksConfigBaseMapping or TasksConfigBaseSequence."
            " got: %s" % type(dep_group))
    return dep_group
def convert_dep_grp_to_parsed_list ( app_name , dep_group ) : if isinstance ( dep_group , cb . TasksConfigBaseMapping ) : dep_group = parse_values ( app_name , dep_group ) elif isinstance ( dep_group , cb . TasksConfigBaseSequence ) : dep_group = [ lst for grp in dep_group for lst in parse_values ( app_name , grp ) ] else : raise Exception ( "Expected TasksConfigBaseMapping or TasksConfigBaseSequence." " got: %s" % type ( dep_group ) ) return dep_group