MCPcopy Create free account
hub / github.com/Royalvice/DocDiff / __init__

Method __init__

src/config.py:6–10  ·  view source on GitHub ↗
(self, config_path)

Source from the content-addressed store, hash-verified

4
5class Config(dict):
6 def __init__(self, config_path):
7 with open(config_path, 'r') as f:
8 self._yaml = f.read()
9 self._dict = yaml.safe_load(self._yaml)
10 self._dict['PATH'] = os.path.dirname(config_path)
11
12 def __getattr__(self, name):
13 if self._dict.get(name) is not None:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected