load_all

astropy.io.misc.yaml.load_all(stream)[source]

Parse the all YAML documents in a stream using the AstropyLoader class and produce the corresponding Python object.

Parameters
streamstr or file-like object

YAML input

Returns
objobject

Object corresponding to YAML document