pisces.utilities.io_tools.UnytQuantityHandler.from_yaml#
- static UnytQuantityHandler.from_yaml(loader, node)[source]#
Convert a YAML node to a Python object.
- Parameters:
loader (
ruamel.yaml.constructor.Constructor
) – The YAML loader to use for constructing the Python object.node (
ruamel.yaml.nodes.Node
) – The YAML node to deserialize.
- Returns:
The deserialized Python object.
- Return type:
Any