Coverage for backend/constants.py: 100%

9 statements  

« prev     ^ index     » next       coverage.py v7.6.12, created at 2025-05-02 01:42 +0000

1from pydantic_settings import BaseSettings 

2 

3 

4class Settings(BaseSettings): 

5 """App settings.""" 

6 

7 env: str = "demo" 

8 mode: str = "cycle" 

9 frontend_url: str = "http://localhost" 

10 log_level: str = "DEBUG" 

11 json_logs: bool = False 

12 code_length: int = 3 

13 

14 

15settings = Settings()