(self)
| 93 | return max(sum(self.col_len)+3, title_width) |
| 94 | |
| 95 | def asdict(self) -> dict: |
| 96 | d = {"rows": [ |
| 97 | [c.asdict() for c in row] for row in self.rows |
| 98 | ]} |
| 99 | if self.metadata: |
| 100 | d["metadata"] = self.metadata |
| 101 | |
| 102 | return d |
| 103 | |
| 104 | def pprint(self, preport=None): |
| 105 | from .text import PrettyReport |
no outgoing calls
no test coverage detected