chore: add trans for non-annotated

This commit is contained in:
Nick Chen 2024-05-02 00:07:39 +08:00
parent 07b7ae55a6
commit f3e7bbfab9
1 changed files with 3 additions and 3 deletions

View File

@ -35,7 +35,7 @@ HTTP 基础授权让浏览器显示内置的用户名与密码提示。
=== "Python 3.8+ non-Annotated"
!!! tip
Prefer to use the `Annotated` version if possible.
尽可能选择使用 `Annotated` 的版本。
```Python hl_lines="2 6 10"
{!> ../../../docs_src/security/tutorial006.py!}
@ -74,7 +74,7 @@ HTTP 基础授权让浏览器显示内置的用户名与密码提示。
=== "Python 3.8+ non-Annotated"
!!! tip
Prefer to use the `Annotated` version if possible.
尽可能选择使用 `Annotated` 的版本。
```Python hl_lines="1 11-21"
{!> ../../../docs_src/security/tutorial007.py!}
@ -156,7 +156,7 @@ if "stanleyjobsox" == "stanleyjobson" and "love123" == "swordfish":
=== "Python 3.8+ non-Annotated"
!!! tip
Prefer to use the `Annotated` version if possible.
尽可能选择使用 `Annotated` 的版本。
```Python hl_lines="23-27"
{!> ../../../docs_src/security/tutorial007.py!}