LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
    • Overview
    • Graphs
    • Functional API
    • Pregel
    • Checkpointing
    • Storage
    • Caching
    • Types
    • Runtime
    • Config
    • Errors
    • Constants
    • Channels
    • Agents
    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

    OverviewGraphsFunctional APIPregelCheckpointingStorageCachingTypesRuntimeConfigErrorsConstantsChannelsAgents
    LangGraph Checkpoint
    LangGraph Store
    Checkpoint Postgres
    Store Postgres
    Checkpoint SQLite
    LangGraph Prebuilt
    LangGraph CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    Language
    Theme
    PythonlanggraphtypesPregelExecutableTask
    Class●Since v0.2

    PregelExecutableTask

    Copy
    PregelExecutableTask(
      self,
      name: str,
      input: Any,
      proc: Runnable,
      writes: deque[tuple

    Constructors

    Attributes

    View source on GitHub
    [
    str
    ,
    Any
    ]
    ]
    ,
    config
    :
    RunnableConfig
    ,
    triggers
    :
    Sequence
    [
    str
    ]
    ,
    retry_policy
    :
    Sequence
    [
    RetryPolicy
    ]
    ,
    cache_key
    :
    CacheKey
    |
    None
    ,
    id
    :
    str
    ,
    path
    :
    tuple
    [
    str
    |
    int
    |
    tuple
    ,
    .
    .
    .
    ]
    ,
    writers
    :
    Sequence
    [
    Runnable
    ]
    =
    (
    )
    ,
    subgraphs
    :
    Sequence
    [
    PregelProtocol
    ]
    =
    (
    )
    ,
    timeout
    :
    TimeoutPolicy
    |
    None
    =
    None
    )
    constructor
    __init__
    NameType
    namestr
    inputAny
    procRunnable
    writesdeque[tuple[str, Any]]
    configRunnableConfig
    triggersSequence[str]
    retry_policySequence[RetryPolicy]
    cache_keyCacheKey | None
    idstr
    pathtuple[str | int | tuple, ...]
    writersSequence[Runnable]
    subgraphsSequence[PregelProtocol]
    timeoutTimeoutPolicy | None
    attribute
    name: str
    attribute
    input: Any
    attribute
    proc: Runnable
    attribute
    writes: deque[tuple[str, Any]]
    attribute
    config: RunnableConfig
    attribute
    triggers: Sequence[str]
    attribute
    retry_policy: Sequence[RetryPolicy]
    attribute
    cache_key: CacheKey | None
    attribute
    id: str
    attribute
    path: tuple[str | int | tuple, ...]
    attribute
    writers: Sequence[Runnable]
    attribute
    subgraphs: Sequence[PregelProtocol]
    attribute
    timeout: TimeoutPolicy | None