code: def __init__(self, dataset: Dataset, key: str):
      self.dataset = dataset
      self.key = key
  
imports: import numpy
  import torch
  from torch.utils.data import Dataset, IterableDataset
  from ..utils.generic import ModelOutput
label_desc: Use image node_id 1 to create a new KeyDataset object from inherited base classes: Dataset with example: obj = KeyDataset(dataset, key)