astropy.io.misc
astropy.io.misc.yaml.
load_all
Parse the all YAML documents in a stream using the AstropyLoader class and produce the corresponding Python object.
stream : str or file-like object
YAML input
obj : object
Object corresponding to YAML document