@@ -40,31 +40,31 @@ class Column:
40
40
"""Defines a column in a table."""
41
41
42
42
header : "RenderableType" = ""
43
- """Renderable for the header (typically a string)"""
43
+ """RenderableType: Renderable for the header (typically a string)"""
44
44
45
45
footer : "RenderableType" = ""
46
- """Renderable for the footer (typically a string)"""
46
+ """RenderableType: Renderable for the footer (typically a string)"""
47
47
48
48
header_style : StyleType = "table.header"
49
- """The style of the header."""
49
+ """StyleType: The style of the header."""
50
50
51
51
footer_style : StyleType = "table.footer"
52
- """The style of the footer."""
52
+ """StyleType: The style of the footer."""
53
53
54
54
style : StyleType = "none"
55
- """The style of the column."""
55
+ """StyleType: The style of the column."""
56
56
57
57
justify : "JustifyValues" = "left"
58
- """How to justify text within the column ("left", "center", "right", or "full")"""
58
+ """str: How to justify text within the column ("left", "center", "right", or "full")"""
59
59
60
60
width : Optional [int ] = None
61
- """Width of the column, or ``None`` (default) to auto calculate width."""
61
+ """Optional[int]: Width of the column, or ``None`` (default) to auto calculate width."""
62
62
63
63
ratio : Optional [int ] = None
64
- """Ratio to use when calculating column width, or ``None`` (default) to adapt to column contents."""
64
+ """Optional[int]: Ratio to use when calculating column width, or ``None`` (default) to adapt to column contents."""
65
65
66
66
no_wrap : bool = False
67
- """Prevent wrapping of text within the column. Defaults to ``False``."""
67
+ """bool: Prevent wrapping of text within the column. Defaults to ``False``."""
68
68
69
69
_cells : List ["RenderableType" ] = field (default_factory = list )
70
70
0 commit comments