+
    Di                     d    ^ RI HtHtHt ^ RIHt ^ RIHt ^ RI	H
t
 ]
! R4      t ! R R]4      tR# )	    )	AnnotatedAnyCallable)Doc)BackgroundTasks)	ParamSpecPc                   B   a a ] tR t^
t oRtV3R lV 3R lltRtVtV ;t# )r   a  
A collection of background tasks that will be called after a response has been
sent to the client.

Read more about it in the
[FastAPI docs for Background Tasks](https://fastapi.tiangolo.com/tutorial/background-tasks/).

## Example

```python
from fastapi import BackgroundTasks, FastAPI

app = FastAPI()


def write_notification(email: str, message=""):
    with open("log.txt", mode="w") as email_file:
        content = f"notification for {email}: {message}"
        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")
    return {"message": "Notification sent in the background"}
```
c                   < V ^8  d   QhRS[ S[S[S[3,          S[! R4      3,          RS[P
                  RS[P                  RR/# )   funcz
                The function to call after the response is sent.

                It can be a regular `def` function or an `async def` function.
                argskwargsreturnN)r   r   r	   r   r   r   r   )format__classdict__s   "p/Users/tonyclaw/.openclaw/workspace/services/omi-webhook/venv/lib/python3.14/site-packages/fastapi/background.py__annotate__BackgroundTasks.__annotate__'   s^     7 7QV	
7 vv7 ((7 
7    c                ,   < \         SV `  ! V.VO5/ VB # )z
Add a function to be called in the background after the response is sent.

Read more about it in the
[FastAPI docs for Background Tasks](https://fastapi.tiangolo.com/tutorial/background-tasks/).
)superadd_task)selfr   r   r   	__class__s   &&*,r   r   BackgroundTasks.add_task'   s    * w6t6v66r    )	__name__
__module____qualname____firstlineno____doc__r   __static_attributes____classdictcell____classcell__)r   r   s   @@r   r   r   
   s     87 7 7r   r   N)typingr   r   r   annotated_docr   starlette.backgroundr   StarletteBackgroundTaskstyping_extensionsr   r	   r   r   r   <module>r+      s*    + +  L 'cN27. 27r   