Skip to main content

registered

List of registered tasks.

def registered(
state: object,
taskinfoitems: Sequence[str] = None,
builtins: bool = False
) - > list

List of registered tasks.

Parameters

NameTypeDescription
stateobjectThe current inspector state containing the Celery application instance and task registry.
taskinfoitemsSequence[str] = NoneList of task attributes to include in the output, such as 'exchange' or 'rate_limit'. Defaults to 'exchange,routing_key,rate_limit'.
builtinsbool = FalseWhether to include internal Celery built-in tasks in the resulting list.

Returns

TypeDescription
listA list of strings where each entry contains the task name and its requested attribute values formatted as 'name [attr=val]'.