def save_backend_configuration(dataset_backend_name, dataset_backend_configuration):
 dataset_path = FilePath(mkdtemp()).child('dataset-backend.yml')
 print 'Saving dataset backend config to: {}'.format(dataset_path.path)
 dataset_path.setContent(yaml.safe_dump({dataset_backend_name.name: dataset_backend_configuration}))
 return dataset_path

def save_backend_configuration ( dataset_backend_name , dataset_backend_configuration ) : dataset_path = FilePath ( mkdtemp ( ) ) . child ( 'dataset-backend.yml' ) print 'Saving dataset backend config to: {}' . format ( dataset_path . path ) dataset_path . setContent ( yaml . safe_dump ( { dataset_backend_name . name : dataset_backend_configuration } ) ) return dataset_path
saves the backend configuration to a local file for consumption by the trial process .