Method: rich.pretty.Pretty.__init__
Calls: 44, Exceptions: 0, Paths: 1Back
Path 1: 44 calls (1.0)
1 (11) Layout (9) 0 (3) (1,) (3) dict (2) test_broken_call_attr.
None (26) ReprHighlighter (18)
4 (44)
None (44)
None (34) 'ignore' (10)
False (44)
False (32) True (12)
None (39) 10 (3) 2 (2)
None (40) 60 (2) 8 (1) 80 (1)
None (43) 1 (1)
False (40) True (4)
0 (43) 12 (1)
False (43) True (1)
1def __init__(
2 self,
3 _object: Any,
4 highlighter: Optional["HighlighterType"] = None,
5 *,
6 indent_size: int = 4,
7 justify: Optional["JustifyMethod"] = None,
8 overflow: Optional["OverflowMethod"] = None,
9 no_wrap: Optional[bool] = False,
10 indent_guides: bool = False,
11 max_length: Optional[int] = None,
12 max_string: Optional[int] = None,
13 max_depth: Optional[int] = None,
14 expand_all: bool = False,
15 margin: int = 0,
16 insert_line: bool = False,
17 ) -> None:
18 self._object = _object
19 self.highlighter = highlighter or ReprHighlighter()
20 self.indent_size = indent_size
21 self.justify: Optional["JustifyMethod"] = justify
22 self.overflow: Optional["OverflowMethod"] = overflow
23 self.no_wrap = no_wrap
24 self.indent_guides = indent_guides
25 self.max_length = max_length
26 self.max_string = max_string
27 self.max_depth = max_depth
28 self.expand_all = expand_all
29 self.margin = margin
30 self.insert_line = insert_line