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

Method _layer

dask/_expr.py:1404–1414  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1402 return [self._name]
1403
1404 def _layer(self) -> dict:
1405 func, extra_args = self.collection.__dask_postcompute__()
1406 keys = [expr.__dask_keys__() for expr in self.exprs]
1407 return {
1408 self._name: Task(
1409 self._name,
1410 func,
1411 _convert_dask_keys(keys),
1412 *extra_args,
1413 )
1414 }
1415
1416
1417class ProhibitReuse(Expr):

Callers

nothing calls this directly

Calls 4

TaskClass · 0.90
_convert_dask_keysFunction · 0.70
__dask_postcompute__Method · 0.45
__dask_keys__Method · 0.45

Tested by

no test coverage detected