From 6332a6e561cb0b943cf34f8f613e22e7fbaa55aa Mon Sep 17 00:00:00 2001 From: Malak khoder Date: Mon, 15 Dec 2025 13:18:05 +0200 Subject: [PATCH] docs: add cross-reference for async usage explanation --- docs/en/docs/index.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/en/docs/index.md b/docs/en/docs/index.md index 3d09b0ae3..a9729f91c 100644 --- a/docs/en/docs/index.md +++ b/docs/en/docs/index.md @@ -178,8 +178,7 @@ def read_item(item_id: int, q: Union[str, None] = None): Or use async def... !!! tip - Use `async def` only when your code performs non-blocking I/O, - such as database queries or external API calls. + To learn more about when to use `async def`, check the Async and await documentation.