Method: rich.panel.Panel.__init__
Calls: 69, Exceptions: 0, Paths: 1Back
Path 1: 69 calls (1.0)
Group (35) 'Hello, World' (8) 'FOO' (4) Align (4) Text (3) 'foo' (3) Pretty (2) Table (2) Syntax (2) Panel (1)
Box (69)
None (27) Text (20) '[traceback.title]Traceback [dim](most recent call last)' (18) 'FOO' (1) '[i]locals' (1) 'Hello' (1) 'locals' (1)
'center' (69)
None (68) 'FOO' (1)
'center' (69)
None (69)
True (41) False (28)
'none' (43) Style (19) '' (4) 'markdown.h1.border' (3)
'none' (26) 'scope.border' (18) 'traceback.border' (18) 'blue' (4) 'inspect.value.border' (2) 'traceback.border.syntax_error' (1)
None (66) 8 (1) 20 (1) 100 (1)
None (65) 5 (4)
(0, 1) (54) 0 (15)
False (69)
1def __init__(
2 self,
3 renderable: "RenderableType",
4 box: Box = ROUNDED,
5 *,
6 title: Optional[TextType] = None,
7 title_align: AlignMethod = "center",
8 subtitle: Optional[TextType] = None,
9 subtitle_align: AlignMethod = "center",
10 safe_box: Optional[bool] = None,
11 expand: bool = True,
12 style: StyleType = "none",
13 border_style: StyleType = "none",
14 width: Optional[int] = None,
15 height: Optional[int] = None,
16 padding: PaddingDimensions = (0, 1),
17 highlight: bool = False,
18 ) -> None:
19 self.renderable = renderable
20 self.box = box
21 self.title = title
22 self.title_align: AlignMethod = title_align
23 self.subtitle = subtitle
24 self.subtitle_align = subtitle_align
25 self.safe_box = safe_box
26 self.expand = expand
27 self.style = style
28 self.border_style = border_style
29 self.width = width
30 self.height = height
31 self.padding = padding
32 self.highlight = highlight