Skip to content

Disk write

Inspired by the save_cloud_data method, we provide a high level method to load data from disk.

It's interface reads

def disk_save(file_path: Path, data: Any) -> None:

where:

  • file_path: a pathlib Path specifying where the data is located on disk. Remember to read the forge key page to learn how to properly... Well, forge a key 😊.
  • data: the data to store on cloud. Read on to find the different types of data that can be saved.

As of 2024/05, this method can write the following file types (it relies on the file extension given in file_type to use the appropriate loader):