Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit13b33f2

Browse files
committed
📝 Update highlights in JSON Schema examples
1 parent22cbd0b commit13b33f2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

‎docs/en/docs/tutorial/schema-extra-example.md‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -116,19 +116,19 @@ You can of course also pass multiple `examples`:
116116

117117
=== "Python 3.10+"
118118

119-
```Python hl_lines="23-49"
119+
```Python hl_lines="23-38"
120120
{!> ../../../docs_src/schema_extra_example/tutorial004_an_py310.py!}
121121
```
122122

123123
=== "Python 3.9+"
124124

125-
```Python hl_lines="23-49"
125+
```Python hl_lines="23-38"
126126
{!> ../../../docs_src/schema_extra_example/tutorial004_an_py39.py!}
127127
```
128128

129129
=== "Python 3.6+"
130130

131-
```Python hl_lines="24-50"
131+
```Python hl_lines="24-39"
132132
{!> ../../../docs_src/schema_extra_example/tutorial004_an.py!}
133133
```
134134

@@ -137,7 +137,7 @@ You can of course also pass multiple `examples`:
137137
!!! tip
138138
Prefer to use the `Annotated` version if possible.
139139

140-
```Python hl_lines="19-45"
140+
```Python hl_lines="19-34"
141141
{!> ../../../docs_src/schema_extra_example/tutorial004_py310.py!}
142142
```
143143

@@ -146,7 +146,7 @@ You can of course also pass multiple `examples`:
146146
!!! tip
147147
Prefer to use the `Annotated` version if possible.
148148

149-
```Python hl_lines="21-47"
149+
```Python hl_lines="21-36"
150150
{!> ../../../docs_src/schema_extra_example/tutorial004.py!}
151151
```
152152

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2026 Movatter.jp