def transform(self, info, template):
        if not isinstance(template, Template):
            template = self.load_template(template)
        return template.generate(**info)
Render the output to an event stream.
dataset/ETHPy150Open timonwong/OmniMarkupPreviewer/OmniMarkupLib/Renderers/libs/python3/genshi/template/plugin.py/AbstractTemplateEnginePlugin.transform