MCPcopy
hub / github.com/aiming-lab/MetaClaw / get

Method get

metaclaw/config_store.py:157–163  ·  view source on GitHub ↗
(self, dotpath: str)

Source from the content-addressed store, hash-verified

155 yaml.dump(data, f, default_flow_style=False, allow_unicode=True)
156
157 def get(self, dotpath: str) -> Any:
158 data = self.load()
159 for k in dotpath.split("."):
160 if not isinstance(data, dict):
161 return None
162 data = data.get(k)
163 return data
164
165 def set(self, dotpath: str, value: Any):
166 data = self.load()

Callers 15

stopFunction · 0.95
uninstallFunction · 0.95
statusFunction · 0.95
train_stepFunction · 0.95
config_cmdFunction · 0.95
_first_envFunction · 0.45
_has_mint_signalFunction · 0.45
resolve_failover_statusFunction · 0.45
format_failover_detailFunction · 0.45
_loadMethod · 0.45
resolve_sessionMethod · 0.45
update_cli_session_idMethod · 0.45

Calls 1

loadMethod · 0.95

Tested by

no test coverage detected