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

Function ids

t/integration/tasks.py:258–261  ·  view source on GitHub ↗

Returns a tuple of ``root_id``, ``parent_id`` and the argument passed as ``i``.

(self, i)

Source from the content-addressed store, hash-verified

256
257@shared_task(bind=True)
258def ids(self, i):
259 """Returns a tuple of ``root_id``, ``parent_id`` and
260 the argument passed as ``i``."""
261 return self.request.root_id, self.request.parent_id, i
262
263
264@shared_task(bind=True)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected