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

Method __setstate__

dask/tests/test_task_spec.py:240–243  ·  view source on GitHub ↗
(self, state)

Source from the content-addressed store, hash-verified

238 return {}
239
240 def __setstate__(self, state):
241 if SerializeOnlyOnce.deserialized:
242 raise RuntimeError()
243 SerializeOnlyOnce.deserialized = True
244
245 def __call__(self, a, b):
246 return a + b

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected