Skip to content

Commit 5a90e14

Browse files
committed
fix ci
1 parent 94bc3ae commit 5a90e14

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/deepset_mcp/tokonomics/object_store.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ class RedisBackend:
7777
def __init__(self, redis_url: str) -> None:
7878
"""Initialize the redis backend."""
7979
try:
80-
import redis # type: ignore[import-not-found]
80+
import redis
8181
except ImportError as e:
8282
logger.error(
8383
"Redis package not installed. Install with: pip install deepset-mcp[redis] to use the RedisBackend."
@@ -104,7 +104,7 @@ def set(self, key: str, value: bytes, ttl_seconds: int | None) -> None:
104104

105105
def get(self, key: str) -> bytes | None:
106106
"""Get a value at key."""
107-
return self._client.get(key) # type: ignore[no-any-return]
107+
return self._client.get(key)
108108

109109
def delete(self, key: str) -> bool:
110110
"""Delete a value at key."""

test/integration/tokonomics/test_integration_tokonomics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def redis_backend(redis_container: Any) -> RedisBackend:
8787

8888
# Clear all keys before each test for isolation
8989
try:
90-
import redis # type: ignore[import-not-found]
90+
import redis
9191

9292
r = redis.from_url("redis://localhost:16379/0")
9393
r.flushall()

0 commit comments

Comments
 (0)