[PR #378] [MERGED] Implement cursor pagination for get_state_history (time travel endpoint) #1419

Closed
opened 2026-02-20 17:44:40 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langgraph/pull/378
Author: @nfcampos
Created: 5/3/2024
Status: Merged
Merged: 5/3/2024
Merged by: @nfcampos

Base: mainHead: nc/3may/state-history-pagination


📝 Commits (1)

  • 42d3215 Implement cursor pagination for get_state_history (time travel endpoint)

📊 Changes

7 files changed (+103 additions, -13 deletions)

View changed files

📝 langgraph/checkpoint/aiosqlite.py (+21 -3)
📝 langgraph/checkpoint/base.py (+14 -2)
📝 langgraph/checkpoint/memory.py (+12 -1)
📝 langgraph/checkpoint/sqlite.py (+21 -3)
📝 langgraph/pregel/__init__.py (+18 -4)
📝 tests/test_pregel.py (+7 -0)
📝 tests/test_pregel_async.py (+10 -0)

📄 Description

  • interface in base checkpointer
  • implement in sqlite, aiosqlite, memory
  • implement in Pregel.get_state_history()

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/langgraph/pull/378 **Author:** [@nfcampos](https://github.com/nfcampos) **Created:** 5/3/2024 **Status:** ✅ Merged **Merged:** 5/3/2024 **Merged by:** [@nfcampos](https://github.com/nfcampos) **Base:** `main` ← **Head:** `nc/3may/state-history-pagination` --- ### 📝 Commits (1) - [`42d3215`](https://github.com/langchain-ai/langgraph/commit/42d3215e34a73bcf61fcc33c6874075b091cd726) Implement cursor pagination for get_state_history (time travel endpoint) ### 📊 Changes **7 files changed** (+103 additions, -13 deletions) <details> <summary>View changed files</summary> 📝 `langgraph/checkpoint/aiosqlite.py` (+21 -3) 📝 `langgraph/checkpoint/base.py` (+14 -2) 📝 `langgraph/checkpoint/memory.py` (+12 -1) 📝 `langgraph/checkpoint/sqlite.py` (+21 -3) 📝 `langgraph/pregel/__init__.py` (+18 -4) 📝 `tests/test_pregel.py` (+7 -0) 📝 `tests/test_pregel_async.py` (+10 -0) </details> ### 📄 Description - interface in base checkpointer - implement in sqlite, aiosqlite, memory - implement in Pregel.get_state_history() --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-20 17:44:40 -05:00
yindo closed this issue 2026-02-20 17:44:41 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langgraph#1419