From 5f1ef3047ef0896a31a6512f9bafeef8d0479980 Mon Sep 17 00:00:00 2001 From: "alireza.bahrami" Date: Sun, 26 Jan 2025 10:12:36 +0330 Subject: [PATCH] fix(docs/en): second revision on code blocks representaion in docs --- docs/en/docs/tutorial/sql-databases.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/en/docs/tutorial/sql-databases.md b/docs/en/docs/tutorial/sql-databases.md index 92f5e6649..3f3f11943 100644 --- a/docs/en/docs/tutorial/sql-databases.md +++ b/docs/en/docs/tutorial/sql-databases.md @@ -141,19 +141,19 @@ Here we use the `SessionDep` dependency (a `Session`) to add the new `Hero` to t We can **read** `Hero`s from the database using a `select()`. We can include a `limit` and `offset` to paginate the results. -{* ../../docs_src/sql_databases/tutorial001_an_py310.py ln[54:61] hl[56:57,59] *} +{* ../../docs_src/sql_databases/tutorial001_an_py310.py ln[53:60] hl[56:57,59] *} ### Read One Hero We can **read** a single `Hero`. -{* ../../docs_src/sql_databases/tutorial001_an_py310.py ln[64:68] hl[65] *} +{* ../../docs_src/sql_databases/tutorial001_an_py310.py ln[63:68] hl[65] *} ### Delete a Hero We can also **delete** a `Hero`. -{* ../../docs_src/sql_databases/tutorial001_an_py310.py ln[72:79] hl[76] *} +{* ../../docs_src/sql_databases/tutorial001_an_py310.py ln[71:78] hl[76] *} ### Run the App