MCPcopy
hub / github.com/dask/dask / _layer

Method _layer

dask/dataframe/dask_expr/io/io.py:60–66  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

58 return f"{prefix}-{self.deterministic_token}"
59
60 def _layer(self):
61 dsk = dict(self.operand("layer"))
62 # The name may not actually match the layers name therefore rewrite this
63 # using an alias
64 for new, old in zip(self.__dask_keys__(), self.operand("keys")):
65 dsk[new] = Alias(new, old)
66 return dsk
67
68
69class BlockwiseIO(Blockwise, IO):

Callers

nothing calls this directly

Calls 3

AliasClass · 0.90
operandMethod · 0.80
__dask_keys__Method · 0.45

Tested by

no test coverage detected