- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for Must (0.13 sec)
-
docs/en/docs/advanced/async-tests.md
```Python hl_lines="7" {!../../../docs_src/async_tests/test_main.py!} ``` !!! tip Note that the test function is now `async def` instead of just `def` as before when using the `TestClient`. Then we can create an `AsyncClient` with the app, and send async requests to it, using `await`. ```Python hl_lines="9-10" {!../../../docs_src/async_tests/test_main.py!} ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Jan 13 12:07:15 GMT 2024 - 3.9K bytes - Viewed (0)