Skip to content
Permalink
Browse files

🔀 Merge PR #72

  • Loading branch information...
tiangolo committed Mar 21, 2019
1 parent 1c26e77 commit 3f7b7837fbd19014d2737632e4284fdf1fc73121
Showing with 4 additions and 4 deletions.
  1. +1 −1 docs/python-types.md
  2. +3 −3 pending_tests/main.py
@@ -29,7 +29,7 @@ John Doe

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.

@@ -62,7 +62,7 @@ def __init__(self):
"johndoe": {
"username": "johndoe",
"password": "shouldbehashed",
"fist_name": "John",
"first_name": "John",
"last_name": "Doe",
}
}
@@ -87,7 +87,7 @@ class TokenUserData(BaseModel):
class UserInDB(BaseModel):
username: str
password: str
fist_name: str
first_name: str
last_name: str


@@ -109,7 +109,7 @@ def require_user(

class UserOut(BaseModel):
username: str
fist_name: str
first_name: str
last_name: str


0 comments on commit 3f7b783

Please sign in to comment.
You can’t perform that action at this time.