Skip to content

Commit a06bf55

Browse files
committed
Use JsonType definition from redis
1 parent 57320b5 commit a06bf55

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/tools/json.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
from common.connection import RedisConnectionManager
22
from redis.exceptions import RedisError
33
from common.server import mcp
4-
from typing import Any, Dict, List, Union
5-
6-
JsonType = Union[str, int, float, bool, None, Dict[str, Any], List[Any]]
4+
from redis.commands.json._util import JsonType
75

86

97
@mcp.tool()

0 commit comments

Comments
 (0)