Open libexpand opened 1 year ago
The notes are only omitted when rich
is installed. When rich is not installed the notes are included.
So it looks like the notes are omitted by rich.Console in the function 'print_exception', and therefore not something typer could directly fix.
As a work-around Typer could manually print the notes until rich.Console implements it. I wouldn't mind looking into this if this behavior is desired.
This was logged with Rich as https://github.com/Textualize/rich/issues/2652
First Check
Commit to Help
Example Code
Description
The note does not appear when
pretty_exceptions_enable=True
PEP 678 – Enriching Exceptions with NotesWanted Solution
I would like the note to appear when pretty exceptions are enabled.
Wanted Code
Alternatives
No response
Operating System
Linux, Windows
Operating System Details
No response
Typer Version
0.7.0
Python Version
Python 3.11.0
Additional Context
No response