Skip to content

Commit 3711c97

Browse files
committed
added UserTestResponse schemas
1 parent 5f018e4 commit 3711c97

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

app/schemas.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,15 @@ class Config:
1818
from_attributes = True
1919

2020

21+
class UserTestResponse(BaseModel):
22+
password: str
23+
email: EmailStr
24+
25+
class Config:
26+
from_attributes = True
27+
28+
29+
2130
class PostBase(BaseModel):
2231
id: int
2332
title: str

0 commit comments

Comments
 (0)