Skip to content

Commit

Permalink
fix:dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
cunla committed Sep 27, 2024
1 parent 1d1eb9e commit db4f35f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion fakeredis/_valkey.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
from typing import Any, Self, Dict
import sys
from typing import Any, Dict

from . import FakeStrictRedis
from ._connection import FakeRedis
from .aioredis import FakeRedis as FakeAsyncRedis

if sys.version_info >= (3, 11):
from typing import Self
else:
from typing_extensions import Self


def _validate_server_type(args_dict: Dict[str, Any]) -> None:
if "server_type" in args_dict and args_dict["server_type"] != "valkey":
Expand Down

0 comments on commit db4f35f

Please sign in to comment.