MCPcopy
hub / github.com/dask/dask / __setstate__

Method __setstate__

dask/_task_spec.py:770–773  ·  view source on GitHub ↗
(self, state)

Source from the content-addressed store, hash-verified

768 return self.func(*new_argspec)
769
770 def __setstate__(self, state):
771 slots = self.__class__.get_all_slots()
772 for sl, val in zip(slots, state):
773 setattr(self, sl, val)
774
775 def __getstate__(self):
776 slots = self.__class__.get_all_slots()

Callers 1

__setstate__Method · 0.45

Calls 1

get_all_slotsMethod · 0.80

Tested by

no test coverage detected