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
Thank you for reporting! I took a quick look. Seems that this happens with pydantic 2 but works fine with pydantic 1. Not sure why. Will look in more detail later.
mauvilsa
changed the title
[Question] How to use the dot syntax correctly?
Dot syntax not working correctly for pydantic 2 models
Oct 26, 2024
🐛 Bug report
To reproduce
It works well when the model argument is specified as a json string:
However, it doesn't work using the dot syntax:
Expected behavior
Environment
The text was updated successfully, but these errors were encountered: