weldx.asdf.util.
get_yaml_header
Read the YAML header part (excluding binary sections) of an ASDF file.
file – filename, pathlib.Path or BytesIO buffer of ASDF file
pathlib.Path
BytesIO
The YAML header the ASDF file
str