def avail_images(call=None):
    if call == 'action':
        raise SaltCloudSystemExit(
            'The avail_images function must be called with '
            '-f or --function, or with the --list-images option'
        )

    items = query(method='images')
    ret = {}
    for image in items['images']:
        ret[image['id']] = {}
        for item in image:
            ret[image['id']][item] = str(image[item])

    return ret
Get a list of completed jobs
dataset/ETHPy150Open saltstack/salt/salt/cloud/clouds/scaleway.py/avail_images--crossover with--dataset/ETHPy150Open cloudera/hue/desktop/libs/hadoop/gen-py/hadoop/api/jobtracker/Jobtracker.py/Iface.getCompletedJobs