Coverage for src / local_deep_research / settings / env_definitions / news_scheduler.py: 100%

2 statements  

« prev     ^ index     » next       coverage.py v7.13.5, created at 2026-04-14 23:55 +0000

1""" 

2News scheduler environment settings. 

3 

4These settings control the news scheduler behavior and can be set via 

5environment variables for early initialization control. 

6""" 

7 

8from ..env_settings import BooleanSetting 

9 

10 

11# News scheduler settings 

12NEWS_SCHEDULER_SETTINGS = [ 

13 BooleanSetting( 

14 key="news.scheduler.enabled", 

15 description="Enable or disable the news subscription scheduler", 

16 default=True, 

17 ), 

18 BooleanSetting( 

19 key="news.scheduler.allow_api_control", 

20 description="Allow authenticated users to start/stop the global news scheduler via API. " 

21 "Disable in multi-user deployments to prevent users from affecting each other.", 

22 default=False, 

23 ), 

24]