code: def download_all(force=False):
      """
      Looks in `metadata` directory and downloads all datafiles from the the URLs
      provided in each YAML file.
  
      Parameters
      force : Boolean (default=False)
          Overwrite any existing copies of datafiles.
      """
      default_download_dir.path.mkdir(parents=True, exist_ok=True)
  
      meta_path = Path(__file__).parent.absolute() / "metadata"
      for file in meta_path.iterdir():
          meta = None
          if file.suffix == ".yaml":
              with open(meta_path / file, "r") as metafile:
                  meta = yaml.safe_load(metafile)
  
              if "url" in meta:
                  filename = meta["name"] + meta["file_type"]
                  save_to = default_download_dir.path / filename
                  if not save_to.is_file() or force:
                      urllib.request.urlretrieve(
                          meta["url"], str(save_to)
                      )
  
imports: import cudf
  import dask_cudf
  import yaml
  import os
  import pandas
  import cugraph.dask
  from pathlib import Path
  import urllib.request
  from cugraph.structure.graph_classes import Graph
label_desc: Use image node_id 1 for calling a global function with example usage: download_all(force) without return types