code: def _unpack_from_actor(
      pack_actor: ray.ActorID, target_dir: str
  ) -> None:
      """Iterate over chunks received from pack actor and unpack."""
      stream = io.BytesIO()
      for buffer in _iter_remote(pack_actor):
          stream.write(buffer)
      _unpack_dir(stream, target_dir=target_dir)
  
imports: import fnmatch
  import io
  import os
  import shutil
  import tarfile
  from typing import Optional, Tuple, Dict, Generator, Union, List
  import ray
  from ray.util.annotations import DeveloperAPI
  from ray.air._internal.filelock import TempFileLock
  from ray.air.util.node import _get_node_id_from_node_ip, _force_on_node
label_desc: Use image node_id 9 for calling a global function with example usage: _unpack_from_actor(pack_actor, target_dir) without return types