move_task_by_id
Find a task by id and move it to another queue.
def move_task_by_id(
task_id: str,
dest: str or kombu.Queue,
transform: Callable,
**kwargs: Any
) - > Any
Find a task by id and move it to another queue.
Parameters
| Name | Type | Description |
|---|---|---|
| task_id | str | The unique identifier of the task to find and move. |
| dest | str or kombu.Queue | The destination queue where the task should be relocated. |
| transform | Callable | Optional function to transform the return value (destination) of the filter function. |
| **kwargs | Any | Additional keyword arguments supported by the underlying move function, such as filtering or limit options. |
Returns
| Type | Description |
|---|---|
Any | The result of the move operation, typically indicating the number of tasks successfully relocated. |