MCPcopy 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
88def 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_settingsFunction · 0.90

Calls 2

_ensureFunction · 0.85
_saveFunction · 0.70

Tested by

no test coverage detected