Skip to content

Commit bd4c17b

Browse files
Update delete.md
1 parent 893f8bd commit bd4c17b

File tree

1 file changed

+1
-61
lines changed

1 file changed

+1
-61
lines changed

docs/tutorial/fastapi/delete.md

Lines changed: 1 addition & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -12,69 +12,9 @@ We get a `hero_id` from the path parameter and verify if it exists, just as we d
1212

1313
And if we actually find a hero, we just delete it with the **session**.
1414

15-
//// tab | Python 3.10+
1615

17-
```Python hl_lines="3-11"
18-
# Code above omitted 👆
1916

20-
{!./docs_src/tutorial/fastapi/delete/tutorial001_py310.py[ln:89-97]!}
21-
22-
# Code below omitted 👇
23-
```
24-
25-
////
26-
27-
//// tab | Python 3.9+
28-
29-
```Python hl_lines="3-11"
30-
# Code above omitted 👆
31-
32-
{!./docs_src/tutorial/fastapi/delete/tutorial001_py39.py[ln:91-99]!}
33-
34-
# Code below omitted 👇
35-
```
36-
37-
////
38-
39-
//// tab | Python 3.7+
40-
41-
```Python hl_lines="3-11"
42-
# Code above omitted 👆
43-
44-
{!./docs_src/tutorial/fastapi/delete/tutorial001.py[ln:91-99]!}
45-
46-
# Code below omitted 👇
47-
```
48-
49-
////
50-
51-
/// details | 👀 Full file preview
52-
53-
//// tab | Python 3.10+
54-
55-
```Python
56-
{!./docs_src/tutorial/fastapi/delete/tutorial001_py310.py!}
57-
```
58-
59-
////
60-
61-
//// tab | Python 3.9+
62-
63-
```Python
64-
{!./docs_src/tutorial/fastapi/delete/tutorial001_py39.py!}
65-
```
66-
67-
////
68-
69-
//// tab | Python 3.7+
70-
71-
```Python
72-
{!./docs_src/tutorial/fastapi/delete/tutorial001.py!}
73-
```
74-
75-
////
76-
77-
///
17+
{*./docs_src/tutorial/fastapi/delete/tutorial001_py310.py[ln:89-97] hl[3;11] *}
7818

7919
After deleting it successfully, we just return a response of:
8020

0 commit comments

Comments
 (0)