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

Method __getstate__

dask/tests/test_task_spec.py:234–238  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

232 serialized = False
233
234 def __getstate__(self):
235 if SerializeOnlyOnce.serialized:
236 raise RuntimeError()
237 SerializeOnlyOnce.serialized = True
238 return {}
239
240 def __setstate__(self, state):
241 if SerializeOnlyOnce.deserialized:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected