code: def send_dir_to_node(
      node_ip: str,
      local_dir: str,
      remote_dir: str,
  ):
      import ray
  
      try:
          packed = _pack(local_dir)
          ray.get(
              ray.remote(resources={f"node:{node_ip}": 0.01})(
                  _unpack
              ).remote(packed, remote_dir)
          )
      except Exception as e:
          print(
              f"Warning: Could not send remote directory contents. Message: "
              f"{str(e)}"
          )
  
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 3 for calling a global function with example usage: send_dir_to_node(node_ip, local_dir, remote_dir) without return types