MCPcopy Create free account
hub / github.com/hyperopt/hyperopt / __setstate__

Method __setstate__

hyperopt/ipy.py:208–211  ·  view source on GitHub ↗
(self, dct)

Source from the content-addressed store, hash-verified

206 return rval
207
208 def __setstate__(self, dct):
209 self.__dict__ = dct
210 self.job_map = {}
211 Trials.refresh(self)
212
213
214# Monkey patching to allow the apply_async call and response to

Callers

nothing calls this directly

Calls 1

refreshMethod · 0.45

Tested by

no test coverage detected