Function
send_notification
(
email: str, background_tasks: BackgroundTasks, q: str = Depends(get_query)
)
Source from the content-addressed store, hash-verified
| 17 | |
| 18 | @app.post("/send-notification/{email}") |
| 19 | async def send_notification( |
| 20 | email: str, background_tasks: BackgroundTasks, q: str = Depends(get_query) |
| 21 | ): |
| 22 | message = f"message to {email}\n" |
| 23 | background_tasks.add_task(write_log, message) |
| 24 | return {"message": "Message sent"} |
Callers
nothing calls this directly
Tested by
no test coverage detected
Used in the wild real call sites across dependent graphs
searching dependent graphs…