MCPcopy Index your code
hub / github.com/Codeplain-ai/codeplain / __init__

Method __init__

system_config.py:13–19  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

11 """Manages system-level configuration including requirements and error messages."""
12
13 def __init__(self):
14 self.config = self._load_config()
15 if "error_messages" not in self.config:
16 raise KeyError("Missing 'error_messages' section in system_config.yaml")
17
18 self.client_version = __version__
19 self.error_messages = self.config["error_messages"]
20
21 def _load_config(self):
22 """Load system configuration from YAML file."""

Callers

nothing calls this directly

Calls 1

_load_configMethod · 0.95

Tested by

no test coverage detected