code: def _unpack(stream: bytes, target_dir: str):
      with tarfile.open(fileobj=io.BytesIO(stream)) as tar:
          tar.extractall(target_dir)
  
file_path: ray/release/ray_release/file_manager/remote_task.py
imports: import io
  import tarfile
  from typing import Optional
  from ray_release.file_manager.file_manager import FileManager
label_desc: Use image node_id 2 for calling a global function with example usage: _unpack(stream, target_dir) without return types