Coverage for src / local_deep_research / web / routes / globals.py: 100%
5 statements
« prev ^ index » next coverage.py v7.12.0, created at 2026-01-11 00:51 +0000
« prev ^ index » next coverage.py v7.12.0, created at 2026-01-11 00:51 +0000
1"""
2Stores global state.
3"""
5# Active research processes and socket subscriptions
6active_research = {}
7socket_subscriptions = {}
8# Add termination flags dictionary
9termination_flags = {}
12def get_globals():
13 """
14 Returns:
15 Global state for other modules to access.
17 """
18 return {
19 "active_research": active_research,
20 "socket_subscriptions": socket_subscriptions,
21 "termination_flags": termination_flags,
22 }