NewLanded

Results 2 comments of NewLanded

> Background tasks will run only after the response(after the response is successful). > > Once the request is received, the task related to the request will be added to...

I tried the code and it works for me. background worked before 'return JSONResponse', This is my script import logging import time import traceback from logging import handlers from fastapi...