This commit is contained in:
Will McGugan 2020-07-12 16:19:52 +01:00
parent 9f165b5b06
commit dd40166fd3
2 changed files with 2 additions and 2 deletions

View File

@ -81,7 +81,7 @@ class Box:
def get_row(
self,
widths: Iterable[int],
level: Literal["head", "row", "foot"] = "row",
level: Literal["head", "row", "foot", "mid"] = "row",
edge: bool = True,
) -> str:
"""Get the top of a simple box.

View File

@ -109,7 +109,7 @@ class Table(JupyterMixin):
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_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".
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.