Method: rich.console.Console.out
Calls: 1, Exceptions: 0, Paths: 1Back
Path 1: 1 calls (1.0)
'.' (1)
'X' (1)
None (1)
None (1)
('foo bar', 'foo bar', 'foo bar', 'foo bar', 'foo bar') (1)
1def out(
2 self,
3 *objects: Any,
4 sep: str = " ",
5 end: str = "\n",
6 style: Optional[Union[str, Style]] = None,
7 highlight: Optional[bool] = None,
8 ) -> None:
9 """Output to the terminal. This is a low-level way of writing to the terminal which unlike
10 :meth:`~rich.console.Console.print` won't pretty print, wrap text, or apply markup, but will
11 optionally apply highlighting and a basic style.
12
13 Args:
14 sep (str, optional): String to write between print data. Defaults to " ".
15 end (str, optional): String to write at end of print data. Defaults to "\\\\n".
16 style (Union[str, Style], optional): A style to apply to output. Defaults to None.
17 highlight (Optional[bool], optional): Enable automatic highlighting, or ``None`` to use
18 console default. Defaults to ``None``.
19 """
20 raw_output: str = sep.join(str(_object) for _object in objects)
21 self.print(
22 raw_output,
23 style=style,
24 highlight=highlight,
25 emoji=False,
26 markup=False,
27 no_wrap=True,
28 overflow="ignore",
29 crop=False,
30 end=end,
31 )