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
Use of stdlib dataclasses with BaseModel does not work as expected #8422
Comments
Yes. We need to add Also, we may want to improve the wording on this section. |
Hi @Kludex , I can work on this issue. |
Go for it! I can review a PR. |
Sorry for taking this, but I saw that baohuamap hadn't submitted a PR and it's been 5 days so I assumed it was fair game to create one. Here is a PR for it #8491 |
Hi @patelnets, I've been waiting for any members to assign me this ticket to start working on it. But if you have done it, It's fine. |
Ahh sorry about that! |
Initial Checks
Description
The following Pydantic example, Use of stdlib dataclasses with BaseModel, fails to work as expected.
Specifically, the
ValidationError
forfile.filename input should be a valid string ...
does not occur. Is this expected behavior?Example Code
No response
Python, Pydantic & OS Version
The text was updated successfully, but these errors were encountered: