Support pydantic.BaseModel.Config.underscore_attrs_are_private
#145
Labels
enhancement
New feature or request
pydantic.BaseModel.Config.underscore_attrs_are_private
#145
Feature request
Support using the
underscore_attrs_are_private
config in models.Context
I use pydantic's
underscore_attrs_are_private
feature to have field in my pydantic models that are are not public.odmantic.config.py
raisesValueError: 'Example': 'Config.underscore_attrs_are_private' is not supported
Solution
Be able to use
<model>.Config.underscore_attrs_are_private
without an error being raised.Alternative solutions
None.
Additional context
None.
The text was updated successfully, but these errors were encountered: