(stream, Loader=Loader)
Parse the first YAML document in a stream
    and produce the corresponding representation tree.
Parse the first YAML document in a stream
    and produce the corresponding representation tree.
Parse the first YAML document in a stream and produce the corresponding representation tree .
def compose(stream, Loader=Loader):
    # type: (StreamTextType, Any) -> Any
    """
    Parse the first YAML document in a stream
    and produce the corresponding representation tree.
    """
    loader = Loader(stream)
    try:
        return loader.get_single_node()
    finally:
        loader.dispose()
def compose ( stream , Loader = Loader ) : # type: (StreamTextType, Any) -> Any loader = Loader ( stream ) try : return loader . get_single_node ( ) finally : loader . dispose ( )