[redis] Type redis.commands.parser (#8870)

This commit is contained in:
Nikita Sobolev
2022-10-14 06:52:13 +03:00
committed by GitHub
parent a702daa631
commit f07e68d7a4

View File

@@ -1,8 +1,8 @@
from typing import Any
from redis.client import AbstractRedis
from redis.typing import EncodableT
class CommandsParser:
initialized: bool
commands: Any
def __init__(self, redis_connection) -> None: ...
def initialize(self, r) -> None: ...
def get_keys(self, redis_conn, *args): ...
commands: dict[str, str]
def __init__(self, redis_connection: AbstractRedis) -> None: ...
def initialize(self, r: AbstractRedis) -> None: ...
def get_keys(self, redis_conn: AbstractRedis, *args: EncodableT) -> list[EncodableT] | None: ...