mirror of https://github.com/tiangolo/fastapi.git
✏ Fix typos in docs and source examples (#2102)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
This commit is contained in:
parent
ccd3b97f03
commit
75c64b6e4c
|
|
@ -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**.
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue