(background_tasks: BackgroundTasks)
| 155 | task_results.append(message) |
| 156 | |
| 157 | def add_background_task(background_tasks: BackgroundTasks) -> BackgroundTasks: |
| 158 | background_tasks.add_task(background_task, "from dependency") |
| 159 | return background_tasks |
| 160 | |
| 161 | @app.get("/") |
| 162 | def endpoint( |
nothing calls this directly
no test coverage detected
searching dependent graphs…