

def gen_all_source_opts():
    for (name, params) in SOURCES.items():
        type_ = params['type']
        location = params['location']
        reference = location.get('reference')
        (yield (name, get_source_opts(type_, location, reference)))

dataset/ETHPy150Open openstack/kolla/kolla/common/config.py gen_all_source_opts/VarMisuse@40/50 `params`->`location`