def set_writer(self, writer_name):
        writer_class = writers.get_writer_class(writer_name)
        self.writer = writer_class()
Set `self.writer` by name.
dataset/ETHPy150Open adieu/allbuttonspressed/docutils/core.py/Publisher.set_writer