Skip to main content

task_reserved

Called when a task is reserved by the worker.

def task_reserved(
request: object
) - > object

Called when a task is reserved by the worker.

Parameters

NameTypeDescription
requestobjectThe task request object containing execution details and metadata provided by the worker

Returns

TypeDescription
objectThe result of the internal reservation handler, typically containing task metadata or state updates