]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
📝 Minor corrections in `docs/en/docs/tutorial/sql-databases.md` (#13081)
authoralv2017 <v.alishauskaite@gmail.com>
Wed, 25 Dec 2024 20:10:12 +0000 (22:10 +0200)
committerGitHub <noreply@github.com>
Wed, 25 Dec 2024 20:10:12 +0000 (20:10 +0000)
docs/en/docs/tutorial/sql-databases.md

index 972eb93084ac7e1fb2444328805e01aae874276c..eac86f7fb65ac3cb94dc0ca19fc65704d29a5c90 100644 (file)
@@ -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] *}
 
-</details>
-
 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] *}