-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prettyprinter does not print dataclass default values #74
Comments
I can see that it can be advantageous for some use-cases to have default-valued fields excluded from the pretty-print. But it would also be great to be able to configure this aspect of the dataclasses pretty-printing. Relevant code where fields with default values are excluded: prettyprinter/prettyprinter/extras/dataclasses.py Lines 32 to 50 in 53ba5f9
|
The same thing also happens with |
Description
Prettyprinter does not print dataclass default values
What I Did
Script prints:
The text was updated successfully, but these errors were encountered: