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
Type stubs: Incorrect return type on validate_assignment #947
Comments
Yes, the type stub looks pretty wonky. In general this should return the model / |
Maybe it's better to just make the type stub here |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is it possible that the below type stub is incorrect?
pydantic-core/python/pydantic_core/_pydantic_core.pyi
Lines 174 to 183 in 6a13975
In the below example the returned value seems to be
a
of typeA
.The text was updated successfully, but these errors were encountered: