code: def _download_ft_neighbors(target_dir):
      """Download the known neighbors from FieldTrip."""
  
      # The entire FT repository is larger than a GB, so we'll just download
      # the few files we need.
      def _download_one_ft_neighbor(neighbor: _BuiltinChannelAdjacency):
          # Log level setting must happen inside the job to work properly
          import pooch
  
          pooch.get_logger().setLevel("ERROR")  # reduce verbosity
          fname = neighbor.fname
          url = neighbor.source_url
  
          pooch.retrieve(
              url=url,
              known_hash=None,
              fname=fname,
              path=target_dir,
          )
  
      parallel, p_fun, _ = parallel_func(
          func=_download_one_ft_neighbor, n_jobs=-1
      )
      parallel(
          p_fun(neighbor)
          for neighbor in _BUILTIN_CHANNEL_ADJACENCIES
          if neighbor.source_url is not None
      )
  
imports: import hashlib
  from copy import deepcopy
  from functools import partial
  from pathlib import Path
  import numpy
  import pytest
  from numpy.testing import assert_allclose, assert_array_equal, assert_equal
  from scipy.io import savemat
  from mne import Epochs, EpochsArray, EvokedArray, create_info, make_ad_hoc_cov, pick_channels, pick_types, read_events
  from mne._fiff.constants import FIFF, _ch_unit_mul_named
  from mne.channels import combine_channels, equalize_channels, find_ch_adjacency, get_builtin_ch_adjacencies, make_1020_channel_selections, read_ch_adjacency, read_custom_montage, rename_channels
  from mne.channels.channels import _BUILTIN_CHANNEL_ADJACENCIES, _BuiltinChannelAdjacency, _ch_neighbor_adjacency, _compute_ch_adjacency
  from mne.datasets import testing
  from mne.io import RawArray, read_info, read_raw_bti, read_raw_ctf, read_raw_eeglab, read_raw_fif, read_raw_kit
  from mne.parallel import parallel_func
  from mne.utils import requires_good_network
label_desc: Use image node_id 7 for calling a global function with example usage: _download_ft_neighbors(target_dir) without return types