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

Method _name

dask/array/_array_expr/_blockwise.py:141–148  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

139
140 @cached_property
141 def _name(self):
142 if "name" in self._parameters and self.operand("name"):
143 return self.operand("name")
144 else:
145 return (
146 f"{self.token or funcname(self.func).strip('_')}-"
147 + self.deterministic_token
148 )
149
150 def _layer(self):
151 arginds = [(a, i) for (a, i) in toolz.partition(2, self.args)]

Callers

nothing calls this directly

Calls 2

funcnameFunction · 0.90
operandMethod · 0.80

Tested by

no test coverage detected