(self, name: Key, index: int)
| 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 | |
| 231 | class LocUnknown(Blockwise): |