✏ Fix typos in docs and source examples (#2102)

Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
This commit is contained in:
Adrian 2020-11-05 16:14:17 -06:00 committed by GitHub
parent ccd3b97f03
commit 75c64b6e4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -210,7 +210,7 @@ Most of the existing popular Python frameworks (including Flask and Django) were
Even though the main specification for asynchronous web Python (ASGI) was developed at Django, to add support for WebSockets.
That kind of asynchronicity is what made NodeJS popular (even though NodeJS is not parallel) and that's the strength of Go as a programing language.
That kind of asynchronicity is what made NodeJS popular (even though NodeJS is not parallel) and that's the strength of Go as a programming language.
And that's the same level of performance you get with **FastAPI**.

View File

@ -42,7 +42,7 @@ def test_incorrect_multipart_installed_multi_form(monkeypatch):
app = FastAPI()
@app.post("/")
async def root(username: str = Form(...), pasword: str = Form(...)):
async def root(username: str = Form(...), password: str = Form(...)):
return username # pragma: nocover