Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/stemdeckapp/stemdeck
/ set_allow_network
Function
set_allow_network
app/core/settings.py:88–92 ·
view source on GitHub ↗
(value: bool)
Source
from the content-addressed store, hash-verified
86
87
88
def
set_allow_network(value: bool) -> bool:
89
with
_LOCK:
90
_ensure()[
"allow_network"
] = bool(value)
91
_save()
92
return
bool(value)
93
94
95
# ── max_duration_sec ──
Callers
1
update_settings
Function · 0.90
Calls
2
_ensure
Function · 0.85
_save
Function · 0.70
Tested by
no test coverage detected