Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign up__str__ and __repr__ are squashed on child classes #1022
Closed
Labels
Comments
This comment has been minimized.
This comment has been minimized.
thanks for reporting, should be fixed in #1023, please check that works for you. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After #884, a child class of a model does not inherit its parent's
__str__
and__repr__
overloads.import sys; print(sys.version)
: 3.7.5 (default, Nov 20 2019, 09:21:52) [GCC 9.2.1 20191008]import pydantic; print(pydantic.VERSION)
: 1.1.1