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

Method __setattr__

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

Source from the content-addressed store, hash-verified

288 return self._cfg_dict.__getitem__(name)
289
290 def __setattr__(self, name, value):
291 if isinstance(value, dict):
292 value = ConfigDict(value)
293 self._cfg_dict.__setattr__(name, value)
294
295 def __setitem__(self, name, value):
296 if isinstance(value, dict):

Callers 6

loadMethod · 0.80
load_by_pickleMethod · 0.80
loadMethod · 0.80
load_by_pickleMethod · 0.80
__init__Method · 0.80
merge_from_dictMethod · 0.80

Calls 1

ConfigDictClass · 0.85

Tested by

no test coverage detected