From 2d5e74ced0a4f82bde0efbda81c615f7d0fc1148 Mon Sep 17 00:00:00 2001 From: hajdul88 <52442977+hajdul88@users.noreply.github.com> Date: Thu, 15 Jan 2026 16:01:21 +0100 Subject: [PATCH] fix: fixes codebunny suggestion --- cognee/infrastructure/databases/cache/get_cache_engine.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cognee/infrastructure/databases/cache/get_cache_engine.py b/cognee/infrastructure/databases/cache/get_cache_engine.py index 85a59bfde..b09ac8472 100644 --- a/cognee/infrastructure/databases/cache/get_cache_engine.py +++ b/cognee/infrastructure/databases/cache/get_cache_engine.py @@ -65,7 +65,7 @@ def create_cache_engine( def get_cache_engine( lock_key: Optional[str] = None, log_key: Optional[str] = None -) -> CacheDBInterface: +) -> Optional[CacheDBInterface]: """ Returns a cache adapter instance using current context configuration. """