From 562d64bbb7fba7947eb6ae3a04d82470032e7602 Mon Sep 17 00:00:00 2001 From: Nuno Campos Date: Fri, 9 May 2025 12:07:59 -0700 Subject: [PATCH] Lint --- libs/checkpoint-sqlite/langgraph/cache/sqlite/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/checkpoint-sqlite/langgraph/cache/sqlite/__init__.py b/libs/checkpoint-sqlite/langgraph/cache/sqlite/__init__.py index 258006c54..cd327bd48 100644 --- a/libs/checkpoint-sqlite/langgraph/cache/sqlite/__init__.py +++ b/libs/checkpoint-sqlite/langgraph/cache/sqlite/__init__.py @@ -111,7 +111,7 @@ class SqliteCache(BaseCache[ValueT]): async def aclear(self, namespaces: Sequence[Namespace] | None = None) -> None: """Asynchronously delete the cached values for the given namespaces. If no namespaces are provided, clear all cached values.""" - await asyncio.to_thread(self.delete, namespaces) + await asyncio.to_thread(self.clear, namespaces) def __del__(self) -> None: try: