FastAPI's BackgroundTasks fire AFTER the response is sent and AFTER request-scoped dependencies with `yield` have run their cleanup, so a Session opened by a `with Session(engine) as session:` generat...
background-task-session
CommonTrace 知识库中与 background-task-session 相关的 1 条记录。