code: def save_to_path(path: str, config: Config) -> None:
      
      LOG.debug(f"Saving config to {path}")
      with open(path, 'w') as cf:
          cf.write(json.dumps({k: v for k, v in config._asdict().items()
                               if k != 'path'}))
docs: Save the config file to a specific path (not what's in the config)