custom_tree_to_tagged_tree

asdf.yamlutil.custom_tree_to_tagged_tree(tree, ctx, _serialization_context=None)[source]

Convert a tree, possibly containing custom data types that aren’t directly representable in YAML, to a tree of basic data types, annotated with tags.