apache_beam.yaml.yaml_utils module

class apache_beam.yaml.yaml_utils.SafeLineLoader(stream)[source]

Bases: SafeLoader

A yaml loader that attaches line information to mappings and strings.

class TaggedString[source]

Bases: str

A string class to which we can attach metadata.

This is primarily used to trace a string’s origin back to its place in a yaml file.

construct_scalar(node)[source]
construct_mapping(node, deep=False)[source]
classmethod create_uuid()[source]
classmethod strip_metadata(spec, tagged_str=True)[source]
static get_line(obj)[source]