Skip to main content

log_task_enqueued

Logs a debug message containing the task ID, module path, and backend information when a task is enqueued.

def log_task_enqueued(
sender: object,
task_result: TaskResult,
**kwargs: dict
)

Logs debug information when a task is successfully added to the execution queue. This function tracks the task identifier, its module path, and the specific backend used for processing.

Parameters

NameTypeDescription
senderobjectThe class or object that sent the task_enqueued signal.
task_resultTaskResultAn object containing the unique task ID, the task's module path, and the backend configuration used for enqueueing.
**kwargsdictAdditional keyword arguments passed by the signal dispatcher.

Returns

TypeDescription
No value is returned as this is a signal receiver for logging purposes.