saveYaml#

pyCGM2.Utils.files.saveYaml(path: str, filename: str, content: Dict)#

Save a dictionary as a YAML file.

Parameters:
  • path (str) – The directory path to save the YAML file.

  • filename (str) – The name of the YAML file to be saved.

  • content (Dict) – The dictionary content to be saved as YAML.

Note

This function may not work well with OrderedDict types.