From b7367f2564b0e7cbee564a00e1a5ec458959ef32 Mon Sep 17 00:00:00 2001 From: alv2017 Date: Wed, 25 Dec 2024 22:10:12 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20Minor=20corrections=20in=20`docs?= =?UTF-8?q?/en/docs/tutorial/sql-databases.md`=20(#13081)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/en/docs/tutorial/sql-databases.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/docs/en/docs/tutorial/sql-databases.md b/docs/en/docs/tutorial/sql-databases.md index 972eb9308..eac86f7fb 100644 --- a/docs/en/docs/tutorial/sql-databases.md +++ b/docs/en/docs/tutorial/sql-databases.md @@ -125,8 +125,6 @@ The same way, you can declare it as the function's **return type**, and then the {* ../../docs_src/sql_databases/tutorial001_an_py310.py ln[40:45] hl[40:45] *} - - Here we use the `SessionDep` dependency (a `Session`) to add the new `Hero` to the `Session` instance, commit the changes to the database, refresh the data in the `hero`, and then return it. ### Read Heroes @@ -235,7 +233,6 @@ All the fields in `HeroPublic` are the same as in `HeroBase`, with `id` declared * `id` * `name` * `age` -* `secret_name` {* ../../docs_src/sql_databases/tutorial002_an_py310.py ln[7:18] hl[17:18] *}