gfw.common.io.yaml_save#

yaml_save(path, data, **kwargs)[source]#

Saves a dictionary to a YAML file.

Parameters:
  • path (str) – Path where the YAML file will be written.

  • data (dict[str, Any]) – Dictionary or other serializable Python object to save.

  • **kwargs (Any) – Additional keyword arguments passed to yaml.dump().