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

Function key

dask/array/utils.py:192–196  ·  view source on GitHub ↗
(k)

Source from the content-addressed store, hash-verified

190
191def same_keys(a, b):
192 def key(k):
193 if isinstance(k, str):
194 return (k, -1, -1, -1)
195 else:
196 return k
197
198 return sorted(a.dask, key=key) == sorted(b.dask, key=key)
199

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected