MCPcopy Create free account
hub / github.com/stemdeckapp/stemdeck / get_allow_network

Function get_allow_network

app/core/settings.py:82–85  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

80
81# ── allow_network ──
82def get_allow_network() -> bool:
83 with _LOCK:
84 v = _ensure().get("allow_network")
85 return v if isinstance(v, bool) else _default_allow_network()
86
87
88def set_allow_network(value: bool) -> bool:

Callers 2

_settings_payloadFunction · 0.90
network_gateFunction · 0.90

Calls 2

_ensureFunction · 0.85
_default_allow_networkFunction · 0.85

Tested by

no test coverage detected