Skip to content

Instantly share code, notes, and snippets.

@jxskiss
jxskiss / app.py
Last active November 3, 2021 10:29
Get celery task results within tornado, celery [issues#3577](https://github.com/celery/celery/issues/3577)
# Tornado app.py
from tornado import web, options
from tornado.platform.asyncio import AsyncIOMainLoop
import asyncio
AsyncIOMainLoop().install()
import tasks
from celery_task_utils import CeleryTaskProxy