mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-16 00:37:10 +08:00
[redis] Type redis.commands.parser (#8870)
This commit is contained in:
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user