spdl.autoresearch.core.TaskResult

class TaskResult(children: list[~spdl.autoresearch.core._orchestrator.TaskSpec] = <factory>)[source]

Result returned by a completed work coroutine.

Attributes

children

New work specs to enqueue after this item completes.

children: list[TaskSpec]

New work specs to enqueue after this item completes. The engine passes these to WorkflowProtocol.on_result which may filter or transform them before they enter the priority queue.