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

Method __dask_keys__

dask/_expr.py:150–161  ·  view source on GitHub ↗

The keys for this expression This is used to determine the keys of the output collection when this expression is computed. Returns ------- keys: list The keys for this expression

(self)

Source from the content-addressed store, hash-verified

148 return self._determ_token
149
150 def __dask_keys__(self):
151 """The keys for this expression
152
153 This is used to determine the keys of the output collection
154 when this expression is computed.
155
156 Returns
157 -------
158 keys: list
159 The keys for this expression
160 """
161 return [(self._name, i) for i in range(self.npartitions)]
162
163 @staticmethod
164 def _reconstruct(*args):

Callers 12

_checkpoint_oneFunction · 0.45
_build_map_layerFunction · 0.45
from_collectionMethod · 0.45
_tune_downMethod · 0.45
_optimized_dskMethod · 0.45
__dask_keys__Method · 0.45
__dask_keys__Method · 0.45
hlgMethod · 0.45
__dask_keys__Method · 0.45
computeFunction · 0.45
persistFunction · 0.45
get_collection_namesFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected