mlrl.testbed.experiments.output.sinks.sink_text module

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

Provides classes that allow writing output data to text files.

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

Bases: FileSink

Allows to write textual output data to a text 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