code: def _fetch_datalist(self, request, datastore: Datastore):
      datalist = datastore.datalist()
  
      # only use image and label attributes; skip for other meta info from datastore for now
      datalist = [
          {"image": d["image"], "label": d["label"]}
          for d in datalist
          if d
      ]
  
      if "detection" in request.get("model"):
          # Generate datalist for detection task, box and label keys are used by default.
          # Future: either use box and label keys for all detection models, or set these keys by config.
          for idx, d in enumerate(datalist):
              with open(d["label"]) as fp:
                  json_object = json.loads(
                      fp.read()
                  )  # load box coordinates from subject JSON
                  bboxes = [
                      bdict["center"] + bdict["size"]
                      for bdict in json_object["markups"]
                  ]
  
              # Only support detection, classification label do not suppot in bundle yet,
              # 0 is used for all positive boxes, wait for sync.
              datalist[idx] = {
                  "image": d["image"],
                  "box": bboxes,
                  "label": [0] * len(bboxes),
              }
  
      return datalist
  
imports: import glob
  import json
  import logging
  import os
  import subprocess
  import sys
  from typing import Dict, Optional, Sequence
  import monai.bundle
  import torch
  from monai.bundle import ConfigParser
  from monai.data import partition_dataset
  from monai.handlers import CheckpointLoader
  from monailabel.config import settings
  from monailabel.interfaces.datastore import Datastore
  from monailabel.interfaces.tasks.train import TrainTask
  from monailabel.utils.others.class_utils import unload_module
  from monailabel.utils.others.generic import device_list, name_to_device
label_desc: Use image node_id 5 for calling the BundleTrainTask obj's underlying member method code with example usage: obj._fetch_datalist(request, datastore) and returns: datalist