From 20581e61c05b74791a0eba79fd2c4be747fa4fe8 Mon Sep 17 00:00:00 2001 From: Eyal Schuller Date: Wed, 10 Sep 2025 00:41:51 +0300 Subject: [PATCH] fix(checkpoint-postgres): export PoolConfig from package init (#5934) ### Description Export PoolConfig from langgraph.store.postgres.__init__ so the documented import from langgraph.store.postgres import AsyncPostgresStore, PoolConfig works as shown in the AsyncPostgresStore examples. This resolves a docs vs. code inconsistency without changing behavior. ### Issue N/A ### Dependencies: None --------- Co-authored-by: William FH <13333726+hinthornw@users.noreply.github.com> Co-authored-by: Sydney Runkle <54324534+sydney-runkle@users.noreply.github.com> --- libs/checkpoint-postgres/langgraph/store/postgres/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/checkpoint-postgres/langgraph/store/postgres/__init__.py b/libs/checkpoint-postgres/langgraph/store/postgres/__init__.py index 47b7836d2..d0432b588 100644 --- a/libs/checkpoint-postgres/langgraph/store/postgres/__init__.py +++ b/libs/checkpoint-postgres/langgraph/store/postgres/__init__.py @@ -1,4 +1,4 @@ from langgraph.store.postgres.aio import AsyncPostgresStore -from langgraph.store.postgres.base import PostgresStore +from langgraph.store.postgres.base import PoolConfig, PostgresStore -__all__ = ["AsyncPostgresStore", "PostgresStore"] +__all__ = ["AsyncPostgresStore", "PoolConfig", "PostgresStore"]