code: def download_model(
      filename: str, user_pip_args: Optional[Sequence[str]] = None
  ) -> None:
      download_url = about.__download_url__ + "/" + filename
      pip_args = (
          list(user_pip_args) if user_pip_args is not None else []
      )
      cmd = (
          [sys.executable, "-m", "pip", "install"]
          + pip_args
          + [download_url]
      )
      run_command(cmd)
  
file_path: spacy/spacy/cli/download.py
imports: import sys
  from typing import Optional, Sequence
  import requests
  import typer
  from wasabi import msg
  from ..None import about
  from ..errors import OLD_MODEL_SHORTCUTS
  from ..util import get_minor_version, is_in_interactive, is_in_jupyter, is_package, is_prerelease_version, run_command
  from ._util import SDIST_SUFFIX, WHEEL_SUFFIX, Arg, Opt, app
label_desc: Use image node_id 7 for calling a global function with example usage: download_model(filename, user_pip_args) without return types