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
Update __repr__ for initial-default and write-default (#2287)
<!--
Thanks for opening a pull request!
-->
<!-- In the case this PR will resolve an issue, please replace
${GITHUB_ISSUE_ID} below with the actual Github issue id. -->
Closes#1853
This adds a new repr function that ensures that `initial-default` and
`write-default` will not appear if they are None. Unfortunately, this
functionality isn't baked into Pydantic.
# Rationale for this change
__repr__ changes may be breaking.
# Are these changes tested?
Tests included.
# Are there any user-facing changes?
<!-- In the case of user-facing changes, please add the changelog label.
-->
0 commit comments