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

Method __reduce__

dask/_task_spec.py:354–355  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

352 return self.key == value.key
353
354 def __reduce__(self):
355 return TaskRef, (self.key,)
356
357 def substitute(self, subs: dict, key: KeyType | None = None) -> TaskRef | GraphNode:
358 if self.key in subs:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected