def clean_up_caches(ctx, directory, images_info):
    total_size = sum(images.download_size(ctx, uuid)
                     for (uuid, path) in images_info)
    _clean_up_caches(directory, total_size)
A Dial is a generic client for stream-oriented protocols.
dataset/ETHPy150Open openstack/ironic/ironic/drivers/modules/image_cache.py/clean_up_caches--crossover with--dataset/ETHPy150Open benoitc/flower/flower/net/__init__.py/Dial