From f3e7bbfab95ab4e9daaa2c1132d8b455ce2047e1 Mon Sep 17 00:00:00 2001 From: Nick Chen <1358390935@qq.com> Date: Thu, 2 May 2024 00:07:39 +0800 Subject: [PATCH] chore: add trans for non-annotated --- docs/zh/docs/advanced/security/http-basic-auth.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/zh/docs/advanced/security/http-basic-auth.md b/docs/zh/docs/advanced/security/http-basic-auth.md index 70e2059681..ab8961e7cf 100644 --- a/docs/zh/docs/advanced/security/http-basic-auth.md +++ b/docs/zh/docs/advanced/security/http-basic-auth.md @@ -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!}