code: def download_one_url(url, root_dir, fname=None):
      if not fname:
          fname = get_fname_from_path_or_url(url)
      output_path = os.path.join(root_dir, fname)
      print(f"Downloading {fname}...")
  
      r = requests.get(url, timeout=(10, 1000))
      with open(output_path, "wb") as f:
          f.write(r.content)
  
      return output_path
  
file_path: autogluon/multimodal/src/autogluon/multimodal/cli/prepare_detection_dataset.py
imports: import argparse
  import os
  import shutil
  import requests
label_desc: Use image node_id 3 for calling a global function with example usage: download_one_url(url, root_dir, fname) and returns: output_path