code: def _get_version(name):
      """Get a dataset version."""
      from mne.datasets._fetch import fetch_dataset
  
      if not has_dataset(name):
          return None
      dataset_params = MNE_DATASETS[name]
      dataset_params["dataset_name"] = name
      config_key = MNE_DATASETS[name]["config_key"]
  
      # get download path for specific dataset
      path = _get_path(path=None, key=config_key, name=name)
  
      return fetch_dataset(
          dataset_params, path=path, return_version=True
      )[1]
  
imports: import importlib
  import inspect
  import logging
  import os
  import os.path
  import sys
  import tempfile
  import time
  import zipfile
  from collections import OrderedDict
  from pathlib import Path
  import numpy
  from ..label import Label, read_labels_from_annot, write_labels_to_annot
  from ..utils import _pl, _safe_input, _validate_type, get_config, get_subjects_dir, logger, set_config, verbose
  from ..utils.docs import _docformat, docdict
  from .config import MNE_DATASETS, _hcp_mmp_license_text
label_desc: Use image node_id 6 for calling a global function with example usage: _get_version(name) and returns: fetch_dataset, None