- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for do (0.1 sec)
-
docs/pt/docs/tutorial/background-tasks.md
Ela é importada/incluída diretamente no FastAPI para que você possa importá-la do `fastapi` e evitar a importação acidental da alternativa `BackgroundTask` (sem o `s` no final) de `starlette.background`. Usando apenas `BackgroundTasks` (e não `BackgroundTask`), é então possível usá-la como um parâmetro de _função de operação de caminho_ e deixar o **FastAPI** cuidar do resto para você, assim como ao usar o objeto `Request` diretamente.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon May 09 23:44:32 GMT 2022 - 5.3K bytes - Viewed (0) -
docs/en/docs/tutorial/background-tasks.md
**FastAPI** knows what to do in each case and how to re-use the same object, so that all the background tasks are merged together and are run in the background afterwards: === "Python 3.10+" ```Python hl_lines="13 15 22 25"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Oct 17 05:59:11 GMT 2023 - 5.6K bytes - Viewed (0)