Skip to content

Commit

Permalink
fix: missing default values in FakeBaseConnectionMixin
Browse files Browse the repository at this point in the history
fix #334
  • Loading branch information
cunla committed Sep 30, 2024
1 parent 4e929e6 commit 53624f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fakeredis/_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def get_server(key: str, version: VersionType, server_type: str) -> "FakeServer"


class FakeBaseConnectionMixin(object):
def __init__(self, *args: Any, version: VersionType, server_type: str, **kwargs: Any) -> None:
def __init__(self, *args: Any, version: VersionType = (7, 0), server_type: str = "redis", **kwargs: Any) -> None:
self.client_name: Optional[str] = None
self.server_key: str
self._sock = None
Expand Down

0 comments on commit 53624f3

Please sign in to comment.