(
*,
title: Optional[str] = None,
box_style: Any = box.SIMPLE,
show_header: bool = True,
header_style: Optional[str] = None,
)
| 42 | |
| 43 | |
| 44 | def _new_table( |
| 45 | *, |
| 46 | title: Optional[str] = None, |
| 47 | box_style: Any = box.SIMPLE, |
| 48 | show_header: bool = True, |
| 49 | header_style: Optional[str] = None, |
| 50 | ) -> Table: |
| 51 | return Table( |
| 52 | title=title, |
| 53 | box=box_style, |
| 54 | show_header=show_header, |
| 55 | header_style=header_style, |
| 56 | title_justify="left", |
| 57 | width=_table_width(), |
| 58 | expand=False, |
| 59 | pad_edge=False, |
| 60 | ) |
| 61 | |
| 62 | |
| 63 | def _kv_value_width() -> int: |
no test coverage detected