mirror of
https://github.com/langchain-ai/langchain-postgres.git
synced 2026-07-16 01:33:18 -04:00
Outdated Documentation for langchain_postgres.checkpoint.PostgresSaver #67
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @SunnyWan59 on GitHub (Jan 26, 2025).
I'm currently trying use a postgres checkpointer for persistence. The docs below say to use PostgresSaver, but it seems like this doesnt exist anymore. The documentation should be updated to reflect this. Also it would be great if someone could lead to the right package for a postgres checkpointer.
https://api.python.langchain.com/en/latest/checkpoint/langchain_postgres.checkpoint.PostgresSaver.html
@SunnyWan59 commented on GitHub (Jan 26, 2025):
PostgresSaver is now a part of langgraph.checkpoint.postgres.PostgresSaver. The documentation should reflect this.
https://langchain-ai.github.io/langgraph/reference/checkpoints/#langgraph.checkpoint.postgres.PostgresSaver
@eyurtsev commented on GitHub (Feb 20, 2025):
@SunnyWan59 thanks for reporting!
Use the v0.3 version of the docs: https://python.langchain.com/api_reference/
The page you're viewing is the 0.1 or 0.2 version of the docs, but it's not showing the banner for some reason (that the documentation is for older versions), so would need to be fixed.