Download 3.0 PDF - Read the Docs

Transcript
Celery Documentation, Release 3.0.25
• terminate – Also terminate the process currently working on the task (if any).
• signal – Name of signal to send to process if terminate. Default is TERM.
subtasks
Deprecated alias to results.
successful()
Was all of the tasks successful?
Returns True if all of the tasks finished successfully (i.e. did not raise an exception).
supports_native_join
update(results)
Update set with the union of itself and an iterable with results.
waiting()
Are any of the tasks incomplete?
Returns True if one of the tasks are still waiting for execution.
class celery.result.TaskSetResult(taskset_id, results=None, **kwargs)
Deprecated version of GroupResult
itersubtasks()
Deprecated. Use iter(self.results) instead.
taskset_id
total
Deprecated: Use len(r).
celery.result.from_serializable(r, app=None)
2.13.14 celery.task.http
• celery.task.http
celery.task.http
Webhook task implementation.
class celery.task.http.HttpDispatch(url, method, task_kwargs, **kwargs)
Make task HTTP request and collect the task result.
Parameters
• url – The URL to request.
• method – HTTP method used. Currently supported methods are GET and POST.
• task_kwargs – Task keyword arguments.
• logger – Logger used for user/system feedback.
dispatch()
Dispatch callback and return result.
http_headers
2.13. API Reference
257