mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 13:34:58 +08:00
Add redis.asyncio.parser (#8830)
Source: https://github.com/redis/redis-py/blob/master/redis/asyncio/parser.py
This commit is contained in:
8
stubs/redis/redis/asyncio/parser.pyi
Normal file
8
stubs/redis/redis/asyncio/parser.pyi
Normal file
@@ -0,0 +1,8 @@
|
||||
from typing import Any
|
||||
|
||||
# TODO: define and use:
|
||||
# from redis.asyncio.cluster import ClusterNode
|
||||
|
||||
class CommandsParser:
|
||||
async def initialize(self, node: Any | None = ...) -> None: ... # TODO: ClusterNode
|
||||
async def get_keys(self, *args: Any) -> tuple[str, ...] | None: ...
|
||||
Reference in New Issue
Block a user