code: def _download_remote(main_script_path: str, url_path: str) -> None:
      """Fetch remote file at url_path to main_script_path"""
      import requests
  
      with open(main_script_path, "wb") as fp:
          try:
              resp = requests.get(url_path)
              resp.raise_for_status()
              fp.write(resp.content)
          except requests.exceptions.RequestException as e:
              raise click.BadParameter(
                  f"Unable to fetch {url_path}.\n{e}"
              )
  
imports: import os
  import sys
  from typing import Any, Dict, List, Optional
  import click
  import streamlit.runtime.caching
  import streamlit.runtime.legacy_caching
  import streamlit.web.bootstrap
  from streamlit import config
  from streamlit.config_option import ConfigOption
  from streamlit.runtime.credentials import Credentials, check_credentials
  from streamlit.web.cache_storage_manager_config import create_default_cache_storage_manager
label_desc: Use image node_id 4 for calling a global function with example usage: _download_remote(main_script_path, url_path) without return types