FastAPI uses background tasks as sort of a mini task scheduler to handle asynchronous functionality in the background. For large functionality it should obviously be offloaded to Celery or something like that, but for simple things it can be handled using background tasks.
In this video I show you how you can use some simple background tasks in your app.
A link to documentation describing why you should use FastAPI's `BackgroundTasks` package and not Starlette's `BackgroundTask` is https://fastapi.tiangolo.com/tutorial...
GitHub: https://github.com/jvp-design/fastapi...
En esta página del sitio puede ver el video en línea Fast API Tutorial, Part 31: Background Tasks de Duración online en buena calidad , que subió el usuario JVP Design 24 agosto 2022, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 12,840 veces y le gustó 139 a los espectadores. Disfruta viendo!