This commit is contained in:
2024-03-04 04:15:01 +03:00
parent d870f1cffe
commit bf24c791fc
12 changed files with 116 additions and 13 deletions

View File

@@ -1,5 +1,12 @@
from pydantic import BaseModel
class CustomConfig:
populate_by_name = True
from_attributes = True
class CustomModel(BaseModel):
pass
class Config:
from_attributes = True