ó
    	F j  ã                   ój   • S SK Jr  S SKJrJr  S SKJr  S SKJr	  S SK
Jr  \" S5      r " S S\	5      rg	)
é    )ÚCallable)Ú	AnnotatedÚAny)ÚDoc)ÚBackgroundTasks)Ú	ParamSpecÚPc                   óˆ   ^ • \ rS rSrSrS\\\\4   \	" S5      4   S\R                  S\R                  SS4U 4S	 jjrS
rU =r$ )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"}
```
Úfuncz¢
                The function to call after the response is sent.

                It can be a regular `def` function or an `async def` function.
                ÚargsÚkwargsÚreturnNc                 ó,   >• [         TU ]  " U/UQ70 UD6$ )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       €Ú<c:\Py\emelo-reg\venv\Lib\site-packages\fastapi/background.pyr   ÚBackgroundTasks.add_task(   s   ø€ ô* ‰wÒ Ð6 tÒ6¨vÑ6Ð6ó    © )Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r   r   r	   r   r   r   r   r   Ú__static_attributes__Ú__classcell__)r   s   @r   r   r      sc   ø† ñð87àØQ˜VÑÙðóðñ	
ð7ð v‰vð7ð —(‘(ð7ð 
÷7õ 7r   r   N)Úcollections.abcr   Útypingr   r   Úannotated_docr   Ústarlette.backgroundr   ÚStarletteBackgroundTasksÚtyping_extensionsr   r	   r   r   r   Ú<module>r&      s*   ðÝ $ß !å Ý LÝ 'áˆcƒN€ô27Ð.õ 27r   