diff --git a/README.md b/README.md
index a42cedae6..00dc4df61 100644
--- a/README.md
+++ b/README.md
@@ -2,7 +2,7 @@
- FastAPI framework, high performance, easy to learn, fast to code, ready for production + FastAPI framework: high performance, easy to learn, fast to code, and ready for production
@@ -126,7 +126,9 @@ The key features are:
If you are building a CLI app to be used in the terminal instead of a web API, check out **Typer**.
-**Typer** is FastAPI's little sibling. And it's intended to be the **FastAPI of CLIs**. ⌨️ 🚀
+**Typer** is FastAPI's little sibling, intended to be the **FastAPI of CLIs**.
+
+🚀
## Requirements
@@ -178,7 +180,11 @@ def read_item(item_id: int, q: Union[str, None] = None):
Or use
-If your code uses `async` / `await`, use `async def`:
+!!! tip
+ Use `async def` only when your code performs non-blocking I/O,
+ such as database queries or external API calls.
+
+
```Python hl_lines="9 14"
from typing import Union
diff --git a/docs/en/docs/index.md b/docs/en/docs/index.md
index a0a5de3b7..3d09b0ae3 100644
--- a/docs/en/docs/index.md
+++ b/docs/en/docs/index.md
@@ -8,7 +8,7 @@
async def...
- FastAPI framework, high performance, easy to learn, fast to code, ready for production + FastAPI framework: high performance, easy to learn, fast to code, and ready for production
@@ -123,7 +123,9 @@ The key features are:
If you are building a CLI app to be used in the terminal instead of a web API, check out **Typer**.
-**Typer** is FastAPI's little sibling. And it's intended to be the **FastAPI of CLIs**. ⌨️ 🚀
+**Typer** is FastAPI's little sibling, intended to be the **FastAPI of CLIs**.
+
+🚀
## Requirements { #requirements }
@@ -175,7 +177,11 @@ def read_item(item_id: int, q: Union[str, None] = None):
Or use
-If your code uses `async` / `await`, use `async def`:
+!!! tip
+ Use `async def` only when your code performs non-blocking I/O,
+ such as database queries or external API calls.
+
+
```Python hl_lines="9 14"
from typing import Union
async def...