Ejemplo n.º 1
0
 def render_text(self, output: str) -> str:
     """Exports the info to string"""
     console = AirflowConsole(record=True)
     with console.capture():
         self.show(output=output, console=console)
     return console.export_text()
Ejemplo n.º 2
0
 def render_text(self) -> str:
     """Exports the info to string"""
     console = AirflowConsole(record=True)
     with console.capture():
         self.info(console)
     return console.export_text()