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

Method __dask_tokenize__

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

Source from the content-addressed store, hash-verified

887 )
888
889 def __dask_tokenize__(self):
890 from dask.tokenize import tokenize
891
892 return (
893 type(self).__name__,
894 self.klass,
895 sorted(tokenize(a) for a in self.args),
896 )
897
898 return super().__dask_tokenize__()
899
900 @staticmethod
901 def to_container(*args, constructor):

Callers

nothing calls this directly

Calls 2

tokenizeFunction · 0.90
__dask_tokenize__Method · 0.45

Tested by

no test coverage detected