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

Method keys

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

Source from the content-addressed store, hash-verified

1406 name, chunks, numblocks = self.name, self.chunks, self.numblocks
1407
1408 def keys(*args):
1409 if not chunks:
1410 return [(name,)]
1411 ind = len(args)
1412 if ind + 1 == len(numblocks):
1413 result = [(name,) + args + (i,) for i in range(numblocks[ind])]
1414 else:
1415 result = [keys(*(args + (i,))) for i in range(numblocks[ind])]
1416 return result
1417
1418 self._cached_keys = result = keys()
1419 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
test_keysFunction · 0.45
test_optimize_fuse_keysFunction · 0.45
test_dask_layersFunction · 0.45
__new__Method · 0.45
test_anom_meanFunction · 0.45

Calls

no outgoing calls

Tested by 15

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_interruptFunction · 0.36