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-clicliprepare
    Functionā—Since v0.1

    prepare

    Prepare the arguments and stdin for running the LangGraph API server.

    Copy
    prepare(
      runner,
      *,
      capabilities: DockerCapabilities,
      config_path: pathlib.Path,
      docker_compose: pathlib.Path |
    View source on GitHub
    None
    ,
    port
    :
    int
    ,
    pull
    :
    bool
    ,
    watch
    :
    bool
    ,
    verbose
    :
    bool
    ,
    debugger_port
    :
    int
    |
    None
    =
    None
    ,
    debugger_base_url
    :
    str
    |
    None
    =
    None
    ,
    postgres_uri
    :
    str
    |
    None
    =
    None
    ,
    api_version
    :
    str
    |
    None
    =
    None
    ,
    engine_runtime_mode
    :
    str
    =
    'combined_queue_worker'
    ,
    image
    :
    str
    |
    None
    =
    None
    ,
    base_image
    :
    str
    |
    None
    =
    None
    )
    ->
    tuple
    [
    list
    [
    str
    ]
    ,
    str
    ]