MCPcopy Create free account
hub / github.com/MAC-VO/MAC-VO / __init__

Method __init__

Utility/Sandbox.py:16–23  ·  view source on GitHub ↗
(self, file_name: Path)

Source from the content-addressed store, hash-verified

14
15class YAMLFileProxy:
16 def __init__(self, file_name: Path):
17 self.file_path = file_name
18
19 # Transparent Config Cache
20 if not self.file_path.exists():
21 self.__file_cache = SimpleNamespace()
22 else:
23 self.__file_cache, _ = load_config(self.file_path)
24
25 @property
26 def data(self) -> SimpleNamespace:

Callers

nothing calls this directly

Calls 1

load_configFunction · 0.90

Tested by

no test coverage detected