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
Perhaps @willmcgugan will correct me on this, but I think you're expecting too much from Rich here.
The __rich__ method only works when printing the object directly. When printing dicts and other containers that contain the object, Rich will fall back to the default __repr__ method.
Describe the bug
I expected
__rich__
to be used for dict of objects. It is nota minimal code example:
Platform
Click to expand
What platform (Win/Linux/Mac) are you running on? What terminal software are you using?
linux, qterminal
I may ask you to copy and paste the output of the following commands. It may save some time if you do it now.
If you're using Rich in a terminal:
The text was updated successfully, but these errors were encountered: