brain_pipe.parser.yaml.YAMLMixin

class YAMLMixin

Bases: object

Mixin class for a TextParser classes to parse YAML text.

__init__()

Methods

__init__()

parse_text_to_dict(text)

Parse YAML text to a dictionary.

parse_text_to_dict(text)

Parse YAML text to a dictionary.

Parameters:

text (str) – The YAML text to parse.

Returns:

The parsed dictionary.

Return type:

Dict[str, Any]