Skip to content

Data output

Output manager base class

Output

Bases: ABC

Abstract base class for managing output data.

flush() abstractmethod

Flush the output. This method should be implemented by subclasses.

save(data, **kwargs) abstractmethod

Save data to a file or ingest it into a Kafka topic.

Parameters:

Name Type Description Default
data Any

The data to save or ingest.

required
filename str

The filename to use when saving the data to a file.

required