def merge_cache_over_settings(destination, setting, key_prefix):
 existing = destination.settings.get(setting, {})
 value = get_cache(((key_prefix + '.') + setting), {})
 if value:
  existing.update(value)
  destination.settings[setting] = existing

def merge_cache_over_settings ( destination , setting , key_prefix ) : existing = destination . settings . get ( setting , { } ) value = get_cache ( ( ( key_prefix + '.' ) + setting ) , { } ) if value : existing . update ( value ) destination . settings [ setting ] = existing
take the cached value of key and put it into the key setting of the destination .