Merge remote-tracking branch 'upstream/main' into document-max_len-auto-str

This commit is contained in:
Yurii Motov
2026-02-21 00:17:50 +01:00
238 changed files with 1544 additions and 8623 deletions

View File

@@ -342,16 +342,6 @@ And as we created the **engine** with `echo=True`, we can see the SQL statements
////
//// tab | Python 3.9+
```Python
{!./docs_src/tutorial/automatic_id_none_refresh/tutorial002_py39.py!}
```
{!./docs_src/tutorial/automatic_id_none_refresh/annotations/en/tutorial002.md!}
////
And here's all the output generated by running this program, all together:
<div class="termy">

View File

@@ -562,16 +562,6 @@ Now, let's give the code a final look:
////
//// tab | Python 3.9+
```{.python .annotate}
{!./docs_src/tutorial/create_db_and_table/tutorial003_py39.py!}
```
{!./docs_src/tutorial/create_db_and_table/annotations/en/tutorial003.md!}
////
/// tip
Review what each line does by clicking each number bubble in the code. 👆

View File

@@ -227,16 +227,6 @@ Now let's review all that code:
////
//// tab | Python 3.9+
```{ .python .annotate hl_lines="72-90" }
{!./docs_src/tutorial/delete/tutorial002_py39.py!}
```
{!./docs_src/tutorial/delete/annotations/en/tutorial002.md!}
////
/// tip
Check out the number bubbles to see what is done by each line of code.

View File

@@ -39,20 +39,6 @@ This is the code we had to create the database and table, nothing new here:
////
//// tab | Python 3.9+
```{.python .annotate hl_lines="22" }
{!./docs_src/tutorial/create_db_and_table/tutorial003_py39.py[ln:1-20]!}
# More code here later 👈
{!./docs_src/tutorial/create_db_and_table/tutorial003_py39.py[ln:23-24]!}
```
{!./docs_src/tutorial/create_db_and_table/annotations/en/tutorial003.md!}
////
Now that we can create the database and the table, we will continue from this point and add more code on the same file to create the data.
## Create Data with SQL
@@ -343,16 +329,6 @@ Let's focus on the new code:
////
//// tab | Python 3.9+
```{.python .annotate }
{!./docs_src/tutorial/insert/tutorial003_py39.py!}
```
{!./docs_src/tutorial/insert/annotations/en/tutorial003.md!}
////
/// tip
Review what each line does by clicking each number bubble in the code. 👆

View File

@@ -273,16 +273,6 @@ Let's review the code up to this point:
////
//// tab | Python 3.9+
```{ .python .annotate }
{!./docs_src/tutorial/select/tutorial002_py39.py!}
```
{!./docs_src/tutorial/select/annotations/en/tutorial002.md!}
////
/// tip
Check out the number bubbles to see what is done by each line of code.

View File

@@ -236,16 +236,6 @@ Now let's review all that code:
////
//// tab | Python 3.9+
```{ .python .annotate hl_lines="44-55" }
{!./docs_src/tutorial/update/tutorial002_py39.py!}
```
{!./docs_src/tutorial/update/annotations/en/tutorial002.md!}
////
/// tip
Check out the number bubbles to see what is done by each line of code.
@@ -272,20 +262,6 @@ This also means that you can update several fields (attributes, columns) at once
////
//// tab | Python 3.9+
```{ .python .annotate hl_lines="15-17 19-21 23" }
# Code above omitted 👆
{!./docs_src/tutorial/update/tutorial004_py39.py[ln:44-70]!}
# Code below omitted 👇
```
{!./docs_src/tutorial/update/annotations/en/tutorial004.md!}
////
/// details | 👀 Full file preview
//// tab | Python 3.10+
@@ -296,14 +272,6 @@ This also means that you can update several fields (attributes, columns) at once
////
//// tab | Python 3.9+
```Python
{!./docs_src/tutorial/update/tutorial004_py39.py!}
```
////
///
/// tip