79577250

Date: 2025-04-16 13:08:33
Score: 1
Natty:
Report link

You can use the background task in the FastApi and return an job_id for the long processing task with 202 status code, for more information you can read this link.

Also you can write another endpoint in terms of returning job status and also its result. Also it depends on the your code design and also your architecture.

Reasons:
  • Blacklisted phrase (1): this link
  • Whitelisted phrase (-1.5): You can use
  • No code block (0.5):
  • Low reputation (1):
Posted by: Mehrdad Sayad