mlrl.testbed.experiments.output.sinks.sink_yaml module

Author Michael Rapp (michael.rapp.ml@gmail.com)

Provides classes that allow writing output data to YAML files.

class mlrl.testbed.experiments.output.sinks.sink_yaml.YamlFileSink(directory: Path, options: Options = <mlrl.util.options.Options object>, create_directory: bool = False)

Bases: FileSink

Allows to write structural output data to a YAML file.

create_source(input_directory: Path) Source | None

Must be implemented by subclasses in order to create a Source that can read the data written to this sink.

Returns:

The Source that has been created or None, if no source is available