
David Douard
authored
It is meant to be used to declare swh tasks via the task decorator instead of subclassing the (now deprecated) Task class. It is typically used like: from swh.scheduler.celery_backend.config import app from swh.scheduler.tasks import SWHTask @app.task(base=SWHTask) def ping(): return 'pong'
Name | Last commit | Last update |
---|---|---|
bin | ||
data | ||
debian | ||
docs | ||
sql | ||
swh | ||
.gitignore | ||
AUTHORS | ||
LICENSE | ||
LICENSE.Celery | ||
MANIFEST.in | ||
Makefile | ||
README.md | ||
pytest.ini | ||
requirements-swh.txt | ||
requirements-test.txt | ||
requirements.txt | ||
setup.py | ||
tox.ini |