code: def _select_inputs(self, inputs: List[ChunkType]):
      new_inputs = []
      for inp in inputs:
          if inp.key in self._processed_chunks:
              # gen fetch
              if inp not in self._chunk_to_fetch:
                  fetch_chunk = build_fetch(inp).data
                  self._chunk_to_fetch[inp] = fetch_chunk
              new_inputs.append(self._chunk_to_fetch[inp])
          else:
              new_inputs.append(inp)
      return new_inputs
  
imports: import dataclasses
  import functools
  from typing import Callable, Dict, Generator, Iterable, List, Optional, Set, Type, Union
  from ....core import FUSE_CHUNK_TYPE, CHUNK_TYPE, TILEABLE_TYPE
  from ....typing import EntityType, TileableType, ChunkType
  from ....utils import copy_tileables, build_fetch
  from ...entity.tileables import handler
  from ...mode import enter_mode
  from ..entity import TileableGraph, ChunkGraph
  from .base import AbstractGraphBuilder
label_desc: Use image node_id 3 for calling the ChunkGraphBuilder obj's underlying member method code with example usage: obj._select_inputs(inputs) and returns: new_inputs