add support for normal pydantic fields
This commit is contained in:
@ -98,6 +98,7 @@ def get_pydantic_base_orm_config() -> Type[pydantic.BaseConfig]:
|
||||
|
||||
class Config(pydantic.BaseConfig):
|
||||
orm_mode = True
|
||||
validate_assignment = True
|
||||
|
||||
return Config
|
||||
|
||||
|
||||
Reference in New Issue
Block a user