MCPcopy Create free account
hub / github.com/baidu/DDParser / __setstate__

Method __setstate__

ddparser/parser/config.py:182–184  ·  view source on GitHub ↗

setstate

(self, state)

Source from the content-addressed store, hash-verified

180 return vars(self)
181
182 def __setstate__(self, state):
183 """setstate"""
184 self.__dict__.update(state)
185
186 def update(self, kwargs):
187 """Update parameters"""

Callers

nothing calls this directly

Calls 1

updateMethod · 0.80

Tested by

no test coverage detected