pisces.utilities.io_tools.get_unyt_compatible_yaml#
- pisces.utilities.io_tools.get_unyt_compatible_yaml() YAML [source]#
Get a YAML instance configured for unyt compatibility.
This function creates a ruamel.yaml.YAML instance and registers custom representers and constructors for unyt types.
- Returns:
A YAML instance with unyt support.
- Return type:
ruamel.yaml.YAML