fix pydantic version as 1.8.2

This commit is contained in:
grillazz
2021-12-24 13:15:06 +01:00
parent f7c4d76a31
commit 1c0f946919
5 changed files with 96 additions and 106 deletions

View File

@@ -14,7 +14,7 @@ class NonsenseSchema(BaseModel):
)
class Config:
# orm_mode = True
orm_mode = True
schema_extra = {
"example": {
"name": "Name for Some Nonsense",

View File

@@ -14,7 +14,7 @@ class StuffSchema(BaseModel):
)
class Config:
# orm_mode = True
orm_mode = True
schema_extra = {
"example": {
"name": "Name for Some Stuff",