def add_to_flush_list(self, mapping):
        flush_lists = collections.defaultdict(set)
        flush_lists.update(cache.get_many(list(mapping.keys())))
        for key, list_ in list(mapping.items()):
            if flush_lists[key] is None:
                flush_lists[key] = set(list_)
            else:
                flush_lists[key].update(list_)
        cache.set_many(flush_lists)
Returns the directory where the config files and images will live.
dataset/ETHPy150Open django-cache-machine/django-cache-machine/caching/invalidation.py/Invalidator.add_to_flush_list--crossover with--dataset/ETHPy150Open openstack/ironic/ironic/common/pxe_utils.py/get_root_dir