From cad6a6e0c1ffa9bb1720f4fb4a627da94f463c98 Mon Sep 17 00:00:00 2001 From: Christoph Deil Date: Wed, 8 Jan 2020 22:34:14 +0100 Subject: [PATCH] :memo: Highlight all new lines in docs example upgrade (#795) --- README.md | 3 +-- docs/index.md | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 702cbdef7..4f73c0f71 100644 --- a/README.md +++ b/README.md @@ -206,8 +206,7 @@ Now modify the file `main.py` to receive a body from a `PUT` request. Declare the body using standard Python types, thanks to Pydantic. - -```Python hl_lines="2 7 8 9 10 24" +```Python hl_lines="2 7 8 9 10 23 24 25" from fastapi import FastAPI from pydantic import BaseModel diff --git a/docs/index.md b/docs/index.md index 702cbdef7..4f73c0f71 100644 --- a/docs/index.md +++ b/docs/index.md @@ -206,8 +206,7 @@ Now modify the file `main.py` to receive a body from a `PUT` request. Declare the body using standard Python types, thanks to Pydantic. - -```Python hl_lines="2 7 8 9 10 24" +```Python hl_lines="2 7 8 9 10 23 24 25" from fastapi import FastAPI from pydantic import BaseModel