File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
libs/langgraph-checkpoint-mongodb/langgraph/checkpoint/mongodb Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -471,12 +471,16 @@ def delete_thread(
471471 self .writes_collection .delete_many ({"thread_id" : thread_id })
472472
473473 async def aget_tuple (self , config : RunnableConfig ) -> Optional [CheckpointTuple ]:
474- """Get a checkpoint tuple from the database .
474+ """Asynchronously fetch a checkpoint tuple using the given configuration .
475475
476476 Asynchronously wraps the blocking `self.get_tuple` method.
477477
478- Args:
479- config (RunnableConfig): The config to use for retrieving the checkpoint.
478+ Args:
479+ config: Configuration specifying which checkpoint to retrieve.
480+
481+ Returns:
482+ Optional[CheckpointTuple]: The requested checkpoint tuple, or None if not found.
483+
480484 """
481485 return await run_in_executor (None , self .get_tuple , config )
482486
You can’t perform that action at this time.
0 commit comments