-
-
Notifications
You must be signed in to change notification settings - Fork 421
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
Schema is loading deferred properties #932
Comments
Sorry @vitalik, it seems like things are indeed working properly. This can be closed! |
Ok, I apologize again, things are indeed not working as originally reported. The following line is what triggers Line 65 in 6f27eee
|
Something like this should be a good solution. It might need to be made opt-in, to avoid a breaking change. if key in self._obj.get_deferred_fields():
# skip field |
Similar discussion: pydantic/pydantic#6861 |
|
This overlaps with #333. Also, I filed an issue in pydantic core |
Discussed in #928
Originally posted by mustafa0x November 17, 2023
The response includes the text, even though I excluded/deferred it using
only
.The text was updated successfully, but these errors were encountered: