code: def __init__(
      self,
      tileable_graph: TileableGraph,
      tile_context: TileContext,
      processed_chunks: Set[str],
      chunk_to_fetch: Dict[ChunkType, ChunkType],
      add_nodes: Callable,
      cancelled: asyncio.Event = None,
      check_duplicated_submission: bool = False,
  ):
      super().__init__(
          tileable_graph,
          tile_context,
          processed_chunks,
          chunk_to_fetch,
          add_nodes,
      )
      self._cancelled = cancelled
      self._check_duplicated_submission = check_duplicated_submission
  
imports: import asyncio
  import logging
  from functools import partial
  from typing import Callable, Dict, List, Iterable, Set
  from ....config import Config
  from ....core import TileableGraph, ChunkGraph, ChunkGraphBuilder, TileContext
  from ....core.graph.builder.chunk import Tiler, _TileableHandler
  from ....core.operand import Fetch, ShuffleFetchType
  from ....resource import Resource
  from ....typing import BandType, TileableType, ChunkType
  from ...subtask import Subtask, SubtaskGraph
  from ..analyzer import GraphAnalyzer
  from ..core import Task, MapReduceInfo
label_desc: Use image node_id 1 to create a new CancellableTiler object from inherited base classes: Tiler with example: obj = CancellableTiler(tileable_graph, tile_context, processed_chunks, chunk_to_fetch, add_nodes, cancelled, check_duplicated_submission)