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.checkpoint.postgresshallowAsyncShallowPostgresSaverfrom_conn_string
    Method●Since v2.0

    from_conn_string

    Copy
    from_conn_string(
      cls,
      conn_string: str,
      *,
      pipeline: bool = False,
      serde: SerializerProtocol
    View source on GitHub
    |
    None
    =
    None
    )
    ->
    AsyncIterator
    [
    AsyncShallowPostgresSaver
    ]

    Parameters

    NameTypeDescription
    conn_string*str
    pipelinebool
    Default:False

    Create a new AsyncShallowPostgresSaver instance from a connection string.

    The Postgres connection info string.

    whether to use AsyncPipeline