- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for add_task (0.19 sec)
-
docs_src/background_tasks/tutorial001.py
email_file.write(content) @app.post("/send-notification/{email}") async def send_notification(email: str, background_tasks: BackgroundTasks): background_tasks.add_task(write_notification, email, message="some notification")
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Mar 26 19:09:53 GMT 2020 - 519 bytes - Viewed (0)