Pārlūkot izejas kodu

contraints

main
Madiwka3 pirms 1 gada
vecāks
revīzija
d291abc762
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      app/schemas/user.py

+ 1
- 1
app/schemas/user.py Parādīt failu

@@ -10,7 +10,7 @@ class UserCreate(BaseModel):
Name: str = Field(..., min_length=3, max_length=50)
MiddleName: str = Field(None)
LastName: str = Field(..., min_length=3, max_length=50)
ContactNumber: str = Field(..., min_length=12, max_length=12)
ContactNumber: str = Field(..., min_length=6, max_length=16)
GovernmentId: str = Field(...)
Address: str = Field(...)
Email: EmailStr = Field(...)


Notiek ielāde…
Atcelt
Saglabāt