pisces.utilities.io_tools.PathHandler.from_yaml#

static PathHandler.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