Skip to main content

query_task

Query for task information by id.

def query_task(
state: object,
ids: string|list,
**kwargs: any
) - > dict

Query for task information by id.

Parameters

NameTypeDescription
stateobjectThe current application or worker state object used to resolve task context.
ids`stringlist`
**kwargsanyAdditional keyword arguments passed to the command inspector.

Returns

TypeDescription
dictA dictionary mapping task IDs to a tuple containing the task's current state and its detailed information object.