Skip to content

Commit

Permalink
🌐 Fix highlight lines for Japanese translation for `docs/tutorial/que…
Browse files Browse the repository at this point in the history
…ry-params.md` (#2969)

Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
Fix #2966
  • Loading branch information
ftnext committed Nov 13, 2022
1 parent 41735d2 commit 0781a91
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/ja/docs/tutorial/query-params.md
Expand Up @@ -64,7 +64,7 @@ http://127.0.0.1:8000/items/?skip=20

同様に、デフォルト値を `None` とすることで、オプショナルなクエリパラメータを宣言できます:

```Python hl_lines="7"
```Python hl_lines="9"
{!../../../docs_src/query_params/tutorial002.py!}
```

Expand All @@ -82,7 +82,7 @@ http://127.0.0.1:8000/items/?skip=20

`bool` 型も宣言できます。これは以下の様に変換されます:

```Python hl_lines="7"
```Python hl_lines="9"
{!../../../docs_src/query_params/tutorial003.py!}
```

Expand Down Expand Up @@ -126,7 +126,7 @@ http://127.0.0.1:8000/items/foo?short=yes

名前で判別されます:

```Python hl_lines="6 8"
```Python hl_lines="8 10"
{!../../../docs_src/query_params/tutorial004.py!}
```

Expand Down Expand Up @@ -184,7 +184,7 @@ http://127.0.0.1:8000/items/foo-item?needy=sooooneedy

そして当然、あるパラメータを必須に、別のパラメータにデフォルト値を設定し、また別のパラメータをオプショナルにできます:

```Python hl_lines="7"
```Python hl_lines="10"
{!../../../docs_src/query_params/tutorial006.py!}
```

Expand Down

0 comments on commit 0781a91

Please sign in to comment.