Browse Source

🎨 Auto format

pull/14921/head
github-actions[bot] 5 months ago
parent
commit
850ad2ac3d
  1. 2
      docs/zh-hant/docs/advanced/generate-clients.md
  2. 2
      docs/zh-hant/docs/tutorial/dependencies/sub-dependencies.md
  3. 2
      docs/zh-hant/docs/tutorial/security/simple-oauth2.md

2
docs/zh-hant/docs/advanced/generate-clients.md

@ -172,7 +172,7 @@ FastAPI 會為每個 *路徑操作* 使用一個**唯一 ID**,它會被用於*
//// tab | Node.js //// tab | Node.js
```Javascript ```Javascript
{!> ../../docs_src/ggenerate_clients/tutorial004.js!} {!> ../../docs_src/generate_clients/tutorial004.js!}
``` ```
//// ////

2
docs/zh-hant/docs/tutorial/dependencies/sub-dependencies.md

@ -65,7 +65,7 @@ query_extractor --> query_or_cookie_extractor --> read_query
//// tab | Python 3.10+ //// tab | Python 3.10+
```Python hl_lines="1" ```Python hl_lines="1"
async def needy_dependency(fresh_value: Annotated[str, Depends(get_value, use_cache=False)]]: async def needy_dependency(fresh_value: Annotated[str, Depends(get_value, use_cache=False)]):
return {"fresh_value": fresh_value} return {"fresh_value": fresh_value}
``` ```

2
docs/zh-hant/docs/tutorial/security/simple-oauth2.md

@ -112,7 +112,7 @@ OAuth2 規範中,當使用「password flow」(我們現在使用的)時,
如果密碼不匹配,我們回傳同樣的錯誤。 如果密碼不匹配,我們回傳同樣的錯誤。
#### 密碼雜湊(hashing){ #password-hashing } #### 密碼雜湊(hashing) { #password-hashing }
「雜湊」的意思是:把一些內容(這裡是密碼)轉換成一串看起來像亂碼的位元組序列(就是字串)。 「雜湊」的意思是:把一些內容(這裡是密碼)轉換成一串看起來像亂碼的位元組序列(就是字串)。

Loading…
Cancel
Save