The function does the following:
-* Takes a `fist_name` and `last_name`.
+* Takes a `first_name` and `last_name`.
* Converts the first letter of each one to upper case with `title()`.
* <abbr title="Puts them together, as one. With the contents of one after the other.">Concatenates</abbr> them with a space in the middle.
"johndoe": {
"username": "johndoe",
"password": "shouldbehashed",
- "fist_name": "John",
+ "first_name": "John",
"last_name": "Doe",
}
}
class UserInDB(BaseModel):
username: str
password: str
- fist_name: str
+ first_name: str
last_name: str
class UserOut(BaseModel):
username: str
- fist_name: str
+ first_name: str
last_name: str