def as_ansitable(self, title: str = '{table.name}', **kwargs: Any) -> str: """Draw table as a terminal ANSI table.""" return dict_as_ansitable( self, title=title.format(table=self.table), **kwargs)
def as_ansitable(self, title: str = '{table.name}', **kwargs: Any) -> str: return dict_as_ansitable(self, title=title.format(table=self.table), **kwargs)