You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Team, first off all great package, wonderful work, kudos.
I have a method which is returning a stream-able object and i'm using for loop to print the output to the console. here is a sample code.
The problem I'm facing is when the output is printed it prints unstyled version and the Markdown formatted output too. i tried using console.clean() but it was clearing the question panels too. here is an image of the terminal.
what am i missing here, even if the unstyled data is o/p to terminal, is there a way to remove them once the Markdown version is displayed like console.clean().
The text was updated successfully, but these errors were encountered:
The issue was StreamingStdOutCallbackHandler() is writing the first part and rich is printing the second part. The solution was to redirect the rich output to stderr and used contextlib.redirect_stdout to redirect stdout to a dummy stream.
Hi Team, first off all great package, wonderful work, kudos.
I have a method which is returning a stream-able object and i'm using
for
loop to print the output to the console. here is a sample code.The problem I'm facing is when the output is printed it prints
unstyled
version and theMarkdown
formatted output too. i tried usingconsole.clean()
but it was clearing thequestion panels
too. here is an image of the terminal.what am i missing here, even if the
unstyled
data is o/p to terminal, is there a way to remove them once theMarkdown
version is displayed likeconsole.clean()
.The text was updated successfully, but these errors were encountered: