skypilot icon indicating copy to clipboard operation
skypilot copied to clipboard

[Programmatic API] Merge `Task.set_storage_mounts` and `Task.set_file_mounts`

Open Michaelvll opened this issue 3 years ago • 0 comments

Currently, we have both Task.set_storage_mounts and Task.set_file_mounts. It is a burden for the user of programmatic API to manually distinguish the two mounts. Instead, we can align it with our file_mounts in our yaml specs, where both sky storage and normal file_mounts are placed under file_mounts section, i.e. we can only preserve Task.set_file_mounts and Task.update_file_mounts.

Michaelvll avatar Aug 15 '22 18:08 Michaelvll