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

Method __setstate__

util/config.py:343–344  ·  view source on GitHub ↗
(self, state)

Source from the content-addressed store, hash-verified

341
342 # for multiprocess
343 def __setstate__(self, state):
344 self.__init__(state)
345
346 def copy(self):
347 return Config(self._cfg_dict.copy())

Callers

nothing calls this directly

Calls 1

__init__Method · 0.95

Tested by

no test coverage detected