MCPcopy
hub / github.com/python-attrs/attrs / __setstate__

Method __setstate__

src/attr/_make.py:3178–3182  ·  view source on GitHub ↗

Load instance from state.

(self, state)

Source from the content-addressed store, hash-verified

3176 }
3177
3178 def __setstate__(self, state):
3179 """
3180 Load instance from state.
3181 """
3182 self.__init__(**state)
3183
3184
3185_f = [

Callers

nothing calls this directly

Calls 1

__init__Method · 0.95

Tested by

no test coverage detected