(app_name, filter_deps, ld)
return grps
Return an iterator that yields (dependency_group_name, group_metadata)
    tuples
Return an iterator that yields (dependency_group_name, group_metadata)
    tuples
Return an iterator that yields ( dependency_group_name group_metadata ) tuples
def _get_grps(app_name, filter_deps, ld):
    """
    Return an iterator that yields (dependency_group_name, group_metadata)
    tuples
    """
    td = cb.get_tasks_config()
    try:
        depends_on = td[app_name]['depends_on']
    except KeyError:
        return []  # this task has no dependencies
    if "app_name" in depends_on:
        grps = [(get_NS().dependency_group_default_name, depends_on)]
        _get_parents_validate_group_names(
            [get_NS().dependency_group_default_name], filter_deps, ld)
    elif filter_deps:
        _get_parents_validate_group_names(
            depends_on, filter_deps, ld)
        grps = (data for data in depends_on.items()
                if data[0] in filter_deps)
    else:
        grps = depends_on.items()
    return grps
def _get_grps ( app_name , filter_deps , ld ) : td = cb . get_tasks_config ( ) try : depends_on = td [ app_name ] [ 'depends_on' ] except KeyError : return [ ] # this task has no dependencies if "app_name" in depends_on : grps = [ ( get_NS ( ) . dependency_group_default_name , depends_on ) ] _get_parents_validate_group_names ( [ get_NS ( ) . dependency_group_default_name ] , filter_deps , ld ) elif filter_deps : _get_parents_validate_group_names ( depends_on , filter_deps , ld ) grps = ( data for data in depends_on . items ( ) if data [ 0 ] in filter_deps ) else : grps = depends_on . items ( ) return grps