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

Method __eq__

dask/_task_spec.py:349–352  ·  view source on GitHub ↗
(self, value: object)

Source from the content-addressed store, hash-verified

347 return hash(self.key)
348
349 def __eq__(self, value: object) -> bool:
350 if not isinstance(value, TaskRef):
351 return False
352 return self.key == value.key
353
354 def __reduce__(self):
355 return TaskRef, (self.key,)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected