converter.files.yaml

Module Contents

Functions

write_yaml(path: str, content: Union[Dict, List])

Writes the provided content to the provided path

read_yaml(path)

Reads the yaml data from the provided path

converter.files.yaml.write_yaml(path: str, content: Union[Dict, List])

Writes the provided content to the provided path

Parameters
  • path – The path to write the data to

  • content – The data to write

converter.files.yaml.read_yaml(path)

Reads the yaml data from the provided path

Parameters

path – The path to read the data from

Returns

The loaded data