def set_cache_over_settings(destination, setting, key_prefix, value, ttl):
 existing = destination.settings.get(setting, {})
 existing.update(value)
 set_cache(((key_prefix + '.') + setting), value, ttl)
 destination.settings[setting] = value

def set_cache_over_settings ( destination , setting , key_prefix , value , ttl ) : existing = destination . settings . get ( setting , { } ) existing . update ( value ) set_cache ( ( ( key_prefix + '.' ) + setting ) , value , ttl ) destination . settings [ setting ] = value
take the value passed .