MCPcopy
hub / github.com/dask/dask / keys

Method keys

dask/array/core.py:1406–1414  ·  view source on GitHub ↗
(*args)

Source from the content-addressed store, hash-verified

1404 name, chunks, numblocks = self.name, self.chunks, self.numblocks
1405
1406 def keys(*args):
1407 if not chunks:
1408 return [(name,)]
1409 ind = len(args)
1410 if ind + 1 == len(numblocks):
1411 result = [(name,) + args + (i,) for i in range(numblocks[ind])]
1412 else:
1413 result = [keys(*(args + (i,))) for i in range(numblocks[ind])]
1414 return result
1415
1416 self._cached_keys = result = keys()
1417 return result

Callers 15

unpack_collectionsFunction · 0.45
sizeof_python_dictFunction · 0.45
parse_timedeltaFunction · 0.45
_optimize_blockwiseFunction · 0.45
rewrite_blockwiseFunction · 0.45
substituteMethod · 0.45
substituteMethod · 0.45
substituteMethod · 0.45
test_keysFunction · 0.45
test_optimize_fuse_keysFunction · 0.45
test_dask_layersFunction · 0.45

Calls

no outgoing calls

Tested by 14

test_keysFunction · 0.36
test_optimize_fuse_keysFunction · 0.36
test_dask_layersFunction · 0.36
__new__Method · 0.36
test_anom_meanFunction · 0.36
test_complex_orderingFunction · 0.36
test_nested_schedulersFunction · 0.36
test_array_delayedFunction · 0.36