load_yaml¶
- asdf.util.load_yaml(init, tagged=False)[source]¶
Load just the yaml portion of an ASDF file
- Parameters:
- initfilename or file-like
If file-like this must be opened in binary mode.
- tagged: bool, optional
Return tree with instances of
asdf.tagged.Taggedthis can be helpful if the yaml tags are of interest. If False, the tree will only contain basic python types (see the pyyamlBaseLoaderdocumentation).
- Returns:
- treedict
Dictionary representing the ASDF tree