code: def http_get(url: str, temp_file: IO) -> None:
      req = requests.get(url, stream=True)
      for chunk in req.iter_content(chunk_size=1024):
          if chunk:  # filter out keep-alive new chunks
              temp_file.write(chunk)
  
file_path: nlp-architect/nlp_architect/utils/file_cache.py
imports: import os
  import logging
  import shutil
  import tempfile
  import json
  from urllib.parse import urlparse
  from pathlib import Path
  from typing import Tuple, Union, IO
  from hashlib import sha256
  from nlp_architect import LIBRARY_OUT
  from nlp_architect.utils.io import load_json_file
  import requests
label_desc: Use image node_id 4 for calling a global function with example usage: http_get(url, temp_file) without return types