Coverage for archdocs/features/redis/const.py: 100%

6 statements  

« prev     ^ index     » next       coverage.py v7.15.4, created at 2026-08-18 22:03 +0000

1import dataclasses 

2import typing 

3 

4 

5type RedisConnectionKind = typing.Literal["sentinel", "cluster", "plain"] 

6 

7 

8@typing.final 

9@dataclasses.dataclass(slots=True, kw_only=True, frozen=True) 

10class RedisFeatures: 

11 connection_type: RedisConnectionKind | None 

12 async_used: bool 

13 retry_used: bool