Coverage for src / lexigram / contracts / infra / cache / __init__.py: 0%

5 statements  

« prev     ^ index     » next       coverage.py v7.13.5, created at 2026-08-15 18:57 +0800

1"""Cache protocols.""" 

2 

3from __future__ import annotations 

4 

5from lexigram.contracts.core.serialization import AsyncStringSerializerProtocol 

6from lexigram.contracts.infra.cache.exceptions import ( 

7 CacheError, 

8 CacheKeyNotFoundError, 

9 CacheWriteError, 

10) 

11from lexigram.contracts.infra.cache.protocols import ( 

12 CacheBackendProtocol, 

13 CacheHealthCheckerProtocol, 

14 CacheKeyBuilderProtocol, 

15 CacheProtectionStrategyProtocol, 

16 CacheProviderProtocol, 

17) 

18 

19__all__ = [ 

20 "AsyncStringSerializerProtocol", 

21 "CacheBackendProtocol", 

22 "CacheError", 

23 "CacheHealthCheckerProtocol", 

24 "CacheKeyBuilderProtocol", 

25 "CacheKeyNotFoundError", 

26 "CacheProtectionStrategyProtocol", 

27 "CacheProviderProtocol", 

28 "CacheWriteError", 

29]