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

Method _layer

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

Source from the content-addressed store, hash-verified

57 return self.operand("name_prefix") + "-" + self.deterministic_token
58
59 def _layer(self):
60 dsk = dict(self.operand("layer"))
61 # The name may not actually match the layers name therefore rewrite this
62 # using an alias
63 for new, old in zip(self.__dask_keys__(), self.operand("keys")):
64 dsk[new] = Alias(new, old)
65 return dsk
66
67
68class 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