From 581d111f869cc6ede411869d052edf91921fecc3 Mon Sep 17 00:00:00 2001 From: Krzysztof Czapla <107809367+KrzysztofCzapla@users.noreply.github.com> Date: Tue, 11 Nov 2025 21:28:39 +0100 Subject: [PATCH] Update docs/en/docs/tutorial/sql-databases.md Co-authored-by: Motov Yurii <109919500+YuriiMotov@users.noreply.github.com> --- docs/en/docs/tutorial/sql-databases.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/en/docs/tutorial/sql-databases.md b/docs/en/docs/tutorial/sql-databases.md index ce294eefa..83750e904 100644 --- a/docs/en/docs/tutorial/sql-databases.md +++ b/docs/en/docs/tutorial/sql-databases.md @@ -289,7 +289,6 @@ We receive in the request a `HeroCreate` *data model*, and from it, we create a This new *table model* `Hero` will have the fields sent by the client, and will also have an `id` generated by the database. Then we return the same *table model* `Hero` as is from the function. But as we declare the `response_model` with the `HeroPublic` *data model*, **FastAPI** will use `HeroPublic` to validate and serialize the data. -7 {* ../../docs_src/sql_databases/tutorial002_an_py310.py ln[61:67] hl[61:63] *} /// tip