UNSET values in repr
are extremely verbose
#825
forest-benchling
started this conversation in
Feature request
Replies: 2 comments
-
Relevant PEP is still a draft, so, we'll be stuck with |
Beta Was this translation helpful? Give feedback.
0 replies
-
Maybe it's possible to rely on pydantics unset? |
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
-
Is your feature request related to a problem? Please describe.
When printing out models, we often get extremely verbose strings, such as:
This makes debugging much more challenging.
Describe the solution you'd like
Ideally it would print
Describe alternatives you've considered
It would also be an improvement if the repr of
UNSET
itself was shortened. I know @dbanty mentioned a PEP a while back that would allow us to make it a sentinel.Additional context
cc @GitOnUp
Beta Was this translation helpful? Give feedback.
All reactions