We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34e88a0 commit 0a1a1fbCopy full SHA for 0a1a1fb
src/tools/string.py
@@ -55,7 +55,7 @@ async def get(key: str) -> Union[str, bytes]:
55
str: The stored value or an error message.
56
"""
57
try:
58
- r = RedisConnectionManager.get_connection()
+ r: Redis = RedisConnectionManager.get_connection()
59
value = r.get(key)
60
61
if value is None:
0 commit comments