download_file#

ProjectApi.download_file(file, target_path, stream=True, progress_handler=None)#

Download file content and save it to disk.

If stream=True, data is retrieved in chunks, which avoids storing the entire content in memory.

Return type:

str