LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • LangGraph Checkpoint
    LangGraph Store
    Checkpoint Postgres
    Store Postgres
    Checkpoint SQLite
    LangGraph Prebuilt
    LangGraph CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    ⌘I

    LangChain Assistant

    Ask a question to get started

    Enter to send•Shift+Enter new line

    Menu

    LangGraph Checkpoint
    LangGraph Store
    Checkpoint Postgres
    Store Postgres
    Checkpoint SQLite
    LangGraph Prebuilt
    LangGraph CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    Language
    Theme
    Pythonlanggraph-sdkschemaThreadTask
    Class●Since v0.1

    ThreadTask

    Represents a task within a thread.

    Copy
    ThreadTask()

    Bases

    TypedDict

    Constructors

    Attributes

    View source on GitHub
    constructor
    __init__
    NameType
    idstr
    namestr
    errorstr | None
    interruptslist[Interrupt]
    checkpointCheckpoint | None
    stateThreadState | None
    resultdict[str, Any] | None
    attribute
    id: str
    attribute
    name: str
    attribute
    error: str | None
    attribute
    interrupts: list[Interrupt]
    attribute
    checkpoint: Checkpoint | None
    attribute
    state: ThreadState | None
    attribute
    result: dict[str, Any] | None