mirror of https://github.com/Textualize/rich.git
type fix
This commit is contained in:
parent
9f165b5b06
commit
dd40166fd3
|
@ -81,7 +81,7 @@ class Box:
|
||||||
def get_row(
|
def get_row(
|
||||||
self,
|
self,
|
||||||
widths: Iterable[int],
|
widths: Iterable[int],
|
||||||
level: Literal["head", "row", "foot"] = "row",
|
level: Literal["head", "row", "foot", "mid"] = "row",
|
||||||
edge: bool = True,
|
edge: bool = True,
|
||||||
) -> str:
|
) -> str:
|
||||||
"""Get the top of a simple box.
|
"""Get the top of a simple box.
|
||||||
|
|
|
@ -109,7 +109,7 @@ class Table(JupyterMixin):
|
||||||
show_footer (bool, optional): Show a footer row. Defaults to False.
|
show_footer (bool, optional): Show a footer row. Defaults to False.
|
||||||
show_edge (bool, optional): Draw a box around the outside of the table. Defaults to True.
|
show_edge (bool, optional): Draw a box around the outside of the table. Defaults to True.
|
||||||
show_lines (bool, optional): Draw lines between every row. Defaults to False.
|
show_lines (bool, optional): Draw lines between every row. Defaults to False.
|
||||||
leading (bool, optional): Number of blank lines between rows (precludes ``show_lines``). Defaults to False.
|
leading (bool, optional): Number of blank lines between rows (precludes ``show_lines``). Defaults to 0.
|
||||||
style (Union[str, Style], optional): Default style for the table. Defaults to "none".
|
style (Union[str, Style], optional): Default style for the table. Defaults to "none".
|
||||||
row_styles (List[Union, str], optional): Optional list of row styles, if more that one style is give then the styles will alternate. Defaults to None.
|
row_styles (List[Union, str], optional): Optional list of row styles, if more that one style is give then the styles will alternate. Defaults to None.
|
||||||
header_style (Union[str, Style], optional): Style of the header. Defaults to None.
|
header_style (Union[str, Style], optional): Style of the header. Defaults to None.
|
||||||
|
|
Loading…
Reference in New Issue