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
    Pythonlanggraphpregel_algoprepare_push_task_functional
    Function●Since v1.0

    prepare_push_task_functional

    Copy
    prepare_push_task_functional(
      task_path: tuple[str, tuple, int, str, Call],
    View source on GitHub
    task_id_checksum
    :
    str
    |
    None
    ,
    *
    ,
    checkpoint
    :
    Checkpoint
    ,
    checkpoint_id_bytes
    :
    bytes
    ,
    pending_writes
    :
    list
    [
    PendingWrite
    ]
    ,
    channels
    :
    Mapping
    [
    str
    ,
    BaseChannel
    ]
    ,
    managed
    :
    ManagedValueMapping
    ,
    config
    :
    RunnableConfig
    ,
    step
    :
    int
    ,
    stop
    :
    int
    ,
    for_execution
    :
    bool
    ,
    store
    :
    BaseStore
    |
    None
    =
    None
    ,
    checkpointer
    :
    BaseCheckpointSaver
    |
    None
    =
    None
    ,
    manager
    :
    None
    |
    ParentRunManager
    |
    AsyncParentRunManager
    =
    None
    ,
    cache_policy
    :
    CachePolicy
    |
    None
    =
    None
    ,
    retry_policy
    :
    Sequence
    [
    RetryPolicy
    ]
    =
    (
    )
    ,
    parent_ns
    :
    str
    ,
    task_id_func
    :
    _TaskIDFn
    )
    ->
    PregelTask
    |
    PregelExecutableTask

    Prepare a push task with an attached caller. Used for the functional API.