code: def write_config(config, path, final=False):
      
      with open(config_path(path, final=final), 'w+') as configfile:
          yaml.dump(config, configfile, default_flow_style=False)
docs: Write Renku configuration.