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
Hello @jhagege!
There is currently no way of doing it directly in the Config. It could maybe be added to #660.
In the meantime I reckon you can just override the default value in your own BaseModel:
Hi, is it possible to use a parameter to specify to automatically use the option "exclude_none=True" from the Config class of a Pydantic model ?
I'd like to encapsulate this logic and not require from users of the model to know about this option.
Thanks !
The text was updated successfully, but these errors were encountered: