MCPcopy Create free account
hub / github.com/MotrixLab/AiOS / __setitem__

Method __setitem__

util/config.py:295–298  ·  view source on GitHub ↗
(self, name, value)

Source from the content-addressed store, hash-verified

293 self._cfg_dict.__setattr__(name, value)
294
295 def __setitem__(self, name, value):
296 if isinstance(value, dict):
297 value = ConfigDict(value)
298 self._cfg_dict.__setitem__(name, value)
299
300 def __iter__(self):
301 return iter(self._cfg_dict)

Callers

nothing calls this directly

Calls 1

ConfigDictClass · 0.85

Tested by

no test coverage detected