Fast API Tutorial, Part 31: Background Tasks

Veröffentlicht am: 24 August 2022
auf dem Kanal: JVP Design
12,840
139

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...


Auf dieser Seite können Sie das Online-Video Fast API Tutorial, Part 31: Background Tasks mit der Dauer online in guter Qualität ansehen, das der Benutzer JVP Design 24 August 2022 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 12,840 Mal angesehen und es wurde von 139 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!