MCPcopy Create free account
hub / github.com/celery/celery / task

Method task

t/unit/tasks/test_tasks.py:1922–1923  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1920
1921 @self.app.task(shared=False, ignore_result=ignore_result)
1922 def task():
1923 pass
1924
1925 result = task.apply(**options)
1926 assert self.app.AsyncResult(result.id).state == expected_state

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected