(
self,
_object: Any,
highlighter: Optional["HighlighterType"] = None,
*,
indent_size: int = 4,
justify: Optional["JustifyMethod"] = None,
overflow: Optional["OverflowMethod"] = None,
no_wrap: Optional[bool] = False,
indent_guides: bool = False,
max_length: Optional[int] = None,
max_string: Optional[int] = None,
max_depth: Optional[int] = None,
expand_all: bool = False,
margin: int = 0,
insert_line: bool = False,
)
| 271 | """ |
| 272 | |
| 273 | def __init__( |
| 274 | self, |
| 275 | _object: Any, |
| 276 | highlighter: Optional["HighlighterType"] = None, |
| 277 | *, |
| 278 | indent_size: int = 4, |
| 279 | justify: Optional["JustifyMethod"] = None, |
| 280 | overflow: Optional["OverflowMethod"] = None, |
| 281 | no_wrap: Optional[bool] = False, |
| 282 | indent_guides: bool = False, |
| 283 | max_length: Optional[int] = None, |
| 284 | max_string: Optional[int] = None, |
| 285 | max_depth: Optional[int] = None, |
| 286 | expand_all: bool = False, |
| 287 | margin: int = 0, |
| 288 | insert_line: bool = False, |
| 289 | ) -> None: |
| 290 | self._object = _object |
| 291 | self.highlighter = highlighter or ReprHighlighter() |
| 292 | self.indent_size = indent_size |
| 293 | self.justify: Optional["JustifyMethod"] = justify |
| 294 | self.overflow: Optional["OverflowMethod"] = overflow |
| 295 | self.no_wrap = no_wrap |
| 296 | self.indent_guides = indent_guides |
| 297 | self.max_length = max_length |
| 298 | self.max_string = max_string |
| 299 | self.max_depth = max_depth |
| 300 | self.expand_all = expand_all |
| 301 | self.margin = margin |
| 302 | self.insert_line = insert_line |
| 303 | |
| 304 | def __rich_console__( |
| 305 | self, console: "Console", options: "ConsoleOptions" |
nothing calls this directly
no test coverage detected