MCPcopy Create free account
hub / github.com/archlinux/archinstall / BaseRichTable

Class BaseRichTable

archinstall/tui/rich.py:8–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6
7
8class BaseRichTable(RichTable):
9 def __init__(self) -> None:
10 super().__init__(
11 box=box.SIMPLE,
12 show_header=False,
13 pad_edge=False,
14 show_edge=False,
15 )
16
17 def stringify(self) -> str:
18 string_io = StringIO()
19 buf = Console(file=string_io, highlight=False)
20 buf.print(self)
21
22 _ = string_io.seek(0)
23 output = string_io.read()
24
25 return output

Callers 1

as_key_value_pairFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected