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

Method __dask_tokenize__

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

Source from the content-addressed store, hash-verified

896 )
897
898 def __dask_tokenize__(self):
899 from dask.tokenize import tokenize
900
901 return (
902 type(self).__name__,
903 self.klass,
904 sorted(tokenize(a) for a in self.args),
905 )
906
907 return super().__dask_tokenize__()
908
909 @staticmethod
910 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