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

Method __hash__

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

Source from the content-addressed store, hash-verified

344 return f"{type(self).__name__}({self.key!r})"
345
346 def __hash__(self) -> int:
347 return hash(self.key)
348
349 def __eq__(self, value: object) -> bool:
350 if not isinstance(value, TaskRef):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected