pyrolab.configure.YAMLMixin

Contents

pyrolab.configure.YAMLMixin#

class YAMLMixin[source]#

Bases: object

Methods

from_file(filename)

Loads a configuration from a YAML file.

from_yaml(yaml)

Loads a YAML representation of the configuration.

yaml([sort_keys, default_flow_style, ...])

Returns a YAML representation of the configuration.