Add redis.asyncio.parser (#8830)

Source: https://github.com/redis/redis-py/blob/master/redis/asyncio/parser.py
This commit is contained in:
Nikita Sobolev
2022-10-03 20:49:55 +03:00
committed by GitHub
parent 78ca9c7390
commit 27e9fde673

View 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: ...