Method: rich.console.Capture.get
Calls: 21, Exceptions: 1, Paths: 2Back
Path 1: 20 calls (0.95)
'Hello\n' (3) "\x1b[1mC:\\Users\\stefa\\AppData\\Local\\Temp\\tmp3ydingba:\x1b[0m In function '\x1b[1mmain\x1b[0m':\n\x1b[1mC:\\Users\\stefa\\AppData\...
1def get(self) -> str:
2 """Get the result of the capture."""
3 if self._result is None:
4 raise CaptureError(
5 "Capture result is not available until context manager exits."
6 )
7 return self._result
Path 2: 1 calls (0.05)
CaptureError (1)
1def get(self) -> str:
2 """Get the result of the capture."""
3 if self._result is None:
4 raise CaptureError(
5 "Capture result is not available until context manager exits."
6 )
7 return self._result