Pretty printing truncates all types of containers #3883
Unanswered
davidbrochart
asked this question in
Q&A
Replies: 1 comment
-
|
Not currently. At least nothing comes to mind. Open to adding some kind of extension mechanism, if you can suggestion one. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Rich's pretty printing has a
max_lengthto truncate large containers, which is great but it applies to all types of containers. It would be great to be able to have one for dicts and one for lists.In my case I would like all dict entries to be shown, but lists to be truncated. Is there a way to achieve that?
Beta Was this translation helpful? Give feedback.
All reactions