Skip to content

Pretty printing dataclasses #891

Answered by willmcgugan
henryiii asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, it would be nice to format Dataclasses similar to dicts. I did try, but it is more complex to introspect a dataclass than a dict. I might try again at some point.

Also, unrelated, adding links to make a new discussion to the issue template chooser is a good way to make discussions a bit more discoverable. :)

Good idea.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@henryiii
Comment options

@willmcgugan
Comment options

Answer selected by henryiii
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants