code: def _save_new_defaults(self, defaults, new_version, subfolder):
          
          new_defaults = DefaultsConfig(name='defaults-'+new_version,
                                        subfolder=subfolder)
          if not osp.isfile(new_defaults.filename()):
              new_defaults.set_defaults(defaults)
              new_defaults._save()
docs: Save new defaults