Coverage for src / lexigram / contracts / feature_flags / __init__.py: 100%

5 statements  

« prev     ^ index     » next       coverage.py v7.13.5, created at 2026-08-19 05:41 +0800

1"""Contracts for the feature flags subsystem. 

2 

3Exports protocols, models, and exceptions so other packages can use 

4``from lexigram.contracts.feature_flags import FlagProviderProtocol``. 

5""" 

6 

7from __future__ import annotations 

8 

9from lexigram.contracts.exceptions.feature_flags import ( 

10 FeatureFlagError, 

11) 

12from lexigram.contracts.feature_flags.models import ( 

13 FlagEvaluation, 

14 FlagType, 

15 FlagValue, 

16) 

17from lexigram.contracts.feature_flags.protocols import ( 

18 FlagManagerProtocol, 

19 FlagProviderProtocol, 

20 MutableFlagProviderProtocol, 

21) 

22 

23__all__ = [ 

24 "FeatureFlagError", 

25 "FlagEvaluation", 

26 "FlagManagerProtocol", 

27 "FlagProviderProtocol", 

28 "FlagType", 

29 "FlagValue", 

30 "MutableFlagProviderProtocol", 

31]