Skip to main content

ids

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

def ids(
self: Task,
i: any
) - > tuple

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

Parameters​

NameTypeDescription
selfTaskThe Celery task instance bound to the function.
ianyThe arbitrary value to be included as the third element in the returned tuple.

Returns​

TypeDescription
tupleA tuple containing the Celery root task ID, the parent task ID, and the original input value.