Skip to content

martimors/fast-api-celery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

What is this?

Example webservice with FastAPI-uvicorn webserver and celery worker using a redis broker and backend.

How do I try it out?

docker-compose up

Then make a request to the /task endpoint. It will then let you know which endpoint to poll for the result.

The API returns 202 Accepted until eventually a 307 redirect and a 200 OK with the result of the task.

This pattern is implemented.

About

Trying out fast API with Celery worker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published