From edc5d0839c757d4e05e6ff60ace8838d7d322e67 Mon Sep 17 00:00:00 2001 From: Yuki <60097976+binaryYuki@users.noreply.github.com> Date: Sat, 25 May 2024 18:50:37 +0800 Subject: [PATCH] Update background.md --- docs/zh/docs/reference/background.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/zh/docs/reference/background.md b/docs/zh/docs/reference/background.md index 72761bc4e8..d68cba84a8 100644 --- a/docs/zh/docs/reference/background.md +++ b/docs/zh/docs/reference/background.md @@ -2,7 +2,7 @@ 您可以在 *路径操作函数* 或依赖函数中声明一个类型为`BackgroundTasks`的参数,然后在发送响应后使用它来安排后台任务的执行。 -您可以直接从 `fastapi` 中导入该参数: +您可以直接从 `fastapi` 中导入: ```python from fastapi import BackgroundTasks