Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -57,10 +57,9 @@ Base.metadata.create_all(bind=engine) # Create tables
|
|
| 57 |
class UserBase(BaseModel):
|
| 58 |
username: str = Field(..., min_length=3, max_length=50)
|
| 59 |
email: EmailStr
|
| 60 |
-
password: str = Field(..., min_length=6)
|
| 61 |
|
| 62 |
class UserCreate(UserBase):
|
| 63 |
-
|
| 64 |
|
| 65 |
class UserResponse(UserBase):
|
| 66 |
id: int
|
|
|
|
| 57 |
class UserBase(BaseModel):
|
| 58 |
username: str = Field(..., min_length=3, max_length=50)
|
| 59 |
email: EmailStr
|
|
|
|
| 60 |
|
| 61 |
class UserCreate(UserBase):
|
| 62 |
+
password: str = Field(..., min_length=6)
|
| 63 |
|
| 64 |
class UserResponse(UserBase):
|
| 65 |
id: int
|