code: def action_datasets(self, args):
      from monai.apps.datasets import DecathlonDataset
      from monai.apps.utils import download_and_extract
  
      resource = DecathlonDataset.resource
      md5 = DecathlonDataset.md5
  
      if not args.download:
          print("Available Datasets are:")
          print("----------------------------------------------------")
          for k, v in resource.items():
              print(f"  {k:<30}: {v}")
          print("")
      else:
          url = resource.get(args.name) if args.name else None
          if not url:
              print(f"Dataset ({args.name}) NOT Exists.")
  
              available = "  " + "\n  ".join(resource.keys())
              print(f"Available Datasets are:: \n{available}")
              print(
                  "----------------------------------------------------"
              )
              exit(-1)
  
          dataset_dir = (
              os.path.join(args.output, args.name)
              if args.output
              else args.name
          )
          if os.path.exists(dataset_dir):
              print(f"Directory already exists: {dataset_dir}")
              exit(-1)
  
          root_dir = os.path.dirname(os.path.realpath(dataset_dir))
          os.makedirs(root_dir, exist_ok=True)
          tarfile_name = f"{dataset_dir}.tar"
          download_and_extract(
              resource[args.name],
              tarfile_name,
              root_dir,
              md5.get(args.name),
          )
  
          junk_files = pathlib.Path(dataset_dir).rglob("._*")
          for j in junk_files:
              os.remove(j)
          os.unlink(tarfile_name)
          print(f"{args.name} is downloaded at: {dataset_dir}")
  
imports: import argparse
  import json
  import logging
  import os
  import pathlib
  import platform
  import shutil
  import sys
  import uvicorn
  from monailabel import print_config
  from monailabel.config import settings
  from monailabel.utils.others.generic import init_log_config
label_desc: Use image node_id 10 for calling the Main obj's underlying member method code with example usage: obj.action_datasets(args) without return types