code: def __init__(
      self,
      subtask_id: str = None,
      session_id: str = None,
      task_id: str = None,
      chunk_graph: ChunkGraph = None,
      subtask_name: str = None,
      expect_bands: List[BandType] = None,
      priority: Tuple[int, int] = None,
      virtual: bool = False,
      retryable: bool = True,
      extra_config: dict = None,
      stage_id: str = None,
      update_meta_chunks: List[ChunkType] = None,
      logic_key: str = None,
      logic_index: int = None,
      logic_parallelism: int = None,
      bands_specified: bool = False,
      required_resource: Resource = None,
      stage_n_outputs: int = 0,
  ):
      super().__init__(
          subtask_id=subtask_id,
          subtask_name=subtask_name,
          session_id=session_id,
          task_id=task_id,
          chunk_graph=chunk_graph,
          expect_bands=expect_bands,
          priority=priority,
          virtual=virtual,
          retryable=retryable,
          extra_config=extra_config,
          stage_id=stage_id,
          update_meta_chunks=update_meta_chunks,
          logic_key=logic_key,
          logic_index=logic_index,
          logic_parallelism=logic_parallelism,
          bands_specified=bands_specified,
          required_resource=required_resource,
          stage_n_outputs=stage_n_outputs,
      )
      self._pure_depend_keys = None
      self._repr = None
      self.runtime = None
  
imports: from enum import Enum
  from typing import Iterable, List, Optional, Set, Tuple
  from ...core import ChunkGraph, DAG, ChunkData
  from ...resource import Resource
  from ...serialization.serializables.field_type import TupleType
  from ...serialization.serializables import Serializable, StringField, ReferenceField, Int32Field, Int64Field, Float64Field, BoolField, AnyField, DictField, ListField, TupleField, FieldTypes
  from ...typing import BandType, ChunkType
label_desc: Use image node_id 1 to create a new Subtask object from inherited base classes: Serializable with example: obj = Subtask(subtask_id, session_id, task_id, chunk_graph, subtask_name, expect_bands, priority, virtual, retryable, extra_config, stage_id, update_meta_chunks, logic_key, logic_index, logic_parallelism, bands_specified, required_resource, stage_n_outputs)