Skip to content

checkpointsqlite==1.0.2

Choose a tag to compare

langgraph-checkpoint-sqlite 1.0.2

Summary of Changes

  • Added support for synchronous methods in AsyncSqliteSaver, making it more versatile for both async and sync operations

Detailed Changes

langgraph.checkpoint.sqlite.aio.AsyncSqliteSaver

  • Added synchronous versions of get_tuple, list, and put methods by implementing them to run their async equivalents using asyncio.run_coroutine_threadsafe
  • Added new put_writes synchronous method
  • Removed the not_implemented_sync_method decorator that previously made these methods raise NotImplementedError
  • Added proper documentation for the synchronous methods
  • Store the current event loop for reuse by synchronous methods