code: def upload(
      self, source: Optional[str] = None, target: Optional[str] = None
  ):
      send_dir_to_head(source, target)
  
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 1 for calling the RemoteTaskFileManager obj's underlying member method code with example usage: obj.upload(source, target) without return types