pisces.utilities.io_tools.UnytArrayHandler.to_yaml#

static UnytArrayHandler.to_yaml(representer, obj)[source]#

Convert a Python object to a YAML node.

Parameters:
  • representer (ruamel.yaml.representer.Representer) – The YAML representer to use for creating the node.

  • obj (Any) – The Python object to serialize.

Returns:

A YAML node representing the serialized object.

Return type:

ruamel.yaml.nodes.Node