From a170355f947004f05f2b46748550f329431ced3f Mon Sep 17 00:00:00 2001 From: hajdul88 <52442977+hajdul88@users.noreply.github.com> Date: Wed, 8 Oct 2025 10:19:34 +0200 Subject: [PATCH] feat: adds no cache case --- cognee/infrastructure/databases/graph/kuzu/adapter.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cognee/infrastructure/databases/graph/kuzu/adapter.py b/cognee/infrastructure/databases/graph/kuzu/adapter.py index 66dcc7bbe..bb5308859 100644 --- a/cognee/infrastructure/databases/graph/kuzu/adapter.py +++ b/cognee/infrastructure/databases/graph/kuzu/adapter.py @@ -258,7 +258,10 @@ class KuzuAdapter(GraphDBInterface): if self.open_connections == 0: self.close() - return result + return result + else: + result = await loop.run_in_executor(self.executor, blocking_query) + return result def close(self): if self.connection: