MCPcopy Create free account
hub / github.com/CommonstackAI/UncommonRoute / _save_config

Function _save_config

uncommon_route/telemetry.py:88–91  ·  view source on GitHub ↗
(config: dict[str, Any])

Source from the content-addressed store, hash-verified

86
87
88def _save_config(config: dict[str, Any]) -> None:
89 path = _config_path()
90 path.parent.mkdir(parents=True, exist_ok=True)
91 path.write_text(json.dumps(config, indent=2))
92
93
94def is_enabled() -> bool:

Callers 3

prompt_if_neededFunction · 0.70
enableFunction · 0.70
disableFunction · 0.70

Calls 1

_config_pathFunction · 0.85

Tested by

no test coverage detected