Function from_yaml
Synopsis
def from_yaml(cls, loader, node)
Description
Convert a representation node to a Python object.
Mentioned in
- Documentation / YAMLObject
Source
Lines 414-419 in lib3/yaml/__init__.py.
def from_yaml(cls, loader, node):
"""
Convert a representation node to a Python object.
"""
return loader.construct_yaml_object(node, cls)