From 75c64b6e4c33bb6ea11fc3af7143ccba6169038d Mon Sep 17 00:00:00 2001 From: Adrian <me@adriandeanda.com> Date: Thu, 5 Nov 2020 16:14:17 -0600 Subject: [PATCH] =?UTF-8?q?=E2=9C=8F=20Fix=20typos=20in=20docs=20and=20sou?= =?UTF-8?q?rce=20examples=20(#2102)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Sebastián RamÃrez <tiangolo@gmail.com> --- docs/en/docs/async.md | 2 +- tests/test_multipart_installation.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/en/docs/async.md b/docs/en/docs/async.md index 7c3dcfdea..07afd7bdc 100644 --- a/docs/en/docs/async.md +++ b/docs/en/docs/async.md @@ -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**. diff --git a/tests/test_multipart_installation.py b/tests/test_multipart_installation.py index c134332d3..c8a6fd942 100644 --- a/tests/test_multipart_installation.py +++ b/tests/test_multipart_installation.py @@ -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