Skip to content

TaskInfo

Base classes

Name Children Inherits
dict
builtins
dict() -> new empty dictionary

⋔ Inheritance diagram

graph TD
  1907698557["output_types.TaskInfo"]
  2645524081["builtins.dict"]
  2751680898["builtins.object"]
  2645524081 --> 1907698557
  2751680898 --> 2645524081

🛈 DocStrings

Bases: TypedDict

Information about a background task.

Source code in src/clawd_code_sdk/models/output_types.py
class TaskInfo(TypedDict):
    """Information about a background task."""

    task_id: str
    task_type: Literal["local_bash", "agent"]
    status: Status
    description: str
    output: str
    exitCode: int | None

:fa-brands-github: Show source on GitHub