Skip to main content

active

List of tasks currently being executed.

def active(
state: object,
safe: boolean = False,
**kwargs: dict
) - > list

List of tasks currently being executed.

Parameters

NameTypeDescription
stateobjectThe current worker state object containing the set of active requests.
safeboolean = FalseWhether to filter out sensitive information from the task details for security purposes.
**kwargsdictAdditional keyword arguments passed to the command inspector.

Returns

TypeDescription
listA list of dictionaries containing metadata and status information for all tasks currently being processed by the worker.