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

Method _task

dask/dataframe/dask_expr/_indexing.py:222–228  ·  view source on GitHub ↗
(self, name: Key, index: int)

Source from the content-addressed store, hash-verified

220 return convert_legacy_graph(self._layer())
221
222 def _task(self, name: Key, index: int) -> Task:
223 t = self._layer_cache[(self._name, index)]
224 if isinstance(t, Alias):
225 return Alias(name, t.target) # type: ignore
226 elif t.key != name:
227 return Task(name, lambda x: x, t)
228 return t
229
230
231class LocUnknown(Blockwise):

Callers

nothing calls this directly

Calls 2

AliasClass · 0.90
TaskClass · 0.90

Tested by

no test coverage detected