Coverage for src / lexigram / contracts / core / scopes.py: 0%

7 statements  

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

1"""DI Scope types for Lexigram Framework.""" 

2 

3from __future__ import annotations 

4 

5from enum import StrEnum 

6 

7 

8class ServiceScope(StrEnum): 

9 """Dependency injection scopes.""" 

10 

11 SINGLETON = "singleton" 

12 SCOPED = "scoped" 

13 TRANSIENT = "transient" 

14 

15 

16__all__ = ["ServiceScope"]