bec_lib.bec_yaml_loader.yaml_load#

yaml_load(stream: TextIOWrapper | str) dict[source]#

Load a yaml file with the ability to include other yaml files.

Parameters:

stream (io.TextIOWrapper | str) – The yaml file to load. Can be a file object or a string pointing to a file.

Returns:

The yaml file as a dictionary.

Return type:

dict