This document describes the current stable version of Celery (4.3). For development docs, go here.

celery.bin.result

The celery result program, used to inspect task results.

class celery.bin.result.result(app=None, get_app=None, no_color=False, stdout=None, stderr=None, quiet=False, on_error=None, on_usage_error=None)[source]

Gives the return value for a given task id.

Examples

$ celery result 8f511516-e2f5-4da4-9d2f-0fb83a86e500
$ celery result 8f511516-e2f5-4da4-9d2f-0fb83a86e500 -t tasks.add
$ celery result 8f511516-e2f5-4da4-9d2f-0fb83a86e500 --traceback
add_arguments(parser)[source]
args = '<task_id>'
run(task_id, *args, **kwargs)[source]