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

Method keys

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

Source from the content-addressed store, hash-verified

1402 name, chunks, numblocks = self.name, self.chunks, self.numblocks
1403
1404 def keys(*args):
1405 if not chunks:
1406 return [(name,)]
1407 ind = len(args)
1408 if ind + 1 == len(numblocks):
1409 result = [(name,) + args + (i,) for i in range(numblocks[ind])]
1410 else:
1411 result = [keys(*(args + (i,))) for i in range(numblocks[ind])]
1412 return result
1413
1414 self._cached_keys = result = keys()
1415 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