MCPcopy
hub / github.com/dask/dask / __dask_keys__

Method __dask_keys__

dask/_expr.py:145–156  ·  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

143 return self._determ_token
144
145 def __dask_keys__(self):
146 """The keys for this expression
147
148 This is used to determine the keys of the output collection
149 when this expression is computed.
150
151 Returns
152 -------
153 keys: list
154 The keys for this expression
155 """
156 return [(self._name, i) for i in range(self.npartitions)]
157
158 @staticmethod
159 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